Skip to main content
A newer version of this page is available. .

LinearGradientBrushObject(String) Constructor

Creates a LinearGradientBrushObject object based on the specified string data.

Namespace: DevExpress.XtraGauges.Core.Drawing

Assembly: DevExpress.XtraGauges.v18.2.Core.dll

Declaration

public LinearGradientBrushObject(
    string dataTag
)

Parameters

Name Type Description
dataTag String

A string that contains data used to initialize the created LinearGradientBrushObject object.

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