Back to Devexpress

ToolboxOptionsView.ItemViewMode Property

windowsforms-devexpress-dot-xtratoolbox-dot-toolboxoptionsview-d4e630e7.md

latest2.7 KB
Original Source

ToolboxOptionsView.ItemViewMode Property

Gets or sets whether the toolbox elements (groups and items) display their icons, captions, or both.

Namespace : DevExpress.XtraToolbox

Assembly : DevExpress.XtraBars.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[DefaultValue(ToolboxItemViewMode.IconAndName)]
public ToolboxItemViewMode ItemViewMode { get; set; }
vb
<DefaultValue(ToolboxItemViewMode.IconAndName)>
Public Property ItemViewMode As ToolboxItemViewMode

Property Value

TypeDefaultDescription
DevExpress.XtraToolbox.ToolboxItemViewModeIconAndName

A DevExpress.XtraToolbox.ToolboxItemViewMode enumeration value that specifies whether the toolbox elements (groups and items) display their icons, captions, or both.

|

Property Paths

You can access this nested property as listed below:

Object TypePath to ItemViewMode
ToolboxControl

.OptionsView .ItemViewMode

|

Remarks

The caption and image for the toolbox elements (groups and items) are specified using the ToolboxElementBase.Caption and ToolboxElementBase.ImageOptions properties, respectively. The ItemViewMode property allows you to specify whether the toolbox elements display their icons, captions, or both. By default, if both are displayed, the caption and image are spaced apart from each other at a distance of 5 pixels. The ToolboxOptionsView.ImageToTextDistance property allows you to override the default distance between the caption and image.

See Also

OptionsView

Caption

ImageOptions

ImageToTextDistance

ToolboxOptionsView Class

ToolboxOptionsView Members

DevExpress.XtraToolbox Namespace