vcl-dxcustomtilecontrol-dot-tdxtilecontrolcustomstyle.md
Specifies the gradient fill type for a tile control element’s background.
property Gradient: TdxSkinGradientMode read; write; default gmHorizontal;
| Type | Default |
|---|---|
| TdxSkinGradientMode | gmHorizontal |
Options include:
| Value | Description | Sample |
|---|---|---|
| gmBackwardDiagonal | The gradient fill type is diagonal starting from the top right corner. | |
| gmForwardDiagonal | The gradient fill type is diagonal starting from the top left corner. | |
| gmHorizontal | The gradient fill type is horizontal starting from the left edge. | |
| gmVertical | The 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