Back to Devexpress

MapRectangle Class

wpf-devexpress-dot-xpf-dot-map-7b32008d.md

latest2.8 KB
Original Source

MapRectangle Class

The class used to draw a rectangle on a map.

Namespace : DevExpress.Xpf.Map

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

NuGet Package : DevExpress.Wpf.Map

Declaration

csharp
public class MapRectangle :
    MapShape,
    IRectangleCore,
    ISupportRectangle,
    ISupportCoordLocation,
    IPolygonCore,
    IPointContainerCore,
    ISupportCoordPoints
vb
Public Class MapRectangle
    Inherits MapShape
    Implements IRectangleCore,
               ISupportRectangle,
               ISupportCoordLocation,
               IPolygonCore,
               IPointContainerCore,
               ISupportCoordPoints

The following members return MapRectangle objects:

Remarks

The following image shows an example of a map rectangle shape.

Note

The MapRectangle.Width and MapRectangle.Height properties are measured in kilometers by default.

Example

View Example

xaml
<dxm:MapRectangle Location="60, 80" Width="2000" Height="1000"/>

Implements

IColorizerElement

Inheritance

Object DispatcherObject DependencyObject Freezable MapDependencyObject MapItem MapShapeBase MapShape MapRectangle

See Also

MapRectangle Members

DevExpress.Xpf.Map Namespace