Skip to main content

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.v21.2.dll

NuGet Package: DevExpress.Uwp.Controls

Declaration

public DataTemplate SelectedContentTemplate { get; }

Property Value

Type Description
DataTemplate

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

Remarks

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