BarStaticItemLink.Width Property
Gets link width.
Namespace: DevExpress.XtraBars
Assembly: DevExpress.XtraBars.v24.1.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 item’s BarItem.Width inherited property value.
Assigning values to the Width property is not available.
See Also