Back to Devexpress

DynamicMiniMapBehavior.ZoomOffset Property

windowsforms-devexpress-dot-xtramap-dot-dynamicminimapbehavior.md

latest1.7 KB
Original Source

DynamicMiniMapBehavior.ZoomOffset Property

Gets or sets the mini map zoom level offset relative to the map control zoom level.

Namespace : DevExpress.XtraMap

Assembly : DevExpress.XtraMap.v25.2.dll

NuGet Package : DevExpress.Win.Map

Declaration

csharp
[DefaultValue(-3)]
public double ZoomOffset { get; set; }
vb
<DefaultValue(-3)>
Public Property ZoomOffset As Double

Property Value

TypeDefaultDescription
Double-3

A double value, specifying the offset.

|

Remarks

The following image demonstrates this property used with the default value.

The following code shows how to use this property.

csharp
mapControl.MiniMap.Behavior = new DynamicMiniMapBehavior() { ZoomOffset = -4 };
vb
MapControl.MiniMap.Behavior = New DynamicMiniMapBehavior() With { .ZoomOffset = -4 };

See Also

DynamicMiniMapBehavior Class

DynamicMiniMapBehavior Members

DevExpress.XtraMap Namespace