-api-id | -api-type |
---|---|
T:Microsoft.UI.Xaml.Controls.Primitives.FlyoutBase |
winrt class |
Represents the base class for flyout controls, such as Flyout and MenuFlyout.
FlyoutBase is the parent class for Flyout and MenuFlyout.
FlyoutBase is the host service class for a XAML attached property.
In order to support XAML processor access to the attached properties, and also to expose equivalent get and set operations to code, each XAML attached property has a pair of Get and Set accessor methods. Another way to get or set the value in code is to use the dependency property system, calling either GetValue or SetValue and passing the identifier field as the dependency property identifier.
Attached property | Description |
---|---|
AttachedFlyout | Gets or sets the flyout attached to a FrameworkElement.
|
DependencyObject, Flyout, MenuFlyout, Button.Flyout, Version adaptive code sample