--- nav-title: "switch How-To" title: "switch" description: "Examples for using switch" previous_url: /ApiReference/ui/switch/HOW-TO --- # Switch Using a switch requires the Switch module. ### Binding the Switch checked property and Button isEnabled property to a observable view-model property. ``` XML {%raw%}