Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TdxGPBrushGradientPoints.Count Property

Returns the current number of key points on the gradient line.

#Declaration

Delphi
property Count: Integer read;

#Property Value

Type
Integer

#Remarks

Use this property to identify the number of key points created for this linear gradient. The Count property is useful for indexed accessing of color and position values of individual key gradient points.

The Count property value does not reflect the “virtual” edge key gradient points, created when no actual key point matches the beginning and/or end of the gradient line:

See Also