All docs
V20.2
20.2
20.1
The page you are viewing does not exist in version 20.1. This link will take you to the root page.
19.2
The page you are viewing does not exist in version 19.2. This link will take you to the root page.
19.1
The page you are viewing does not exist in version 19.1. This link will take you to the root page.
18.2
The page you are viewing does not exist in version 18.2. This link will take you to the root page.
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.

ButtonPanelOptions.ButtonSize Property

Gets or sets the size of the Measurements toolbar and Map Editor buttons.

Namespace: DevExpress.XtraMap

Assembly: DevExpress.XtraMap.v20.2.dll

Declaration

public Size ButtonSize { get; set; }
Public Property ButtonSize As Size

Property Value

Type Description
Size

The button size.

Property Paths

You can access this nested property as listed below:

Object Type Path to ButtonSize
MapEditor
.PanelOptions.ButtonSize
Measurements
.ToolbarOptions.ButtonSize

Remarks

The following code specifies the size of the Measurements toolbar buttons:

mapControl1.MeasureEditor.ToolbarOptions.ButtonSize = new Size(30, 30);

The sample below sets the Map Editor button size to 30 pixels:

mapControl1.MapEditor.PanelOptions.ButtonSize = new Size(30, 30);
See Also