Skip to main content
All docs
V25.1
  • DevExpress v25.1 Update — Your Feedback Matters

    Our What's New in v25.1 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

    Take the survey Not interested

    MapLineEndCapLengthMapping Class

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

    Namespace: DevExpress.XtraMap

    Assembly: DevExpress.XtraMap.v25.1.dll

    NuGet Package: DevExpress.Win.Map

    #Declaration

    public class MapLineEndCapLengthMapping :
        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
    MapLineEndCapLengthMapping
    See Also