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

MiniMap.ViewportTemplate Property

Gets or sets the template that defines the appearance of a mini map.

Namespace: DevExpress.Xpf.Map

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


public DataTemplate ViewportTemplate { get; set; }

Property Value

Type Description

A ControlTemplate object that represents the template that displays a mini map.


<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}"/>
See Also