A newer version of this page is available. Switch to the current version.

BarItem.Size Property

Gets or sets the BarItem‘s size.

Namespace: DevExpress.XtraBars

Assembly: DevExpress.XtraBars.v19.1.dll


public virtual Size Size { get; set; }

Property Value

Type Description

A Size structure that is the BarItem‘s size.


If either dimension of the Size property was not specified, the item calculates the related side automatically.

For the BarEditItem object, you can also use the BarEditItem.EditWidth and BarEditItem.EditHeight properties to set the size of the editor within this item.

See Also