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.v20.1.dll


public double UserWidth { get; set; }
Public Property UserWidth As Double

Property Value

Type Description

The item link's width.


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