PowerTools SPREAD for Windows Forms 10.0J
AutoFilterMode プロパティ (SheetView)


AutoFilterMode を取得または設定します。
構文
'Declaration
 
Public Property AutoFilterMode As AutoFilterMode
'使用法
 
Dim instance As SheetView
Dim value As AutoFilterMode
 
instance.AutoFilterMode = value
 
value = instance.AutoFilterMode
public AutoFilterMode AutoFilterMode {get; set;}
次のサンプルコードは、AutoFilterMode プロパティを使用します。
//Basic Filter Bar
FarPoint.Win.Spread.SheetView sheetView = fpSpread1.ActiveSheet;
sheetView.AutoFilterMode = FarPoint.Win.Spread.AutoFilterMode.FilterBar;
sheetView.FilterBar.Height = 30;
sheetView.FilterBarHeaderStyle.Border = new FarPoint.Win.DoubleLineBorder(Color.Red);
sheetView.FilterBarHeaderStyle.BackColor = Color.Yellow;  
'Basic Filter Bar
Dim sheetView As FarPoint.Win.Spread.SheetView = FpSpread1.ActiveSheet
sheetView.AutoFilterMode = FarPoint.Win.Spread.AutoFilterMode.FilterBar
sheetView.FilterBar.Height = 30
sheetView.FilterBarHeaderStyle.Border = New FarPoint.Win.DoubleLineBorder(Color.Red)
sheetView.FilterBarHeaderStyle.BackColor = Color.Yellow
参照

SheetView クラス
SheetView メンバ

 

 


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