ContentControl.Content Property

Definition

Gets or sets the content of a ContentControl.

C#
public object Content { get; set; }
XAML
<contentControl>
    singleObject
</contentControl>
-or-
<contentControl>stringContent</contentControl>
- or -
<contentControl Content="stringContent"/>

Property Value

Object

An object that contains the control's content. The default is null.

Applies to

Produkt Verzie
Windows App SDK 0.8, 1.0, 1.1, 1.2, 1.3, 1.4, 1.5, 1.6