ContentControl.ContentTemplateRoot Свойство

Определение

Возвращает корневой элемент шаблона данных, заданного свойством ContentTemplate .

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

Значение свойства

Корневой элемент шаблона данных, заданный свойством ContentTemplate . Значение по умолчанию — NULL.

Применяется к