headerpanel GradientDirection property
Return to Introduction  Previous page  Next page
Applies to
acHeaderPanel component as sub-property of BackgroundHeader structure.  

Declaration
type  
  TacGradientDirection = (gdVertical, gdHorizontal, gdCentral);  
 
property GradientDirection: TacGradientDirection;  

Description
Specifies the direction of the gradient effect. Direction can be vertical, horizontal or central. To specify the colors for gradient effect — use GradientColor1 and GradientColor2 properties.  

Snapshots
GradientDirection = gdVertical  
gradient2  
 
GradientDirection = gdHorizontal  
gradient  
 
GradientDirection = gdCentral  
gradient3  

See also
GradientColor1, GradientColor2 and Kind properties.