SelectableMixin.

Attach<TControl>(AvaloniaProperty<bool>) Method

Summary

Initializes a new instance of the SelectableMixin class.
Namespace
Avalonia.Controls.Mixins
Containing Type
SelectableMixin

Syntax

public static void Attach<TControl>(AvaloniaProperty<bool> isSelected) 
    where TControl : class, IControl

Type Parameters

Name Description
TControl The control type.

Parameters

Name Type Description
isSelected AvaloniaProperty<bool> The IsSelected property.

Return Value

Type Description
void