veContentSelector.SelectedContentTemplate Property

Gets a template used to visualize the selected item's content.

Namespace: DevExpress.UI.Xaml.Layout.VisualElements

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


public DataTemplate SelectedContentTemplate { get; }
Public ReadOnly Property SelectedContentTemplate As DataTemplate

Property Value

Type Description

A DataTemplate object used to visualize the selected item's content.


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

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

See Also