Skip to main content
All docs

VectorLayerBase.ShapeFill Property

Gets or sets the brush that specifies how the shape’s interior is painted.

Namespace: DevExpress.Xpf.Map

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

NuGet Package: DevExpress.Wpf.Map


public Brush ShapeFill { get; set; }

Property Value

Type Description

Specifies how the shape’s interior is painted.


To load a shapefile to the map do the following.

  1. Create a ShapefileDataAdapter object and assign it to the VectorLayer.Data property.
  2. Specify the ShapefileDataAdapter.FileUri property of the object.

View Example

<dxm:VectorLayer x:Name="mapLayer" ShapeFill="Gray">
    <dxm:ShapefileDataAdapter FileUri="Data/Countries.shp"/>
See Also