CoreWindowDialog class

Applies to Windows only

Defines a child dialog of an app window.

Syntax


public sealed class CoreWindowDialog

Attributes

[MarshalingBehavior(Standard)]
[Muse()]
[Version(0x06020000)]
[WebHostHidden()]

Members

The CoreWindowDialog class has these types of members:

Constructors

The CoreWindowDialog class has these constructors.

ConstructorDescription
CoreWindowDialog() Creates a default instance of the CoreWindowDialog class.
CoreWindowDialog(String) Creates an instance of the CoreWindowDialog class with the supplied title.

 

Events

The CoreWindowDialog class has these events.

EventDescription
Showing Is fired when the dialog is displayed.

 

Methods

The CoreWindowDialog class has these methods. It also inherits methods from the Object class.

MethodDescription
ShowAsync Displays the dialog and asynchronously waits for the user to take an action.

 

Properties

The CoreWindowDialog class has these properties.

PropertyAccess typeDescription

BackButtonCommand

Read/writeGets or sets the delegate called when the back button on the dialog is selected.

CancelCommandIndex

Read/writeGets and sets the command index value for the dialog cancel operation.

Commands

Read-onlyGets the set of user interface commands (UI) available on the dialog.

DefaultCommandIndex

Read/writeGets or sets the index of the dialog window's default command.

IsInteractionDelayed

Read/writeGets 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 dialog window.

MaxSize

Read-onlyGets the maximum size of the dialog.

MinSize

Read-onlyGets the minimum size of the dialog.

Title

Read/writeGets or sets the title of the dialog.

 

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).

Requirements

Minimum supported client

Windows 8 [Windows Store apps only]

Minimum supported server

Windows Server 2012 [Windows Store apps only]

Minimum supported phone

None supported

Namespace

Windows.UI.Core
Windows::UI::Core [C++]

Metadata

Windows.winmd

 

 

Show:
© 2014 Microsoft