ShapefileReader Class

Provides functionality to load shape data from an external file in the Shapefiles format.

Namespace: DevExpress.UI.Xaml.Map

Assembly: DevExpress.UI.Xaml.Map.v18.2.dll

Declaration

public class ShapefileReader :
    MapFileReaderBase,
    IOwnedElement
Public Class ShapefileReader
    Inherits MapFileReaderBase
    Implements IOwnedElement

Examples

To load vector data from a Shapefile, do the following.

<Map:VectorFileLayer 
    ShapeStroke="{ThemeResource AppBarBackgroundThemeBrush}">
    <Map:ShapefileReader>
        <Map:ShapefileReader.FileSource>
            <Map:MapPackageFileSource FileName="Assets\Countries.shp"/>
        </Map:ShapefileReader.FileSource>
    </Map:ShapefileReader>
</Map:VectorFileLayer>

Inheritance

Object
MapFileReaderBase
ShapefileReader

See Also