Defines how an SftSlider control is drawn.
Namespace: Softelvdm.SftStyleNET
Assembly: Softelvdm.SftStyleNET
public enum SliderLookEnum;
Public Enum SliderLookEnum
| Name | Description |
|---|---|
| Themed | The track bar parts of the Windows theme, in dark mode those of the dark theme. |
| Fluent | A thin rounded track filled up to the thumb with the accent color (SftSlider.AccentColor) and a round thumb, as Windows 11 draws its sliders. |
| Standard | A plain track and thumb in system colors, also used in high contrast and, for Themed, without visual styles. |
Defines how an SftSlider control is drawn.
radioEmail.Checked = true;
listOrders.Items.Add(new ListViewItem(new string[] { "1042", "Avery Johnson", "1,234.50" }));
listOrders.Items.Add(new ListViewItem(new string[] { "1043", "Blake Rivera", "86.00" }));
listOrders.Items.Add(new ListViewItem(new string[] { "1044", "Casey Morgan", "412.75" }));
listOrders.Items.Add(new ListViewItem(new string[] { "1045", "Drew Patel", "2,050.00" }));
FillCombo(comboDarkMode, typeof(DarkModeEnum), sftStyle1.DarkMode);
FillCombo(comboHighContrast, typeof(HighContrastModeEnum), sftStyle1.HighContrastMode);
FillCombo(comboLook, typeof(SliderLookEnum), sliderVolume.Look);
ShowState();
ShowSliders();
}
private void FillCombo(ComboBox combo, Type enumType, object current) {
foreach (object value in Enum.GetValues(enumType))
combo.Items.Add(value);
RadioEmail.Checked = True
ListOrders.Items.Add(New ListViewItem(New String() {"1042", "Avery Johnson", "1,234.50"}))
ListOrders.Items.Add(New ListViewItem(New String() {"1043", "Blake Rivera", "86.00"}))
ListOrders.Items.Add(New ListViewItem(New String() {"1044", "Casey Morgan", "412.75"}))
ListOrders.Items.Add(New ListViewItem(New String() {"1045", "Drew Patel", "2,050.00"}))
FillCombo(ComboDarkMode, GetType(DarkModeEnum), SftStyle1.DarkMode)
FillCombo(ComboHighContrast, GetType(HighContrastModeEnum), SftStyle1.HighContrastMode)
FillCombo(ComboLook, GetType(SliderLookEnum), SliderVolume.Look)
ShowState()
ShowSliders()
End Sub
Private Sub FillCombo(ByVal combo As ComboBox, ByVal enumType As Type, ByVal current As Object)
For Each value As Object In [Enum].GetValues(enumType)
combo.Items.Add(value)See Also Classes | SftStyle/NET 3.0