ContentPresenter::ContentTemplateSelector Property
.NET Framework (current version)
Gets or sets the DataTemplateSelector, which allows the application writer to provide custom logic for choosing the template that is used to display the content of the control.
Assembly: PresentationFramework (in PresentationFramework.dll)
public: property DataTemplateSelector^ ContentTemplateSelector { DataTemplateSelector^ get(); void set(DataTemplateSelector^ value); }
Property Value
Type: System.Windows.Controls::DataTemplateSelector^A DataTemplateSelector object that supplies logic to return a DataTemplate to apply. The default is null.
This property is ignored if the ContentTemplate property is set. For more information, see ChooseTemplate.
For XAML information, see TemplateBinding Markup Extension.
Identifier field | |
Metadata properties set to true |
.NET Framework
Available since 3.0
Available since 3.0
Show: