ToggleSwitch.OffContent Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Provides the object content that should be displayed using the OffContentTemplate when this ToggleSwitch has state of "Off".
public:
property Platform::Object ^ OffContent { Platform::Object ^ get(); void set(Platform::Object ^ value); };
IInspectable OffContent();
void OffContent(IInspectable value);
public object OffContent { get; set; }
var object = toggleSwitch.offContent;
toggleSwitch.offContent = object;
Public Property OffContent As Object
<ToggleSwitch OffContent="stringContent"/>
- or -
<ToggleSwitch>
<ToggleSwitch.OffContent>
singleContentElement
</ToggleSwitch.OffContent>
</ToggleSwitch>
Property Value
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.
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Binnenkort beschikbaar: In de loop van 2024 zullen we GitHub-problemen geleidelijk uitfaseren als het feedbackmechanisme voor inhoud en deze vervangen door een nieuw feedbacksysteem. Zie voor meer informatie:Feedback verzenden en weergeven voor