Skip to main content
A newer version of this page is available. .

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

NuGet Packages: DevExpress.WindowsDesktop.Wpf.Docking, DevExpress.Wpf.Navigation

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