FarPoint.Win.SpreadJ アセンブリ > FarPoint.Win.Spread 名前空間 > GradientSelectionRenderer クラス : LinearGradientMode プロパティ |
'Declaration Public Property LinearGradientMode As LinearGradientMode
'使用法 Dim instance As GradientSelectionRenderer Dim value As LinearGradientMode instance.LinearGradientMode = value value = instance.LinearGradientMode
public LinearGradientMode LinearGradientMode {get; set;}
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