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

LabelItem.Content Property

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

Namespace: DevExpress.Xpf.Docking

Assembly: DevExpress.Xpf.Docking.v24.2.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