Back to Devexpress

MapItem.SelectedStroke Property

windowsforms-devexpress-dot-xtramap-dot-mapitem-227626db.md

latest2.5 KB
Original Source

MapItem.SelectedStroke Property

Gets or sets the color that specifies how the selected outline is painted on a map item.

Namespace : DevExpress.XtraMap

Assembly : DevExpress.XtraMap.v25.2.dll

NuGet Package : DevExpress.Win.Map

Declaration

csharp
public Color SelectedStroke { get; set; }
vb
Public Property SelectedStroke As Color

Property Value

TypeDescription
Color

A Color object that is the color to fill the selected outline of a map item.

|

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the SelectedStroke 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#L131

csharp
shape.StrokeWidth = 3;
shape.SelectedStroke = SelectionLineColor;
shape.SelectedStrokeWidth = 4;

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

vb
shape.StrokeWidth = 3
shape.SelectedStroke = SelectionLineColor
shape.SelectedStrokeWidth = 4

See Also

MapItem Class

MapItem Members

DevExpress.XtraMap Namespace