Share via


ContentPresenter.Content 屬性

定義

取得或設定用來產生 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}"/>

屬性值

Object

Platform::Object

IInspectable

用來產生子項目的數據。 預設值是 null。

適用於