ToggleSwitch : Control

Implemented for: all platforms

This document lists all properties, methods, and events of ToggleSwitch that are currently implemented by the Uno Platform. See the UWP documentation for detailed usage guidelines.

ToggleSwitch has Uno-specific documentation here.

Implemented properties

Property Supported on
DataTemplate OnContentTemplate all platforms
object OnContent all platforms
DataTemplate OffContentTemplate all platforms
object OffContent all platforms
bool IsOn all platforms
DataTemplate HeaderTemplate all platforms
object Header all platforms
ToggleSwitchTemplateSettings TemplateSettings all platforms
DependencyProperty HeaderProperty all platforms
DependencyProperty HeaderTemplateProperty all platforms
DependencyProperty IsOnProperty all platforms
DependencyProperty OffContentProperty all platforms
DependencyProperty OffContentTemplateProperty all platforms
DependencyProperty OnContentProperty all platforms
DependencyProperty OnContentTemplateProperty all platforms

Implemented methods

Method Supported on
void OnToggled() all platforms
void OnOnContentChanged(object, object) all platforms
void OnOffContentChanged(object, object) all platforms
void OnHeaderChanged(object, object) all platforms

Implemented events

Event Supported on
RoutedEventHandler Toggled all platforms

Below are all properties, methods, and events of ToggleSwitch that are not currently implemented in Uno.

Last updated Wednesday, October 20, 2021 12:49 PM.