CoreWindowFlyout Class
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Defines a child flyout of an app window.
In a desktop app, before using an instance of this class in a way that displays UI, you'll need to associate the object with its owner's window handle. For more info, and code examples, see Display WinRT UI objects that depend on CoreWindow.
public ref class CoreWindowFlyout sealed
/// [Windows.Foundation.Metadata.Activatable(Windows.UI.Core.ICoreWindowFlyoutFactory, 65536, Windows.UI.Core.CoreWindowDialogsContract)]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.UI.Core.CoreWindowDialogsContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Standard)]
class CoreWindowFlyout final
/// [Windows.Foundation.Metadata.ContractVersion(Windows.UI.Core.CoreWindowDialogsContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Standard)]
/// [Windows.Foundation.Metadata.Activatable(Windows.UI.Core.ICoreWindowFlyoutFactory, 65536, "Windows.UI.Core.CoreWindowDialogsContract")]
class CoreWindowFlyout final
[Windows.Foundation.Metadata.Activatable(typeof(Windows.UI.Core.ICoreWindowFlyoutFactory), 65536, typeof(Windows.UI.Core.CoreWindowDialogsContract))]
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.UI.Core.CoreWindowDialogsContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Standard)]
public sealed class CoreWindowFlyout
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.UI.Core.CoreWindowDialogsContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Standard)]
[Windows.Foundation.Metadata.Activatable(typeof(Windows.UI.Core.ICoreWindowFlyoutFactory), 65536, "Windows.UI.Core.CoreWindowDialogsContract")]
public sealed class CoreWindowFlyout
Public NotInheritable Class CoreWindowFlyout
- Inheritance
- Attributes
Device family |
Windows Desktop Extension SDK (introduced in 10.0.10240.0)
|
API contract |
Windows.UI.Core.CoreWindowDialogsContract (introduced in v1.0)
|
Note
This class is not agile, which means that you need to consider its threading model and marshaling behavior. For more info, see Threading and Marshaling (C++/CX).
Core |
Creates an instance of the CoreWindowFlyout class at the specified position with the supplied title. In a desktop app, before using an instance of this class in a way that displays UI, you'll need to associate the object with its owner's window handle. For more info, and code examples, see Display WinRT UI objects that depend on CoreWindow. |
Core |
Creates an instance of the CoreWindowFlyout class at the supplied position. In a desktop app, before using an instance of this class in a way that displays UI, you'll need to associate the object with its owner's window handle. For more info, and code examples, see Display WinRT UI objects that depend on CoreWindow. |
Back |
Gets or sets the delegate called when the back button on the flyout is selected. |
Commands |
Gets the set of user interface commands available on the flyout. |
Default |
Gets or sets the index of the flyout window's default command. |
Is |
Gets or sets a value that indicates whether any UI interaction event message is slightly delayed or not. This delay prevents a user from accidentally invoking an action on the flyout window. |
Max |
Gets the maximum size of the flyout. |
Min |
Gets the minimum size of the flyout. |
Title |
Gets or sets the title of the flyout. |
Show |
Displays the flyout and asynchronously waits for the user to take an action. |
Showing |
Is fired when the flyout is displayed. |
Product | Versions |
---|---|
WinRT | Build 10240, Build 10586, Build 14383, Build 15063, Build 16299, Build 17134, Build 17763, Build 18362, Build 19041, Build 20348, Build 22000, Build 22621, Build 26100 |