A newer version of this page is available. Switch to the current version.

DynamicMiniMapBehavior.ZoomOffset Property

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

Namespace: DevExpress.Xpf.Map

Assembly: DevExpress.Xpf.Map.v18.2.dll


public double ZoomOffset { get; set; }
Public Property ZoomOffset As Double

Property Value

Type Description

A double value, specifying the offset.


This example demonstrates how to customize mini map behavior.

The Mini map supports two behavior types.

To specify the behavior, assign the required behavior class to the MiniMap.Behavior property.

<dxm:MiniMap Name="miniMap"
             Alignment="{Binding ElementName=lbAlignments, Path=SelectedValue}"
             Behavior="{Binding ElementName=lbBehavior, Path=SelectedValue}">
            <Rectangle Fill="#80FF6600" Stroke="#ffFF6600"/>
        <dxm:BingMapDataProvider BingKey="{StaticResource bingKey}"/>
<StackPanel Grid.Row="2"  Orientation="Vertical" Margin ="4,2,4,4">
    <Label>Mini Map Behavior:</Label>
    <ListBox Name="lbBehavior" SelectedIndex="0">
            <dxm:FixedMiniMapBehavior ZoomLevel="2" CenterPoint="25,55"/>
            <dxm:DynamicMiniMapBehavior ZoomOffset="-2"/>
See Also