Windows.UI.Xaml.Controls.Primitives.FlyoutBase
June 22, 2022 ยท View on GitHub
-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. |
Version history
| Windows version | SDK version | Value added |
|---|---|---|
| 1607 | 14393 | AllowFocusOnInteraction |
| 1607 | 14393 | AllowFocusWhenDisabled |
| 1607 | 14393 | Closing |
| 1607 | 14393 | ElementSoundMode |
| 1607 | 14393 | LightDismissOverlayMode |
| 1607 | 14393 | Target |
| 1703 | 15063 | OverlayInputPassThroughElement |
| 1709 | 16299 | OnProcessKeyboardAccelerators |
| 1709 | 16299 | TryInvokeKeyboardAccelerator |
| 1809 | 17763 | AreOpenCloseAnimationsEnabled |
| 1809 | 17763 | InputDevicePrefersPrimaryCommands |
| 1809 | 17763 | IsOpen |
| 1809 | 17763 | ShowAt(DependencyObject,FlyoutShowOptions) |
| 1809 | 17763 | ShowMode |
| 1903 | 18362 | IsConstrainedToRootBounds |
| 1903 | 18362 | ShouldConstrainToRootBounds |
| 1903 | 18362 | XamlRoot |
-examples
-see-also
DependencyObject, Flyout, MenuFlyout, Button.Flyout, Version adaptive code sample