SelectedIndex Property
Gets or sets the index of the selected tab/panel/page (subview).
Definition
Namespace: Avalonia.Controls
Assembly: Avalonia.Controls.ColorPicker (in Avalonia.Controls.ColorPicker.dll)
- C#
- VB
- F#
public int SelectedIndex { get; set; }
Public Property SelectedIndex As Integer
Get
Set
member SelectedIndex : int with get, set
Property Value
Int32Remarks
When using the default control theme, this property is designed to be used with the ColorViewTab enum. The ColorViewTab enum defines the index values of each of the three standard tabs. Use like SelectedIndex = (int)ColorViewTab.Palette
.