CoreWindowFlyout
CoreWindowFlyout
CoreWindowFlyout
CoreWindowFlyout
Class
Definition
Defines a child flyout of an app window.
public : sealed class CoreWindowFlyout : ICoreWindowFlyoutpublic sealed class CoreWindowFlyout : ICoreWindowFlyoutPublic NotInheritable Class CoreWindowFlyout Implements ICoreWindowFlyout// This API is not available in Javascript.
- Attributes
| Device family |
Windows Desktop Extension SDK (introduced v10.0.10240.0)
|
| API contract |
Windows.UI.Core.CoreWindowDialogsContract (introduced v1)
|
Remarks
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).
Constructors
CoreWindowFlyout(Point) CoreWindowFlyout(Point) CoreWindowFlyout(Point) CoreWindowFlyout(Point)
Creates an instance of the CoreWindowFlyout class at the supplied position.
public : CoreWindowFlyout(Point position)public CoreWindowFlyout(Point position)Public Sub New(position As Point)// This API is not available in Javascript.
The pixel position on the screen where the flyout is to originate. The position provides the upper-leftmost corner of the flyout.
- See Also
CoreWindowFlyout(Point, String) CoreWindowFlyout(Point, String) CoreWindowFlyout(Point, String) CoreWindowFlyout(Point, String)
Creates an instance of the CoreWindowFlyout class at the specified position with the supplied title.
public : CoreWindowFlyout(Point position, PlatForm::String title)public CoreWindowFlyout(Point position, String title)Public Sub New(position As Point, title As String)// This API is not available in Javascript.
The pixel position on the screen where the flyout is to originate. The position provides the upper-leftmost corner of the flyout.
- title
- PlatForm::String String String String
The title of the flyout.
- See Also
Properties
BackButtonCommand BackButtonCommand BackButtonCommand BackButtonCommand
Gets or sets the delegate called when the back button on the flyout is selected.
public : UICommandInvokedHandler BackButtonCommand { get; set; }public UICommandInvokedHandler BackButtonCommand { get; set; }Public ReadWrite Property BackButtonCommand As UICommandInvokedHandler// This API is not available in Javascript.
- Value
- UICommandInvokedHandler UICommandInvokedHandler UICommandInvokedHandler UICommandInvokedHandler
The delegate called when the back button on the flyout is selected.
Commands Commands Commands Commands
Gets the set of user interface commands available on the flyout.
public : IVector<IUICommand> Commands { get; }public IList<IUICommand> Commands { get; }Public ReadOnly Property Commands As IList<IUICommand>// This API is not available in Javascript.
- Value
- IVector<IUICommand> IList<IUICommand> IList<IUICommand> IList<IUICommand>
The set of user interface commands available on the flyout.
DefaultCommandIndex DefaultCommandIndex DefaultCommandIndex DefaultCommandIndex
Gets or sets the index of the flyout window's default command.
public : unsigned int DefaultCommandIndex { get; set; }public uint DefaultCommandIndex { get; set; }Public ReadWrite Property DefaultCommandIndex As uint// This API is not available in Javascript.
- Value
- unsigned int uint uint uint
The index value of the flyout window's default command (such as OK).
IsInteractionDelayed IsInteractionDelayed IsInteractionDelayed IsInteractionDelayed
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.
public : int IsInteractionDelayed { get; set; }public int IsInteractionDelayed { get; set; }Public ReadWrite Property IsInteractionDelayed As int// This API is not available in Javascript.
- Value
- int int int int
true if a fractional delay is introduced to any interactions with the flyout; false if it is not.
Remarks
Set this property to true when the flyout is asking the user for permission to perform some action which could affect the user’s privacy, security, or data.
Methods
ShowAsync() ShowAsync() ShowAsync() ShowAsync()
Displays the flyout and asynchronously waits for the user to take an action.
public : IAsyncOperation<IUICommand> ShowAsync()public IAsyncOperation<IUICommand> ShowAsync()Public Function ShowAsync() As IAsyncOperation( Of IUICommand )// This API is not available in Javascript.
The action performed by the user on the flyout, as well as information about the action.
Events
Showing Showing Showing Showing
Is fired when the flyout is displayed.
public : event TypedEventHandler Showing<CoreWindow, CoreWindowPopupShowingEventArgs>public event TypedEventHandler Showing<CoreWindow, CoreWindowPopupShowingEventArgs>Public Event Showing<CoreWindow, CoreWindowPopupShowingEventArgs>// This API is not available in Javascript.