Back to Devexpress

MapLineStartCapVisibleMapping Class

windowsforms-devexpress-dot-xtramap-d05fedf0.md

latest2.9 KB
Original Source

MapLineStartCapVisibleMapping Class

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

Namespace : DevExpress.XtraMap

Assembly : DevExpress.XtraMap.v25.2.dll

NuGet Package : DevExpress.Win.Map

Declaration

csharp
public class MapLineStartCapVisibleMapping :
    MapShapePropertyMappingBase
vb
Public Class MapLineStartCapVisibleMapping
    Inherits MapShapePropertyMappingBase

Example

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

csharp
listSourceDataAdapter1.PropertyMappings.Add(new MapLineStartCapVisibleMapping() { DefaultValue = true });
listSourceDataAdapter1.PropertyMappings.Add(new MapLineStartCapLengthMapping() { DefaultValue = 12 });            
listSourceDataAdapter1.PropertyMappings.Add(new MapLineStartCapWidthMapping() { DefaultValue = 6 });
vb
listSourceDataAdapter1.PropertyMappings.Add(New MapLineStartCapVisibleMapping() With {
        .DefaultValue = True
    })
listSourceDataAdapter1.PropertyMappings.Add(New MapLineStartCapLengthMapping() With {
        .DefaultValue = 12
    })
listSourceDataAdapter1.PropertyMappings.Add(New MapLineStartCapWidthMapping() With {
        .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 MapLineStartCapVisibleMapping

See Also

MapLineStartCapVisibleMapping Members

MapLineStartCapIsFilledMapping

MapLineStartCapLengthMapping

MapLineStartCapTemplateMapping

MapLineStartCapWidthMapping

DevExpress.XtraMap Namespace