监视应用程序的性能并在检测到性能不佳时显示一条消息。 Monitors performance of the application and displays a message if poor performance is detected.
| 名称 Name | 类型 Type | 说明 Description | ||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
object |
可选 optional
具有以下属性的对象: Object with the following properties:
|
成员 Members
获取父容器。 Gets the parent container.
viewModel : PerformanceWatchdogViewModel
获取视图模型。 Gets the view model.
方法 Methods
销毁小部件。如果从布局中永久删除小部件,则应调用。 Destroys the widget. Should be called if permanently removing the widget from layout.
返回: Returns:
如果对象已被销毁,则为 true,否则为 false。 true if the object has been destroyed, false otherwise.
