Share via


AutomationProperties.GetIsDialog(DependencyObject) Method

Definition

Gets the value of the AutomationProperties.IsDialog attached property for the specified DependencyObject.

public:
 static bool GetIsDialog(DependencyObject ^ element);
 static bool GetIsDialog(DependencyObject const& element);
public static bool GetIsDialog(DependencyObject element);
function getIsDialog(element)
Public Shared Function GetIsDialog (element As DependencyObject) As Boolean

Parameters

element
DependencyObject

The object to check.

Returns

Boolean

bool

true if the specified element is identified as a dialog window; otherwise, false.

Applies to