Udostępnij za pośrednictwem


ContentPresenter.Content Property

Definition

Gets or sets the data that is used to generate the child elements of a ContentPresenter.

public:
 property Platform::Object ^ Content { Platform::Object ^ get(); void set(Platform::Object ^ value); };
IInspectable Content();

void Content(IInspectable value);
public object Content { get; set; }
var object = contentPresenter.content;
contentPresenter.content = object;
Public Property Content As Object
<ContentPresenter Content="{Binding}"/>

Property Value

Object

Platform::Object

IInspectable

The data that is used to generate the child elements. The default is null.

Applies to