Class Flyout
Represents a control that creates a pop-up window that displays information for an element in the interface.
[TemplatePart(Name = "PART_Popup", Type = typeof(Popup))]
public class Flyout : ContentControl, IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IQueryAmbient, IAddChild
- Inheritance
-
Flyout
- Implements
- Inherited Members
Fields
ClosedEvent
Identifies the Closed routed event.
public static readonly RoutedEvent ClosedEvent
Field Value
IsOpenProperty
Identifies the IsOpen dependency property.
public static readonly DependencyProperty IsOpenProperty
Field Value
OpenedEvent
Identifies the Opened routed event.
public static readonly RoutedEvent OpenedEvent
Field Value
PlacementProperty
Identifies the Placement dependency property.
public static readonly DependencyProperty PlacementProperty
Field Value
Properties
IsOpen
Gets or sets a value indicating whether a Flyout is visible.
public bool IsOpen { get; set; }
Property Value
Placement
Gets or sets the orientation of the Flyout control when the control opens, and specifies the behavior of the Popup control when it overlaps screen boundaries.
[Bindable(true)]
public PlacementMode Placement { get; set; }
Property Value
Methods
Hide()
public void Hide()
OnApplyTemplate()
Invoked whenever application code or an internal process, such as a rebuilding layout pass, calls the ApplyTemplate method.
public override void OnApplyTemplate()
OnPopupClosed(object?, EventArgs)
protected virtual void OnPopupClosed(object? sender, EventArgs e)
Parameters
OnPopupOpened(object?, EventArgs)
protected virtual void OnPopupOpened(object? sender, EventArgs e)
Parameters
Show()
public void Show()
Events
Closed
Event triggered when Flyout is opened.
public event TypedEventHandler<Flyout, RoutedEventArgs> Closed
Event Type
Opened
Event triggered when Flyout is opened.
public event TypedEventHandler<Flyout, RoutedEventArgs> Opened