PowerTools SPREAD for Windows Forms 10.0J
FilterBarHorizontalGridLine プロパティ


フィルタバーの水平グリッド線を取得または設定します。
構文
'Declaration
 
Public Property FilterBarHorizontalGridLine As GridLine
'使用法
 
Dim instance As SheetView
Dim value As GridLine
 
instance.FilterBarHorizontalGridLine = value
 
value = instance.FilterBarHorizontalGridLine
public GridLine FilterBarHorizontalGridLine {get; set;}
例外
例外説明
System.ArgumentNullException値が指定されていません(指定された値がNull)。
次のサンプルコードは、FilterBarHorizontalGridLineプロパティを設定します。
FarPoint.Win.Spread.GridLine HGridLine = new FarPoint.Win.Spread.GridLine(FarPoint.Win.Spread.GridLineType.Flat, Color.Red);
FarPoint.Win.Spread.GridLine VGridLine = new FarPoint.Win.Spread.GridLine(FarPoint.Win.Spread.GridLineType.Flat, Color.Chartreuse);
fpSpread1.Sheets[0].FilterBarVerticalGridLine = VGridLine;
fpSpread1.Sheets[0].FilterBarHorizontalGridLine = HGridLine;
fpSpread1.Sheets[0].AutoFilterMode = FarPoint.Win.Spread.AutoFilterMode.FilterBar;
Dim HGridLine As New FarPoint.Win.Spread.GridLine(FarPoint.Win.Spread.GridLineType.Flat, Color.Red)
Dim VGridLine As New FarPoint.Win.Spread.GridLine(FarPoint.Win.Spread.GridLineType.Flat, Color.Chartreuse)
FpSpread1.Sheets(0).FilterBarVerticalGridLine = VGridLine
FpSpread1.Sheets(0).FilterBarHorizontalGridLine = HGridLine
FpSpread1.Sheets(0).AutoFilterMode = FarPoint.Win.Spread.AutoFilterMode.FilterBar
参照

SheetView クラス
SheetView メンバ

 

 


© 2004-2017, GrapeCity inc. All rights reserved.