BarStaticItemLink.Width Property
In This Article
Gets link width.
Namespace: DevExpress.XtraBars
Assembly: DevExpress.XtraBars.v24.2.dll
NuGet Package: DevExpress.Win.Navigation
#Declaration
[Browsable(false)]
[XtraSerializableProperty(XtraSerializationVisibility.Hidden)]
public override int Width { get; set; }
#Property Value
Type | Description |
---|---|
Int32 | An integer value that determines the width of the link in pixels. |
#Remarks
The value returned by the Width property depends upon the BarStaticItem.AutoSize property value of the associated item. The following two situations may occur:
- The BarStaticItem.AutoSize property of the item is either BarStaticItemSize.Content or BarStaticItemSize.Spring. The Width property value is 0 is these instances.
- The BarStaticItem.AutoSize property of the item is BarStaticItemSize.None. The Width property returns the bar item’s width.
Assigning values to the Width
property is not available.
See Also