Skip to main content
A newer version of this page is available. .
All docs
V20.2

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

NuGet Package: DevExpress.Win.Map

Declaration

public Size ButtonSize { get; set; }

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