Skip to content

Latest commit

 

History

History
36 lines (22 loc) · 2.53 KB

File metadata and controls

36 lines (22 loc) · 2.53 KB
-api-id -api-type
T:Microsoft.UI.Xaml.Controls.Primitives.FlyoutBase
winrt class

Microsoft.UI.Xaml.Controls.Primitives.FlyoutBase

-description

Represents the base class for flyout controls, such as Flyout and MenuFlyout.

-remarks

FlyoutBase derived classes

FlyoutBase is the parent class for Flyout and MenuFlyout.

XAML attached properties

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.To attach a flyout to a Button, use Button.Flyout instead.

-examples

-see-also

DependencyObject, Flyout, MenuFlyout, Button.Flyout, Version adaptive code sample