Back to Devexpress

TdxTileControlCustomStyle.Gradient Property

vcl-dxcustomtilecontrol-dot-tdxtilecontrolcustomstyle.md

latest2.2 KB
Original Source

TdxTileControlCustomStyle.Gradient Property

Specifies the gradient fill type for a tile control element’s background.

Declaration

delphi
property Gradient: TdxSkinGradientMode read; write; default gmHorizontal;

Property Value

TypeDefault
TdxSkinGradientModegmHorizontal

Remarks

Options include:

ValueDescriptionSample
gmBackwardDiagonalThe gradient fill type is diagonal starting from the top right corner.
gmForwardDiagonalThe gradient fill type is diagonal starting from the top left corner.
gmHorizontalThe gradient fill type is horizontal starting from the left edge.
gmVerticalThe gradient fill type is vertical starting from the top edge.

The specified gradient fill type is in effect if both the GradientBeginColor and GradientEndColor properties are assigned a value other than clDefault. These properties specify the gradient’s start and end colors.

Note

The Texture property overrides the solid and gradient fill settings specified via the Gradient , GradientBeginColor, and GradientEndColor properties.

The default value of the Gradient property is gmHorizontal.

See Also

TdxTileControlCustomStyle Class

TdxTileControlCustomStyle Members

dxCustomTileControl Unit