Skip to main content
All docs
V24.2

MapLineStartCapLengthMapping Class

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

Namespace: DevExpress.XtraMap

Assembly: DevExpress.XtraMap.v24.2.dll

Declaration

public class MapLineStartCapLengthMapping :
    MapShapePropertyMappingBase

Example

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

image

listSourceDataAdapter1.PropertyMappings.Add(new MapLineStartCapVisibleMapping() { DefaultValue = true });
listSourceDataAdapter1.PropertyMappings.Add(new MapLineStartCapLengthMapping() { DefaultValue = 12 });            
listSourceDataAdapter1.PropertyMappings.Add(new MapLineStartCapWidthMapping() { DefaultValue = 6 });

For more examples on MapLine property mappings, see the demo:

Run Demo: Map Arrows

Inheritance

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