Dela via


AutomationPeer.IsDialog Method

Definition

Gets a value that indicates whether the element associated with this automation peer is a dialog window.

public:
 virtual bool IsDialog() = IsDialog;
bool IsDialog();
public bool IsDialog();
function isDialog()
Public Function IsDialog () As Boolean

Returns

Boolean

bool

true if the element is a dialog; otherwise, false.

Windows requirements

Device family
Windows 10, version 1809 (introduced in 10.0.17763.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v7.0)

Applies to