Skip to main content
All docs
V23.2

MapLineStartCapVisibleMapping.DefaultValue Property

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

Namespace: DevExpress.XtraMap

Assembly: DevExpress.XtraMap.v23.2.dll

NuGet Package: DevExpress.Win.Map

Declaration

[DefaultValue(false)]
public bool DefaultValue { get; set; }

Property Value

Type Default Description
Boolean false

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

Remarks

An arrow is displayed at the start of a map line if the DefaultValue is set to true.

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

See Also