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。

適用於