TdxTileControlCustomStyle.Gradient Property
Specifies the gradient fill type for a tile control element’s background.
Declaration
property Gradient: TdxSkinGradientMode read; write; default gmHorizontal;
Property Value
Type | Default |
---|---|
TdxSkinGradientMode | gmHorizontal |
Remarks
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