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.v21.2.dll
NuGet Package: DevExpress.Uwp.Controls
Declaration
Property Value
Type | Description |
---|---|
DataTemplateSelector | A Windows.UI.Xaml.Controls.DataTemplateSelector descendant that chooses a template based on custom logic. |
Remarks
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.