veContentSelector.SelectedContentTemplateSelector Property

Gets an object that chooses the selected item's content template based on custom logic.

Namespace: DevExpress.UI.Xaml.Layout.VisualElements

Assembly: DevExpress.UI.Xaml.Layout.v19.2.dll


public DataTemplateSelector SelectedContentTemplateSelector { get; }
Public ReadOnly Property SelectedContentTemplateSelector As DataTemplateSelector

Property Value

Type Description

A Windows.UI.Xaml.Controls.DataTemplateSelector descendant that chooses a template based on custom logic.


To specify a common content template selector for all items, use the veContentSelector.ContentTemplateSelector property. A content template selector can also be specified for individual items via their ContentTemplateSelector properties, which if set, override the common content template selector. The SelectedContentTemplateSelector returns the resulting content template selector calculated based on the veContentSelector.ContentTemplateSelector setting and the currently selected item's ContentTemplateSelector property.

See the Data Templating Overview topic in MSDN to learn more.

See Also