Skip to main content

GetControlTypeOverride Method

Helper for reading the value of the ControlTypeOverrideProperty on a StyledElement.

Definition​

Namespace: Avalonia.Automation
Assembly: Avalonia.Controls (in Avalonia.Controls.dll)

public static AutomationControlType? GetControlTypeOverride(
StyledElement element
)

Parameters​

  StyledElement
 

Return Value​

Nullable(AutomationControlType)

See Also​

Reference​

AutomationProperties Class
Avalonia.Automation Namespace