AutomationProperties.SetIsDialog(DependencyObject, Boolean) 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.
Sets a Boolean value that indicates whether the specified element should be identified as a dialog window.
public:
static void SetIsDialog(DependencyObject ^ element, bool value);
static void SetIsDialog(DependencyObject const& element, bool const& value);
public static void SetIsDialog(DependencyObject element, bool value);
function setIsDialog(element, value)
Public Shared Sub SetIsDialog (element As DependencyObject, value As Boolean)
Parameters
- element
- DependencyObject
The object to identify as a dialog window.
- value
-
Boolean
bool
true if the element should be identified as a dialog window; 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)
|
Remarks
Flyout and ContentDialog elements default to true for AutomationProperties.IsDialog.
Applies to
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for