Back to Devexpress

FixedMiniMapBehavior.CenterPoint Property

windowsforms-devexpress-dot-xtramap-dot-fixedminimapbehavior.md

latest1.7 KB
Original Source

FixedMiniMapBehavior.CenterPoint Property

Gets or sets a center point of a mini map.

Namespace : DevExpress.XtraMap

Assembly : DevExpress.XtraMap.v25.2.dll

NuGet Package : DevExpress.Win.Map

Declaration

csharp
public CoordPoint CenterPoint { get; set; }
vb
Public Property CenterPoint As CoordPoint

Property Value

TypeDescription
CoordPoint

A CoordPoint class descendant object.

|

Example

To customize FixedMiniMapBehavior use the FixedMiniMapBehavior.CenterPoint and FixedMiniMapBehavior.ZoomLevel properties.

csharp
mapControl.MiniMap.Behavior = new FixedMiniMapBehavior() {
    CenterPoint = new GeoPoint(25,55),
    ZoomLevel = 4
};
vb
MapControl.MiniMap.Behavior = New FixedMiniMapBehavior() With {
    .CenterPoint = New GeoPoint(25, 55),
    .ZoomLevel = 5
}

See Also

FixedMiniMapBehavior Class

FixedMiniMapBehavior Members

DevExpress.XtraMap Namespace