LinearGradientBrushObject(String) Constructor
In This Article
Creates a LinearGradientBrushObject object based on the specified string data.
Namespace: DevExpress.XtraGauges.Core.Drawing
Assembly: DevExpress.XtraGauges.v24.2.Core.dll
NuGet Package: DevExpress.Gauges.Core
#Declaration
#Parameters
Name | Type | Description |
---|---|---|
data |
String | A string that contains data used to initialize the created Linear |
#Remarks
The following is an example of using the current constructor. The dataTag parameter contains values to initialize the LinearGradientBrushObject.StartPoint, LinearGradientBrushObject.EndPoint, BaseGradientBrushObject.StartColor and BaseGradientBrushObject.EndColor properties.
arcScaleComponent1.AppearanceScale.Brush = new LinearGradientBrushObject("Geometry[Start:0, 0;End:5, 5] Colors[Start:Sienna;End:Wheat]");
See Also