Spread Windows Forms 11.0 Product Documentation
FilterBarHeaderStyle Property
Example 


FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > SheetView Class : FilterBarHeaderStyle Property
Gets or sets the style information for the filter bar header.
Syntax
'Declaration
 
Public Property FilterBarHeaderStyle As StyleInfo
'Usage
 
Dim instance As SheetView
Dim value As StyleInfo
 
instance.FilterBarHeaderStyle = value
 
value = instance.FilterBarHeaderStyle
public StyleInfo FilterBarHeaderStyle {get; set;}
Example
This example uses the FilterBarHeaderStyle property.
//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
See Also

Reference

SheetView Class
SheetView Members