Spread Windows Forms 10.0 Product Documentation
GradientSelectionRenderer Constructor()
Example 


Represents a renderer for selections with gradients.
Syntax
'Declaration
 
Public Function New()
'Usage
 
Dim instance As New GradientSelectionRenderer()
public GradientSelectionRenderer()
Example
This example customizes the selection renderer.
FarPoint.Win.Spread.GradientSelectionRenderer gsr = new FarPoint.Win.Spread.GradientSelectionRenderer();
gsr.Color1 = Color.Green;
gsr.Color2 = Color.LightGreen;
gsr.LinearGradientMode = Drawing2D.LinearGradientMode.BackwardDiagonal;
gsr.Opacity = 50;
fpSpread1.SelectionRenderer = gsr;
Dim gsr As New FarPoint.Win.Spread.GradientSelectionRenderer
gsr.Color1 = Color.Green
gsr.Color2 = Color.LightGreen
gsr.LinearGradientMode = Drawing2D.LinearGradientMode.BackwardDiagonal
gsr.Opacity = 50
FpSpread1.SelectionRenderer = gsr
Requirements

Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows Server 2012 R2, Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8, Windows 8.1, Windows 10

See Also

Reference

GradientSelectionRenderer Class
GradientSelectionRenderer Members
Overload List

 

 


Copyright © GrapeCity, inc. All rights reserved.