A Toggle consists of a custom Label and an Is On Boolean property that determines whether the Toggle is on or off. To style a Toggle, apply the Toggle Style modifier.
To ensure that the Toggle control works when a user taps it, place the Toggle in a component and bind the Is On parameter to a Boolean component property. You can either create the property before you bind it or create the property directly in the control parameters in the Inspector panel.