ratishphilip / wpfspark

A rich UserControl library to enhance the look and feel of WPF applications.
http://www.codeproject.com/Articles/1060961/WPFSpark-v
MIT License
549 stars 84 forks source link

ToggleSwitch iOS style "Light" specifier #13

Closed MHLoppy closed 3 years ago

MHLoppy commented 3 years ago

The documentation for the iOS-style toggle switches says:

ToggleSwitch.iOS.XXXX.Style - Represents the iOS ToggleButton for light backgrounds where XXXX refers to the accent color.

but it seems the naming for these switches is actually

ToggleSwitch.iOS .Light ..Style

I'm not sure whether it was supposed to be inferred to add the Light specifier even in the absence of dark versions of those switches, but it felt quite unintuitive as a novice C# dev!

ratishphilip commented 3 years ago

@MHLoppy thanks for pointing it out. I have fixed the error in the documentation.