Back to Devexpress

LabelItem.Content Property

wpf-devexpress-dot-xpf-dot-docking-dot-labelitem-4f86ae66.md

latest1.6 KB
Original Source

LabelItem.Content Property

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

Namespace : DevExpress.Xpf.Docking

Assembly : DevExpress.Xpf.Docking.v25.2.dll

NuGet Package : DevExpress.Wpf.Docking

Declaration

csharp
public object Content { get; set; }
vb
Public Property Content As Object

Property Value

TypeDescription
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

ContentTemplate

LabelItem Class

LabelItem Members

DevExpress.Xpf.Docking Namespace