You are viewing help content for pre-release software. This document and the features it describes are subject to change. Switch to the current version.

FixedMiniMapBehavior Class

This class provides the fixed mini map behavior.

Namespace: DevExpress.Xpf.Map

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


public class FixedMiniMapBehavior :


  • This class introduces the FixedMiniMapBehavior.CenterPoint property to specify a center point of the mini map and the FixedMiniMapBehavior.ZoomLevel property to set the zoom level of the mini map.
  • When a mini map operates in this mode, its center point and zoom level are fixed. The following images demonstrates fixed behavior mode.



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.

View Example

<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