Attach<TControl> Method
Initializes a new instance of the SelectableMixin class.
Definition
Namespace: Avalonia.Controls.Mixins
Assembly: Avalonia.Controls (in Avalonia.Controls.dll)
- C#
- VB
- F#
public static void Attach<TControl>(
AvaloniaProperty<bool> isSelected
)
where TControl : Control
Public Shared Sub Attach(Of TControl As Control) (
isSelected As AvaloniaProperty(Of Boolean)
)
static member Attach :
isSelected : AvaloniaProperty<bool> -> unit when 'TControl : Control
Parameters
- AvaloniaProperty(Boolean)
- The IsSelected property.
Type Parameters
- The control type.