Udostępnij za pośrednictwem


ContentControl.ContentTemplateRoot Property

Definition

Gets the root element of the data template specified by the ContentTemplate property.

public:
 property UIElement ^ ContentTemplateRoot { UIElement ^ get(); };
UIElement ContentTemplateRoot();
public UIElement ContentTemplateRoot { get; }
var uIElement = contentControl.contentTemplateRoot;
Public ReadOnly Property ContentTemplateRoot As UIElement

Property Value

The root element of the data template specified by the ContentTemplate property. The default is null.

Applies to