Back to Devexpress

MapItem.HighlightedStrokeWidth Property

windowsforms-devexpress-dot-xtramap-dot-mapitem-0e3fa6d4.md

latest2.5 KB
Original Source

MapItem.HighlightedStrokeWidth Property

Gets or sets a value that specifies the width of the highlighted stroke on the map item.

Namespace : DevExpress.XtraMap

Assembly : DevExpress.XtraMap.v25.2.dll

NuGet Package : DevExpress.Win.Map

Declaration

csharp
[DefaultValue(-1)]
public int HighlightedStrokeWidth { get; set; }
vb
<DefaultValue(-1)>
Public Property HighlightedStrokeWidth As Integer

Property Value

TypeDefaultDescription
Int32-1

An integer value that is the width of the highlighted stroke on the map item.

|

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the HighlightedStrokeWidth property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

winforms-dashboard-custom-items-extension/CS/CustomItemExtension/CustomItems/WaypointMap/WaypointMapItemControlProvider.cs#L134

csharp
shape.HighlightedStroke = highlightLineColor;
    shape.HighlightedStrokeWidth = 4;
}

winforms-dashboard-custom-items-extension/VB/CustomItemExtension/CustomItems/WaypointMap/WaypointMapItemControlProvider.vb#L142

vb
shape.HighlightedStroke = highlightLineColor
    shape.HighlightedStrokeWidth = 4
End Sub

See Also

MapItem Class

MapItem Members

DevExpress.XtraMap Namespace