Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

ToolboxOptionsView.ItemImageSize Property

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

Namespace: DevExpress.XtraToolbox

Assembly: DevExpress.XtraBars.v24.2.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.ImageOptions 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