Xamarin.Forms by Microsoft

<PackageReference Include="Xamarin.Forms" Version="4.3.0.991221" />

.NET API 1,179,760 bytes

 Page

A VisualElement that occupies the entire screen.
public const string ActionSheetSignalName = "Xamarin.ShowActionSheet"

This method is for internal use.

public const string AlertSignalName = "Xamarin.SendAlert"

This method is for internal use.

Identifies the BackgroundImage property.

public const string BusySetSignalName = "Xamarin.BusySet"

This method is for internal use.

public static readonly BindableProperty IconProperty

Identifies the Icon property.

public static readonly BindableProperty IsBusyProperty

Identifies the IsBusy property.

public static readonly BindableProperty PaddingProperty

Identifies the Padding property.

public const string PromptSignalName = "Xamarin.SendPrompt"

public static readonly BindableProperty TitleProperty

Identifies the Title property.

public string BackgroundImage { get; set; }

Identifies the image used as a background for the Page.

public ImageSource BackgroundImageSource { get; set; }

public Rectangle ContainerArea { get; set; }

For internal use by the Xamarin.Forms platform.

public FileImageSource Icon { get; set; }

Resource identifier for the Page's associated icon.

public ImageSource IconImageSource { get; set; }

public bool IgnoresContainerArea { get; set; }

For internal use by the Xamarin.Forms platform.

For internal use by the Xamarin.Forms platform.

public bool IsBusy { get; set; }

Marks the Page as busy. This will cause the platform specific global activity indicator to show a busy state.

public Thickness Padding { get; set; }

The space between the content of the Page and it's border.

public string Title { get; set; }

The Page's title.

public IList<ToolbarItem> ToolbarItems { get; }

A set of ToolbarItems, implemented in a platform-specific manner.

public event EventHandler Appearing

Indicates that the Page is about to appear.

Indicates that the Page is about to cease displaying.

Raised when the layout of the Page has changed.

public Page()

public Task<string> DisplayActionSheet(string title, string cancel, string destruction, string[] buttons)

Displays a native platform action sheet, allowing the application user to choose from several buttons.

public Task DisplayAlert(string title, string message, string cancel)

Presents an alert dialog to the application user with a single cancel button.

public Task<bool> DisplayAlert(string title, string message, string accept, string cancel)

Presents an alert dialog to the application user with an accept and a cancel button.

public Task<string> DisplayPromptAsync(string title, string message, string accept = "OK", string cancel = "Cancel", string placeholder = null, int maxLength = -1, Keyboard keyboard = null)

public void ForceLayout()

Forces the Page to perform a layout pass.

protected virtual void LayoutChildren(double x, double y, double width, double height)

Lays out children Elements into the specified area.

Returns the platform-specific instance of this Page, on which a platform-specific method may be called.

protected virtual void OnAppearing()

When overridden, allows application developers to customize behavior immediately prior to the Page becoming visible.

protected virtual bool OnBackButtonPressed()

Application developers can override this method to provide behavior when the back button is pressed.

protected virtual void OnChildMeasureInvalidated(object sender, EventArgs e)

Indicates that the preferred size of a child Element has changed.

protected virtual void OnDisappearing()

When overridden, allows the application developer to customize behavior as the Page disappears.

public void SendAppearing()

For internal use by the Xamarin.Forms platform.

public bool SendBackButtonPressed()

Calls OnBackButtonPressed.

public void SendDisappearing()

For internal use by the Xamarin.Forms platform.

protected void UpdateChildrenLayout()

Requests that the children Elements of the Page update their layouts.