Version

Stroke Property

Color of the pen used to outline drawn shapes.
Syntax
'Declaration
 
Public Property Stroke As Color
public Color Stroke {get; set;}
Remarks

Use this property (and not Fill) to affect the color of shape outlines).

There are several methods to deactivate the pen used for outlining a Infragistics.UltraChart.Core.Primitives.Primitive when this functionality is not desired, including:

Set this property to Color.Transparent. This is the preferred means of turning off the use of a pen.
Set the StrokeOpacity property to 0 (this is technically equivalent to setting this property to Transparent).
Set the StrokeWidth property to 0 which renders an outline of zero-thickness (which isn't visible).

While colors with an alpha component may be assigned directly to Stroke, it is highly recommended that developers use the StrokeOpacity property instead.

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also