BaseLayoutItem.HasCaptionTemplate Property

Gets whether a DataTemplate is used to render the caption. This is a dependency property.

Namespace: DevExpress.Xpf.Docking

Assembly: DevExpress.Xpf.Docking.v21.1.dll


public bool HasCaptionTemplate { get; }

Property Value

Type Description

true, if a DataTemplate is used to render the caption; otherwise, false.


The HasCaptionTemplate property equals true if the BaseLayoutItem.CaptionTemplate or BaseLayoutItem.CaptionTemplateSelector property is not empty.

See Also