ToggleSwitch : Control

Implemented for: all platforms supported by Uno Platform

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

In addition, ToggleSwitch has Uno-specific documentation here.

Implemented properties

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

Implemented methods

Method Supported on
void OnToggled() all platforms supported by Uno Platform
void OnOnContentChanged(object, object) all platforms supported by Uno Platform
void OnOffContentChanged(object, object) all platforms supported by Uno Platform
void OnHeaderChanged(object, object) all platforms supported by Uno Platform

Implemented events

Event Supported on
RoutedEventHandler Toggled all platforms supported by Uno Platform

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


Last updated Wednesday, November 9, 2022 7:41 PM.