This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Download Microsoft Edge
More info about Internet Explorer and Microsoft Edge
public ref class Page : Microsoft::Maui::Controls::VisualElement, Microsoft::Maui::Controls::IElementConfiguration<Microsoft::Maui::Controls::Page ^>, Microsoft::Maui::Controls::ILayout, Microsoft::Maui::Controls::IPaddingElement, Microsoft::Maui::Controls::IPageController, Microsoft::Maui::ISafeAreaView, Microsoft::Maui::ITitledElement, Microsoft::Maui::IToolbarElement, Microsoft::Maui::IView
public class Page : Microsoft.Maui.Controls.VisualElement, Microsoft.Maui.Controls.IElementConfiguration<Microsoft.Maui.Controls.Page>, Microsoft.Maui.Controls.ILayout, Microsoft.Maui.Controls.IPaddingElement, Microsoft.Maui.Controls.IPageController, Microsoft.Maui.ISafeAreaView, Microsoft.Maui.ITitledElement, Microsoft.Maui.IToolbarElement, Microsoft.Maui.IView
type Page = class
inherit VisualElement
interface IView
interface IElement
interface ITransform
interface ITitledElement
interface IToolbarElement
interface ILayout
interface IPageController
interface IVisualElementController
interface IElementController
interface IElementConfiguration<Page>
interface IPaddingElement
interface ISafeAreaView
Public Class Page
Inherits VisualElement
Implements IElementConfiguration(Of Page), ILayout, IPaddingElement, IPageController, ISafeAreaView, ITitledElement, IToolbarElement, IView
Inheritance
Page
is primarily a base class for more useful derived types. Objects that are derived from the
Page
class are most prominently used as the top level UI element in Microsoft.Maui.Controls applications. In addition to their role as the main pages of
Microsoft.Maui.Controls
applications,
Page
objects and their descendants can be used with navigation classes, such as
NavigationPage
or
FlyoutPage
, among others, to provide rich user experiences that conform to the expected behaviors on each platform.
Gets or sets the X component of the center point for any transform, relative to the bounds of the element. This is a bindable property.
(Inherited from
VisualElement
)
Gets or sets the Y component of the center point for any transform, relative to the bounds of the element. This is a bindable property.
(Inherited from
VisualElement
)
Gets or sets a value that allows the automation framework to find and interact with this element.
(Inherited from
Element
)
Gets or sets the color which will fill the background of a VisualElement. This is a bindable property.
(Inherited from
VisualElement
)
Gets or sets object that contains the properties that will be targeted by the bound properties that belong to this
BindableObject
.
(Inherited from
BindableObject
)
Gets a value that can be used to uniquely identify an element through the run of an application.
(Inherited from
Element
)
Gets or sets a value indicating whether this element should be involved in the user interaction cycle. This is a bindable property.
(Inherited from
VisualElement
)
Gets or sets a value indicating whether this element is enabled in the user interface. This is a bindable property.
(Inherited from
VisualElement
)
Gets a value indicating whether this element is focused currently. This is a bindable property.
(Inherited from
VisualElement
)
Gets or sets a value that determines whether this elements should be part of the visual tree or not. This is a bindable property.
(Inherited from
VisualElement
)
Gets or sets a value which overrides the minimum height the element will request during layout.
(Inherited from
VisualElement
)
Gets or sets a value which overrides the minimum width the element will request during layout.
(Inherited from
VisualElement
)
Gets or sets the opacity value applied to the element when it is rendered. This is a bindable property.
(Inherited from
VisualElement
)
Gets or sets the rotation (in degrees) about the Z-axis (affine rotation) when the element is rendered.
(Inherited from
VisualElement
)
Gets or sets the rotation (in degrees) about the X-axis (perspective rotation) when the element is rendered.
(Inherited from
VisualElement
)
Gets or sets the rotation (in degrees) about the Y-axis (perspective rotation) when the element is rendered.
(Inherited from
VisualElement
)
Signals the end of a batch of commands to the element and that those commands should now be committed.
(Inherited from
VisualElement
)
Returns the minimum size that a visual element needs in order to be displayed on the device.
(Inherited from
VisualElement
)
Sets the BindableProperty property of this element to be updated via the DynamicResource with the provided key.
(Inherited from
Element
)
Occurs when a VisualElement has been constructed and added to the object tree.
This event may occur before the VisualElement has been measured so should not be relied on for size information.
(Inherited from
VisualElement
)