Skip to main content

SetItemType Method

Helper for setting the value of the ItemTypeProperty on a StyledElement.

Definition​

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

public static void SetItemType(
StyledElement element,
string? value
)

Parameters​

  StyledElement
 
  String
 

See Also​

Reference​

AutomationProperties Class
Avalonia.Automation Namespace