windowsforms-devexpress-dot-xtramap-dot-mapitemstyle-a3704d00.md
Gets or sets the color that specifies how the map item outline is painted.
Namespace : DevExpress.XtraMap
Assembly : DevExpress.XtraMap.v25.2.dll
NuGet Package : DevExpress.Win.Map
public Color Stroke { get; set; }
Public Property Stroke As Color
| Type | Description |
|---|---|
| Color |
A Color value that specifies how the map item outline is painted.
|
The following code snippets (auto-collected from DevExpress Examples) contain references to the Stroke 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-map-customize-mini-map-layers/CS/MiniMapLayers/Form1.cs#L103
vectorLayer.ItemStyle.Fill = Color.FromArgb(74, 212, 255);
vectorLayer.ItemStyle.Stroke = Color.Gray;
map-for-winforms-azure-routing/CS/Form1.cs#L44
routeInfoLayer.ItemStyle.StrokeWidth = 2;
routeInfoLayer.ItemStyle.Stroke = Color.DeepSkyBlue;
routeInfoLayer.Error += RouteInfoLayer_Error;
winforms-map-customize-mini-map-layers/VB/MiniMapLayers/Form1.vb#L77
vectorLayer.ItemStyle.Fill = System.Drawing.Color.FromArgb(74, 212, 255)
vectorLayer.ItemStyle.Stroke = System.Drawing.Color.Gray
miniMap.Layers.Add(mapLayer)
map-for-winforms-azure-routing/VB/Form1.vb#L38
routeInfoLayer.ItemStyle.StrokeWidth = 2
routeInfoLayer.ItemStyle.Stroke = Color.DeepSkyBlue
AddHandler routeInfoLayer.Error, AddressOf RouteInfoLayer_Error
See Also