I saw that someone had trouble creating a simple Switch in XUI. So I wanted to give an example.
No need to do reverse engineering I have source code.
It is a xCustomView and therefore should be used with the Design.
Value As Boolean