ToggleSwitch.

OnContentTemplateSelector Property

Summary

Gets or sets a template selector for OnContent property that enables an application writer to provide custom template-selection logic .
Namespace
MahApps.Metro.Controls
Containing Type
ToggleSwitch

Syntax

[Bindable(true)]
[Category(AppName.MahApps)]
public DataTemplateSelector OnContentTemplateSelector { get; set; }

Remarks

This property is ignored if is set.

Attributes

Type Description
Bindable
Category

Value

Type Description
DataTemplateSelector

See Also