ContentControl.Content Properti

Definisi

Mendapatkan atau mengatur konten ContentControl.

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 = contentControl.content;
contentControl.content = object;
Public Property Content As Object
<contentControl>
    singleObject
</contentControl>
-or-
<contentControl>stringContent</contentControl>
- or -
<contentControl Content="stringContent"/>

Nilai Properti

Object

Platform::Object

IInspectable

Objek yang berisi konten kontrol. Defaultnya adalah null.

Berlaku untuk