Skip to main content
All docs
V24.2

ButtonPanelOptions.ButtonSize Property

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

Namespace: DevExpress.XtraMap

Assembly: DevExpress.XtraMap.v24.2.dll

Declaration

public Size ButtonSize { get; set; }

Property Value

Type Description
Size

The button size.

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