Skip to main content
A newer version of this page is available. .
All docs
V21.1

MapLineStartCapLengthMapping.DefaultValue Property

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

Namespace: DevExpress.XtraMap

Assembly: DevExpress.XtraMap.v21.1.dll

NuGet Packages: DevExpress.Win.Design, DevExpress.Win.Map

Declaration

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

Property Value

Type Default Description
Int32 15

The default Length property value for the map line start cap.

Example

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

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

See Also