Class SfBackdropPage
Represents a root class for backdrop control which is composed of two surfaces: a back layer and a front layer. The back layer displays actions and context, and these control and inform the front layers content.
Inheritance
Namespace: Syncfusion.XForms.Backdrop
Assembly: Syncfusion.SfBackdrop.XForms.dll
Syntax
public class SfBackdropPage : ContentPage, IParentThemeElement, IThemeElement
Constructors
SfBackdropPage()
Initializes a new instance of the SfBackdropPage class.
Declaration
public SfBackdropPage()
Fields
BackLayerProperty
Gets or sets a value for a view to place behind the front view of backdrop control.
Declaration
public static readonly BindableProperty BackLayerProperty
Field Value
Type | Description |
---|---|
Xamarin.Forms.BindableProperty |
BackLayerRevealOptionProperty
Gets or sets the exploring mode of the BackdropBackLayer.
Declaration
public static readonly BindableProperty BackLayerRevealOptionProperty
Field Value
Type | Description |
---|---|
Xamarin.Forms.BindableProperty |
CloseIconProperty
Gets or sets the image source for the close icon.
Declaration
public static readonly BindableProperty CloseIconProperty
Field Value
Type | Description |
---|---|
Xamarin.Forms.BindableProperty |
FrontLayerProperty
Gets or sets a value for a view to place above the back view of backdrop control.
Declaration
public static readonly BindableProperty FrontLayerProperty
Field Value
Type | Description |
---|---|
Xamarin.Forms.BindableProperty |
IsBackLayerRevealedProperty
Gets or sets a value indicating whether back layer should be expanded state.
Declaration
public static readonly BindableProperty IsBackLayerRevealedProperty
Field Value
Type | Description |
---|---|
Xamarin.Forms.BindableProperty |
OpenIconProperty
Gets or sets the value for the image source of Open icon.
Declaration
public static readonly BindableProperty OpenIconProperty
Field Value
Type | Description |
---|---|
Xamarin.Forms.BindableProperty |
Properties
BackLayer
Gets or sets a value for a view to place behind the BackdropFrontLayer.
Declaration
public BackdropBackLayer BackLayer { get; set; }
Property Value
Type | Description |
---|---|
BackdropBackLayer |
BackLayerRevealOption
Gets or sets the value that indicate how the back layer gets revealed.
Declaration
public RevealOption BackLayerRevealOption { get; set; }
Property Value
Type | Description |
---|---|
RevealOption |
CloseIcon
Gets or sets the value for the image source of close icon.
Declaration
public string CloseIcon { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Content
Gets the view that contains the content of the Page.
Declaration
public View Content { get; }
Property Value
Type | Description |
---|---|
Xamarin.Forms.View |
ControlTemplate
Gets the control template that is used to display content.
Declaration
public ControlTemplate ControlTemplate { get; }
Property Value
Type | Description |
---|---|
Xamarin.Forms.ControlTemplate |
FrontLayer
Gets or sets a value for a view to place above the BackdropBackLayer.
Declaration
public BackdropFrontLayer FrontLayer { get; set; }
Property Value
Type | Description |
---|---|
BackdropFrontLayer |
IsBackLayerRevealed
Gets or sets a value indicating whether back layer should be expanded state.
Declaration
public bool IsBackLayerRevealed { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
OpenIcon
Gets or sets the value for the image source of Open icon.
Declaration
public string OpenIcon { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Padding
Gets the space between the content of the Page and it's border.
Declaration
public Thickness Padding { get; }
Property Value
Type | Description |
---|---|
Xamarin.Forms.Thickness |
Methods
OnAppearing()
When overridden, allows application developers to customize behavior immediately prior to the Page becoming visible.
Declaration
protected override void OnAppearing()
OnDisappearing()
When overridden, allows the application developer to customize behavior as the Page disappears.
Declaration
protected override void OnDisappearing()
OnSizeAllocated(Double, Double)
Handles the size allocated.
Declaration
protected override void OnSizeAllocated(double width, double height)
Parameters
Type | Name | Description |
---|---|---|
System.Double | width | The width. |
System.Double | height | The height. |
Events
BackLayerStateChanged
Occurs when the back layer gets revealed or concealed.
Declaration
public event EventHandler BackLayerStateChanged
Event Type
Type | Description |
---|---|
System.EventHandler |