Skip to main content
All docs
V23.2

ButtonPanelOptions.ButtonSize Property

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

Namespace: DevExpress.XtraMap

Assembly: DevExpress.XtraMap.v23.2.dll

NuGet Package: DevExpress.Win.Map

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