ToggleSwitch.OffContentTemplate ToggleSwitch.OffContentTemplate ToggleSwitch.OffContentTemplate ToggleSwitch.OffContentTemplate Property

Definition

Gets or sets the DataTemplate used to display the control's content while in "Off" state.

public : DataTemplate OffContentTemplate { get; set; }
DataTemplate OffContentTemplate();

void OffContentTemplate(DataTemplate offcontenttemplate);
public DataTemplate OffContentTemplate { get; set; }
Public ReadWrite Property OffContentTemplate As DataTemplate
<ToggleSwitch>
  <ToggleSwitch.OffContentTemplate>
    singleDataTemplate
  </ToggleSwitch.OffContentTemplate>
</ToggleSwitch>

Property Value

The DataTemplate that displays the control's content while in "Off" state.