Skip to main content

SelectableMixin Class

Definition

Assembly:Avalonia.Controls
Package:Avalonia

Adds selectable functionality to control classes.

public class SelectableMixin

Inheritance: object -> SelectableMixin

Remarks

The Avalonia.Controls.Mixins.SelectableMixin adds behavior to a control which can be selected. It adds the following behavior:

Mixins apply themselves to classes and not instances, and as such should be created in a static constructor.

Methods

NameDescription
AttachNo summary available.

Attach Method

public void Attach<TControl>(Avalonia.AvaloniaProperty<bool> isSelected)

Parameters

isSelected Avalonia.AvaloniaProperty<bool>

Type Parameters

TControl