CustomButton Xojo Plugin

DesktopCustomSwitch.TextColorOff Property

Sets the text color when switch is off.

TextColorOff as Color {Read and Write}

Remarks

This property can be overridden by DMTextColorOff if system is in dark mode and SeparateDarkModeStyle property is set to true.

Additionally customization in the PreProcessStyle event can override this property at times.

This property has no effect unless HasTextColor property is set to true

See Also

DesktopCustomSwitch Control