Back to Devexpress

BarStaticItem.Width Property

windowsforms-devexpress-dot-xtrabars-dot-barstaticitem-7d12118a.md

latest1.6 KB
Original Source

BarStaticItem.Width Property

Gets or sets the fixed width for this BarStaticItem.

Namespace : DevExpress.XtraBars

Assembly : DevExpress.XtraBars.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[Browsable(true)]
[DefaultValue(0)]
[DXCategory("Layout")]
[EditorBrowsable(EditorBrowsableState.Always)]
[SupportedByBarManager(SupportedByBarManagerKind.NonSupported)]
[SupportedByRibbon(SupportedByRibbonKind.Supported)]
public override int Width { get; set; }
vb
<SupportedByBarManager(SupportedByBarManagerKind.NonSupported)>
<SupportedByRibbon(SupportedByRibbonKind.Supported)>
<Browsable(True)>
<EditorBrowsable(EditorBrowsableState.Always)>
<DefaultValue(0)>
<DXCategory("Layout")>
Public Overrides Property Width As Integer

Property Value

TypeDefaultDescription
Int320

An Int32 value that is the fixed width for this BarStaticItem.

|

See Also

AutoSize

BarStaticItem Class

BarStaticItem Members

DevExpress.XtraBars Namespace