Share via


CommandBarFlyoutCommandBarAutomationProperties.GetControlType Method

Definition

Retrieves the control type for the specified object.

public:
 static AutomationControlType GetControlType(UIElement ^ element);
 static AutomationControlType GetControlType(UIElement const& element);
public static AutomationControlType GetControlType(UIElement element);
function getControlType(element)
Public Shared Function GetControlType (element As UIElement) As AutomationControlType

Parameters

element
UIElement

The object to get the control type for.

Returns

The control type for the specified object.

Applies to