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

MapLineEndCapVisibleMapping.DefaultValue Property

Specifies the default Visible property value for the end 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(false)]
public bool DefaultValue { get; set; }

Property Value

Type Default Description
Boolean **false**

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

Remarks

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

Example

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

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