Skip to main content

SetIsSelected Method

Gets the value of the IsSelectedProperty on the specified control.

Definition​

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

public static void SetIsSelected(
Control control,
bool value
)

Parameters​

  Control
The control.
  Boolean
The value of the property.

Return Value​

The value of the attached property.

See Also​

Reference​

SelectingItemsControl Class
Avalonia.Controls.Primitives Namespace