wpf-devexpress-dot-xpf-dot-map-dot-vectorlayerbase-7b87721d.md
Gets or sets the brush that specifies how the shape’s interior is painted.
Namespace : DevExpress.Xpf.Map
Assembly : DevExpress.Xpf.Map.v25.2.dll
NuGet Package : DevExpress.Wpf.Map
public Brush ShapeFill { get; set; }
Public Property ShapeFill As Brush
| Type | Description |
|---|---|
| Brush |
Specifies how the shape’s interior is painted.
|
To load a shapefile to the map do the following.
<dxm:VectorLayer x:Name="mapLayer" ShapeFill="Gray">
<dxm:ShapefileDataAdapter FileUri="Data/Countries.shp"/>
</dxm:VectorLayer>
The following code snippet (auto-collected from DevExpress Examples) contains a reference 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.
map-wpf-manually-load-a-cartesian-map-shapefile/CS/BuildInCoordinateConverters/MainWindow.xaml#L104
</dxm:ImageTilesLayer>
<dxm:VectorLayer ShapeFill="#40FF8800">
<dxm:ShapefileDataAdapter
See Also