Xamarin.Forms.Page: Method Members

The methods of Xamarin.Forms.Page are listed below. For a list of all members, see the Page Members list.

See Also: Inherited members from Xamarin.Forms.VisualElement

Public Methods

DisplayActionSheet(string, string, string, params string[]) : System.Threading.Tasks.Task<string>
Displays a native platform action sheet, allowing the application user to choose from several buttons.
DisplayAlert(string, string, string) : System.Threading.Tasks.Task
Presents an alert dialog to the application user with a single cancel button.
DisplayAlert(string, string, string, string) : System.Threading.Tasks.Task<bool>
Presents an alert dialog to the application user with an accept and a cancel button.
ForceLayout()
Forces the Xamarin.Forms.Page to perform a layout pass.
SendBackButtonPressed() : bool
Calls Page.OnBackButtonPressed.

Protected Methods

LayoutChildren(double, double, double, double)
Lays out children Xamarin.Forms.Elements into the specified area.
OnAppearing()
When overridden, allows application developers to customize behavior immediately prior to the Xamarin.Forms.Page becoming visible.
OnBackButtonPressed() : bool
Application developers can override this method to provide behavior when the back button is pressed.
override
OnBindingContextChanged()
Invoked whenever the binding context of the Xamarin.Forms.Page changes. Override this method to add class handling for this event.
OnChildMeasureInvalidated(object, EventArgs)
Indicates that the preferred size of a child Xamarin.Forms.Element has changed.
OnDisappearing()
When overridden, allows the application developer to customize behavior as the Xamarin.Forms.Page disappears.
override
OnParentSet()
Called when the Xamarin.Forms.Page's Element.Parent property has changed.
override
OnSizeAllocated(double, double)
Indicates that the Xamarin.Forms.Page has been assigned a size.
UpdateChildrenLayout()
Requests that the children Xamarin.Forms.Elements of the Xamarin.Forms.Page update their layouts.