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

TdxFillOptionsGradientMode Enum

Enumerates available linear gradient fill directions.

#Declaration

Delphi
TdxFillOptionsGradientMode = (
    Horizontal,
    Vertical,
    ForwardDiagonal,
    BackwardDiagonal
);

#Members

Name Description Example
Horizontal

The diagonal gradient fill’s direction transitions from the left (Color) to the right (Color2) area border.

An Area Filled with a Linear Gradient from Left to Right

Vertical

The diagonal gradient fill’s direction transitions from the top (Color) to the bottom (Color2) area border.

An Area Filled with a Linear Gradient from Top to Bottom

ForwardDiagonal

The diagonal gradient fill’s direction transitions from the top-left (Color) to the bottom-right (Color2) corner.

An Area is Filled with a Linear Gradient from the Top-Left to Bottom-Right Corner

BackwardDiagonal

The diagonal gradient fill’s direction transitions from the top-right (Color) to the bottom-left (Color2) corner.

An Area is Filled with a Linear Gradient from the Top-Right to Bottom-Left Corner

#Remarks

The TdxFillOptions.GradientMode property references the TdxFillOptionsGradientMode type.

Note

TdxFillOptionsGradientMode is a scoped enumeration type. Use the type name together with a scope resolution token (. in Delphi or :: in C++Builder) followed by an enumeration value to refer to this value. For example, use TdxFillOptionsGradientMode.ForwardDiagonal (in Delphi) or TdxFillOptionsGradientMode::ForwardDiagonal (in C++Builder) to refer to the ForwardDiagonal value in code.

See Also