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

TdxFillOptionsMode Enum

Enumerates area fill modes available for rendering visual elements in DevExpress components.

#Declaration

Delphi
TdxFillOptionsMode = (
    Clear,
    Solid,
    Gradient,
    Texture,
    Hatch
);

#Members

Name Description Example
Clear

An area is transparent in this mode. All active fill settings are ignored.

A Transparent Area

Solid

Default. An area is filled with a solid primary color. All other fill settings have no effect in this mode.

An Area Filled with a Solid Color

Gradient

An area is filled with a linear gradient based on primary and secondary fill colors. The GradientMode property value determines the gradient direction in this mode.

An Area Filled with a Linear Gradient

Texture

An area is tiled with a texture. All other fill settings have no effect in this mode.

This mode is enabled automatically when you load an image to the Texture container.

A Tiled Area

Hatch

An area is filled with a hatch pattern. The primary color is used to fill the background while the secondary color is applied to the active hatch pattern.

A Diagonally Hatched Area

#Remarks

The TdxFillOptions.Mode property references the TdxFillOptionsMode type.

Note

TdxFillOptionsMode 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 TdxFillOptionsMode.Hatch (in Delphi) or TdxFillOptionsMode::Hatch (in C++Builder) to refer to the Hatch value in code.

See Also