Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

OverlappedPresenter.IsModal Property

Definition

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.

Gets or sets a value that indicates whether this window is modal.

public:
 property bool IsModal { bool get(); void set(bool value); };
bool IsModal();

void IsModal(bool value);
public bool IsModal { get; set; }
var boolean = overlappedPresenter.isModal;
overlappedPresenter.isModal = boolean;
Public Property IsModal As Boolean

Property Value

Boolean

bool

true if this window is modal; otherwise, false.

Remarks

A modal window takes precedence over the owner window and blocks any input to the owner window until the modal window is either dismissed or no longer modal.

Applies to


Feedback

Was this page helpful?