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


public object Content { get; set; }

Property Value

Type Description

An object that is a LabelItem‘s caption.


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