Skip to main content

ToolboxOptionsView.ItemImageSize Property

Gets or sets the dimensions of the rectangle for the item icons.

Namespace: DevExpress.XtraToolbox

Assembly: DevExpress.XtraBars.v24.1.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

public Size ItemImageSize { get; set; }

Property Value

Type Description
Size

A System.Drawing.Size structure that specifies the dimensions of the rectangle for the item icons.

Property Paths

You can access this nested property as listed below:

Object Type Path to ItemImageSize
ToolboxControl
.OptionsView .ItemImageSize

Remarks

You can provide an icon for the toolbox items using the ToolboxElementBase.Image property. By default, the toolbox items display the icons as they are, respecting their dimensions. The ItemImageSize property allows you to explicitly specify the dimensions of the rectangle for the item icons. If the specified rectangle is less then the actual icon dimension, the icon is proportionally narrowed to fit the rectangle.

See Also