Skip to main content
A newer version of this page is available.
All docs
V19.1

VectorLayer.ShapeFill Property

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

Namespace: DevExpress.Xpf.Map

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

Declaration

public Brush ShapeFill { get; set; }

Property Value

Type Description
Brush

A Brush that describes how the shape’s interior is painted.

Example

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.
<dxm:VectorLayer x:Name="mapLayer" ShapeFill="Gray">
    <dxm:ShapefileDataAdapter FileUri="Data/Countries.shp"/>
</dxm:VectorLayer>

The following code snippets (auto-collected from DevExpress Examples) contain references to the ShapeFill property.

Note

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