-api-id | -api-type |
---|---|
M:Windows.UI.Xaml.Automation.AutomationProperties.SetAutomationControlType(Windows.UI.Xaml.UIElement,Windows.UI.Xaml.Automation.Peers.AutomationControlType) |
winrt method |
Windows.UI.Xaml.Automation.AutomationProperties.SetAutomationControlType(Windows.UI.Xaml.UIElement,Windows.UI.Xaml.Automation.Peers.AutomationControlType)
Sets the value of the AutomationProperties.AutomationControlType attached property for the specified DependencyObject.
The DependencyObject for which to set the property.
The UI Automation control type to set.