Window 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
public ref class Window : Microsoft::Maui::Controls::NavigableElement, Microsoft::Maui::IMenuBarElement, Microsoft::Maui::IToolbarElement, Microsoft::Maui::IWindow
[Microsoft.Maui.Controls.ContentProperty("Page")]
public class Window : Microsoft.Maui.Controls.NavigableElement, Microsoft.Maui.IMenuBarElement, Microsoft.Maui.IToolbarElement, Microsoft.Maui.IWindow
[<Microsoft.Maui.Controls.ContentProperty("Page")>]
type Window = class
inherit NavigableElement
interface IWindow
interface ITitledElement
interface IElement
interface IToolbarElement
interface IMenuBarElement
Public Class Window
Inherits NavigableElement
Implements IMenuBarElement, IToolbarElement, IWindow
- 继承
- 继承
- 属性
- 实现
构造函数
| Window() | |
| Window(Page) |
字段
| ControlsWindowMapper | |
| FlowDirectionProperty |
的可绑定属性 FlowDirection。 |
| HeightProperty |
的可绑定属性 Height。 |
| MaximumHeightProperty |
的可绑定属性 MaximumHeight。 |
| MaximumWidthProperty |
的可绑定属性 MaximumWidth。 |
| MinimumHeightProperty |
的可绑定属性 MinimumHeight。 |
| MinimumWidthProperty |
的可绑定属性 MinimumWidth。 |
| PageProperty |
的可绑定属性 Page。 |
| TitleBarProperty |
的可绑定属性 TitleBar。 |
| TitleProperty |
的可绑定属性 Title。 |
| transientNamescope | (继承自 Element) |
| WidthProperty |
的可绑定属性 Width。 |
| XProperty |
的可绑定属性 X。 |
| YProperty |
的可绑定属性 Y。 |
属性
方法
事件
| Activated | |
| Backgrounding | |
| BindingContextChanged |
当 BindingContext 属性的值更改时发生。 (继承自 BindableObject) |
| ChildAdded |
每当将子元素添加到元素时引发。 (继承自 Element) |
| ChildRemoved |
每当从元素中删除子元素时引发。 (继承自 Element) |
| Created | |
| Deactivated | |
| DescendantAdded |
每当将子元素添加到元素的子树时引发。 (继承自 Element) |
| DescendantRemoved |
每当从元素子树中删除子元素时引发。 (继承自 Element) |
| Destroying | |
| DisplayDensityChanged | |
| HandlerChanged |
每当元素的处理程序发生更改时引发。 (继承自 Element) |
| HandlerChanging |
每当元素的处理程序开始更改时引发。 (继承自 Element) |
| ModalPopped | |
| ModalPopping | |
| ModalPushed | |
| ModalPushing | |
| ParentChanged |
每当元素的父级发生更改时引发。 (继承自 Element) |
| ParentChanging |
每当元素开始更改时引发。 (继承自 Element) |
| PopCanceled | |
| PropertyChanged |
在属性值更改时发生。 (继承自 BindableObject) |
| PropertyChanging |
在属性值更改时发生。 (继承自 BindableObject) |
| Resumed | |
| SizeChanged | |
| Stopped | |