windowsforms-devexpress-dot-xtrabars-dot-baredititem-69507ffe.md
This member supports the internal infrastructure, and is not intended to be used directly from your code.
Namespace : DevExpress.XtraBars
Assembly : DevExpress.XtraBars.v25.2.dll
NuGet Package : DevExpress.Win.Navigation
[Browsable(false)]
[EditorBrowsable(EditorBrowsableState.Never)]
public override int Width { get; set; }
<Browsable(False)>
<EditorBrowsable(EditorBrowsableState.Never)>
Public Overrides Property Width As Integer
| Type | Description |
|---|---|
| Int32 |
For internal use.
|
To set the width of an editor within this BarEditItem, use the BarEditItem.EditWidth property instead.
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the Width property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.
winforms-bars-create-baredititem/CS/Form1.cs#L144
item.EditValue = "[n/a]";
item.Width = 100;
barStandard.AddItem(item);
winforms-bars-create-baredititem/VB/Form1.vb#L139
item.EditValue = "[n/a]"
item.Width = 100
barStandard.AddItem(item)
See Also