AutomationProperties.GetIsDialog(DependencyObject) Method
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 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.