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

TdxBarStyleGradientMode Enum

Contains values specifying the direction of the linear gradient brush.

#Declaration

Delphi
TdxBarStyleGradientMode = (
    gmHorizontal,
    gmVertical,
    gmForwardDiagonal,
    gmBackwardDiagonal
);

#Members

Name
gmHorizontal
gmVertical
gmForwardDiagonal
gmBackwardDiagonal

#Remarks

The TdxBarStyleGradientMode type contains the values specifying the direction for the linear gradient brush. The linear gradient brush is used to draw the background of elements when both the BackColor and BackColor2 properties of the style used by a specific element are set. The following table lists available enumerator values.

Value Description
gmHorizontal The linear gradient brush’s direction is horizontal.
gmVertical The linear gradient brush’s direction is vertical.
gmForwardDiagonal The linear gradient brush’s direction is diagonal starting from the top left corner.
gmBackwardDiagonal The linear gradient brush’s direction is diagonal starting from the top right corner.
See Also