Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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

NuGet Package: DevExpress.Wpf.Docking

#Declaration

public bool HasCaptionTemplate { get; }

#Property Value

Type Description
Boolean

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

#Remarks

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

See Also