ToggleSwitch.OffContent ToggleSwitch.OffContent ToggleSwitch.OffContent ToggleSwitch.OffContent Property

Definition

Provides the object content that should be displayed using the OffContentTemplate when this ToggleSwitch has state of "Off".

public : Platform::Object OffContent { get; set; }
winrt::Windows::Foundation::IInspectable OffContent();

void OffContent(winrt::Windows::Foundation::IInspectable offcontent);
public object OffContent { get; set; }
Public ReadWrite Property OffContent As object
<ToggleSwitch OffContent="stringContent"/>

Property Value

object object

The object content. In some cases this is a string, in other cases it is a single element that provides a root for further composition content. Probably the most common "set" usage is to place a binding here.