Skip to main content
Bar

BarItemLink.UserContent Property

Gets or sets the link's Content, defined by an end-user. This is a dependency property.

Namespace: DevExpress.Xpf.Bars

Assembly: DevExpress.Xpf.Core.v14.2.dll

#Declaration

[XtraSerializableProperty]
[TypeConverter(typeof(ObjectConverter))]
public object UserContent { get; set; }

#Property Value

Type Description
Object

An object that represents the link's Content.

#Remarks

You can specify the content for a bar item via the BarItem.Content property. By default, this data will be used by all links. However, you can provide the content for individual links via the UserContent property, overriding the bar item's corresponding setting.

At runtime, an end-user can modify a link's caption in customization mode. See Customizing Bars and Bar Items to learn more.

See Also