Share via


OverlappedPresenter.CreateForDialog Method

Definition

Creates an OverlappedPresenter object pre-populated with the values for a dialog.

public:
 static OverlappedPresenter ^ CreateForDialog();
 static OverlappedPresenter CreateForDialog();
public static OverlappedPresenter CreateForDialog();
function createForDialog()
Public Shared Function CreateForDialog () As OverlappedPresenter

Returns

An OverlappedPresenter object pre-populated with the values for a dialog.

Remarks

This table shows how configuration properties are set when you create an OverlappedPresenter object from the CreateForDialog method.

Configuration property Value
HasBorder true
HasTitleBar true
IsAlwaysOnTop false
IsMaximizable false
IsMinimizable false
IsModal false
IsResizable false

Ownership

If you want to set an owner for a Dialog, you have to do so at the time of creating your AppWindow.

Applies to