Skip to main content

LabelItem.Content Property

Gets or sets a LabelItem‘s caption. This is a dependency property.

Namespace: DevExpress.Xpf.Docking

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

NuGet Package: DevExpress.Wpf.Docking

Declaration

public object Content { get; set; }

Property Value

Type Description
Object

An object that is a LabelItem‘s caption.

Remarks

The Content defines a caption for the LabelItem object. Generally, define the Content property value as a string to display text within the LabelItem. If any other object is set as a Content, you may want to use a template to visualize this object. In this case, use the LabelItem.ContentTemplate property.

See Also