Skip to main content

SetControlTypeOverride Method

Helper for setting ControlTypeOverride property on a StyledElement.

Definition

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

public static void SetControlTypeOverride(
StyledElement element,
AutomationControlType? value
)

Parameters

  StyledElement
 
  Nullable(AutomationControlType)
 

See Also

Reference

AutomationProperties Class
Avalonia.Automation Namespace