Skip to main content
All docs
V24.2

MapLineEndCapWidthMapping.DefaultValue Property

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

Namespace: DevExpress.XtraMap

Assembly: DevExpress.XtraMap.v24.2.dll

Declaration

[DefaultValue(10)]
public int DefaultValue { get; set; }

Property Value

Type Default Description
Int32 10

The default Width property value for the map line end cap.

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

See Also