Skip to main content

MiniMap.Alignment Property

Gets or sets the alignment of a mini map.

Namespace: DevExpress.Xpf.Map

Assembly: DevExpress.Xpf.Map.v23.1.dll

NuGet Package: DevExpress.Wpf.Map


public MiniMapAlignment Alignment { get; set; }

Property Value

Type Description

A MiniMapAlignment enumeration value.

Available values:

Name Description

A mini map is aligned to the top-left corner of a map.


A mini map is aligned to the top-right corner of a map.


A mini map is aligned to the bottom-left corner of a map.


A mini map is aligned to the bottom-right corner of a map.


View Example

<ObjectDataProvider x:Key="MiniMapAlignmentValues"
                    MethodName="GetValues" ObjectType="{x:Type sys:Enum}">
        <x:Type TypeName="dxm:MiniMapAlignment"/>
        <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="1" Orientation="Vertical" Margin="4,2,4,2">
            <Label>Mini Map Alignment:</Label>
            <ListBox Name="lbAlignments" SelectedIndex="1"
                     ItemsSource="{Binding Source={StaticResource MiniMapAlignmentValues}}"/>

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the Alignment property.


The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also