Spread for ASP.NET 11 Product Documentation
Height Property (FilterBar)
Example 


FarPoint.Web.Spread Assembly > FarPoint.Web.Spread Namespace > FilterBar Class : Height Property
Gets or sets the filter bar height.
Syntax
'Declaration
 
Public Property Height As Integer
'Usage
 
Dim instance As FilterBar
Dim value As Integer
 
instance.Height = value
 
value = instance.Height
public int Height {get; set;}
Example
This example sets the filter bar height.
protected void Page_Load(object sender, System.EventArgs e)
{
if (this.IsPostBack) return;
//Basic Filter Bar
FarPoint.Web.Spread.SheetView sheetView = FpSpread1.ActiveSheetView;
sheetView.AutoFilterMode = FarPoint.Web.Spread.AutoFilterMode.FilterBar;
sheetView.FilterBar.Height = 30;
sheetView.FilterBar.DefaultHeaderStyle.Border = new FarPoint.Web.Spread.Border(Color.Red);
sheetView.FilterBar.DefaultHeaderStyle.BackColor = Color.Yellow;  
}
Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
If (IsPostBack) Then
    Return
End If
'Basic Filter Bar
Dim sheetView As FarPoint.Web.Spread.SheetView = FpSpread1.ActiveSheetView
sheetView.AutoFilterMode = FarPoint.Web.Spread.AutoFilterMode.FilterBar
sheetView.FilterBar.Height = 30
sheetView.FilterBar.DefaultHeaderStyle.Border = New FarPoint.Web.Spread.Border(Drawing.Color.Red)
sheetView.FilterBar.DefaultHeaderStyle.BackColor = Drawing.Color.Yellow
End Sub
See Also

Reference

FilterBar Class
FilterBar Members