ContentPresenter.ContentTemplate ContentPresenter.ContentTemplate ContentPresenter.ContentTemplate ContentPresenter.ContentTemplate Property

Definition

Gets or sets the template that is used to display the content of the control.

public : DataTemplate ContentTemplate { get; set; }
DataTemplate ContentTemplate();

void ContentTemplate(DataTemplate contenttemplate);
public DataTemplate ContentTemplate { get; set; }
Public ReadWrite Property ContentTemplate As DataTemplate
<ContentPresenter ContentTemplate="{Binding}"/>

Property Value

A DataTemplate that defines the visualization of the content. The default is null.