Skip to main content

TdxBarStyleGradientMode Enum

Contains values specifying the direction of the linear gradient brush.

Declaration

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