Skip to main content
All docs
V22.1

MapLineEndCapWidthMapping Class

Defines the Width property for the end cap when map line settings are loaded from a data source.

Namespace: DevExpress.XtraMap

Assembly: DevExpress.XtraMap.v22.1.dll

Declaration

public class MapLineEndCapWidthMapping :
    MapShapePropertyMappingBase

Example

The following example specifies end cap settings for map lines created based on data source values:

image

listSourceDataAdapter1.PropertyMappings.Add(new MapLineEndCapVisibleMapping() { DefaultValue = true });
listSourceDataAdapter1.PropertyMappings.Add(new MapLineEndCapLengthMapping() { DefaultValue = 12 });            
listSourceDataAdapter1.PropertyMappings.Add(new MapLineEndCapWidthMapping() { DefaultValue = 6 });

Run Demo: Map Arrows

Inheritance

Object
DevExpress.XtraMap.Native.MapItemMappingBase
MapItemPropertyMappingBase
DevExpress.XtraMap.MapItemPropertyMappingBase<MapShape>
MapShapePropertyMappingBase
MapLineEndCapWidthMapping
See Also