corelibraries-devexpress-dot-drawing-dot-dxlineargradientbrush-2f547f63.md
Gets or sets a multicolor linear gradient.
Namespace : DevExpress.Drawing
Assembly : DevExpress.Drawing.v25.2.dll
NuGet Package : DevExpress.Drawing
public DXColorBlend InterpolationColors { get; set; }
Public Property InterpolationColors As DXColorBlend
| Type | Description |
|---|---|
| DXColorBlend |
An object that defines a multicolor linear gradient.
|
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the InterpolationColors 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.
reporting-winforms-custom-brick/CS/MyBrick.cs#L77
colorBlend.Colors = new Color[] { EllipseBrick.OuterColor, EllipseBrick.InnerColor, EllipseBrick.OuterColor };
brush.InterpolationColors = colorBlend;
gr.FillEllipse(brush, rect);
reporting-winforms-custom-brick/VB/MyBrick.vb#L84
EllipseBrick.OuterColor}
brush.InterpolationColors = colorBlend
gr.FillEllipse(brush, rect)
See Also