Class Flyout
public class Flyout : PopupFlyoutBase, INotifyPropertyChanged, IPopupHostProvider
- Inheritance
-
Flyout
- Implements
- Inherited Members
Constructors
Flyout()
public Flyout()
Fields
ContentProperty
Defines the Content property
public static readonly StyledProperty<object?> ContentProperty
Field Value
ContentTemplateProperty
Defines the ContentTemplate property.
public static readonly StyledProperty<IDataTemplate?> ContentTemplateProperty
Field Value
FlyoutPresenterThemeProperty
Defines the FlyoutPresenterTheme property.
public static readonly StyledProperty<ControlTheme?> FlyoutPresenterThemeProperty
Field Value
Properties
Content
Gets or sets the content to display in this flyout
[Content]
public object? Content { get; set; }
Property Value
ContentTemplate
Gets or sets the data template used to display the content of the flyout.
public IDataTemplate? ContentTemplate { get; set; }
Property Value
FlyoutPresenterClasses
Gets the Classes collection to apply to the FlyoutPresenter this Flyout is hosting
public Classes FlyoutPresenterClasses { get; }
Property Value
FlyoutPresenterTheme
Gets or sets the ControlTheme that is applied to the container element generated for the flyout presenter.
public ControlTheme? FlyoutPresenterTheme { get; set; }
Property Value
Methods
CreatePresenter()
Used to create the content the Flyout displays
protected override Control CreatePresenter()
Returns
OnOpening(CancelEventArgs)
protected override void OnOpening(CancelEventArgs args)
Parameters
args
CancelEventArgs