BaseLayoutItem.CaptionTemplateSelector Property
Gets or sets an object that chooses a template applied to the BaseLayoutItem.CaptionTemplate property. This is a dependency property.
Namespace: DevExpress.Xpf.Docking
Assembly: DevExpress.Xpf.Docking.v18.2.dll
Declaration
Property Value
Type | Description |
---|---|
DataTemplateSelector | A System.Windows.Controls.DataTemplateSelector descendant that applies a template based on custom logic. |
Remarks
To implement custom logic for choosing a template, you should create a System.Windows.Controls.TemplateSelector descendant, and override the System.Windows.Controls.StyleSelector.SelectTemplate method. This method’s return value will be applied to the BaseLayoutItem.CaptionTemplate property. See this link to learn more.
See Also