Skip to main content
All docs
V24.2

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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

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