Bar

BarItemLinkMenuHeader.Content Property

Obsolete. Gets or sets a BarItemLinkMenuHeader's caption.

Namespace: DevExpress.Xpf.Bars

Assembly: DevExpress.Xpf.Core.v20.1.dll

Declaration

[Obsolete("This property is obsolete. Use the UserContent property instead.")]
public object Content { get; set; }
<Obsolete("This property is obsolete. Use the UserContent property instead.")>
Public Property Content As Object

Property Value

Type Description
Object

An object, that is the BarItemLinkMenuHeader's caption.

Remarks

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

See Also