Skip to main content
Bar

BarStaticItemLink.UserWidth Property

Gets or sets the item link's width. This property is in effect when the BarStaticItem.AutoSizeMode property is set to BarItemAutoSizeMode.None. This is a dependency property.

Namespace: DevExpress.Xpf.Bars

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

#Declaration

[XtraSerializableProperty]
public double UserWidth { get; set; }

#Property Value

Type Description
Double

The item link's width.

#Remarks

If the UserWidth property is set to 0, the link's width is determined by the BarStaticItem.ItemWidth property. You can assign a new value to the UserWidth property, overriding the BarStaticItem.ItemWidth property for individual links.

See Also