CustomButton Xojo Plugin

CustomSwitch.TextColor Property

Sets the text color when switch is on.

TextColor as Color {Read and Write}

Remarks

This property can be overridden by DMTextColor 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

CustomSwitch Control