FarPoint.Win.SpreadJ アセンブリ > FarPoint.Win.Spread.CellType 名前空間 > GradientHeaderRenderer クラス : Mode プロパティ |
'Declaration Public Property Mode As LinearGradientMode
'使用法 Dim instance As GradientHeaderRenderer Dim value As LinearGradientMode instance.Mode = value value = instance.Mode
public LinearGradientMode Mode {get; set;}
FarPoint.Win.Spread.CellType.GradientHeaderRenderer gc = new FarPoint.Win.Spread.CellType.GradientHeaderRenderer();
gc.BottomColor = Color.Orange;
gc.TopColor = Color.Red;
gc.Mode = Drawing2D.LinearGradientMode.ForwardDiagonal;
fpSpread1.ActiveSheet.ColumnHeader.Rows[0].Renderer = gc
Dim gc As New FarPoint.Win.Spread.CellType.GradientHeaderRenderer gc.BottomColor = Color.Orange gc.TopColor = Color.Red gc.Mode = Drawing2D.LinearGradientMode.ForwardDiagonal FpSpread1.ActiveSheet.ColumnHeader.Rows(0).Renderer = gc