Spread for ASP.NET 7.0 Product Documentation
ShowFilterBar Property
See Also  Example Support Options
FarPoint.Web.Spread Assembly > FarPoint.Web.Spread Namespace > SheetSkin Class : ShowFilterBar Property


Glossary Item Box

Gets the boolean value that indicates whether the filter bar is displayed.

Syntax

Visual Basic (Declaration) 
Public ReadOnly Property ShowFilterBar As Boolean
Visual Basic (Usage)Copy Code
Dim instance As SheetSkin
Dim value As Boolean
 
value = instance.ShowFilterBar
C# 
public bool ShowFilterBar {get;}

Example

This example gets the ShowFilterBar property.
C#Copy Code
FarPoint.Web.Spread.SheetSkin sk = new FarPoint.Web.Spread.SheetSkin("sk", System.Drawing.Color.Aqua, System.Drawing.Color.LightYellow, System.Drawing.Color.Black, 1, System.Drawing.Color.Beige, GridLines.Both, System.Drawing.Color.AliceBlue, System.Drawing.Color.DarkBlue, System.Drawing.Color.Beige, System.Drawing.Color.DarkSeaGreen, System.Drawing.Color.AntiqueWhite, System.Drawing.Color.LightSlateGray, false, false, true, true, true, "test", "test1", System.Drawing.Color.Thistle, System.Drawing.Color.Purple, System.Drawing.Color.Bisque, System.Drawing.Color.Black, true);
FarPoint.Web.Spread.SheetSkin testskin = new FarPoint.Web.Spread.SheetSkin(sk);
testskin.Apply(FpSpread1);     
ListBox1.Items.Add(sk.FilterBarHeaderBackColor.ToString());
ListBox1.Items.Add(sk.FilterBarHeaderForeColor.ToString());
ListBox1.Items.Add(sk.FilterBarBackColor.ToString());
ListBox1.Items.Add(sk.FilterBarForeColor.ToString());
ListBox1.Items.Add(sk.ShowFilterBar.ToString());
VB.NETCopy Code
Dim sk As New FarPoint.Web.Spread.SheetSkin("sk", Drawing.Color.Aqua, Drawing.Color.LightYellow, Drawing.Color.Black, 1, Drawing.Color.Beige, GridLines.Both, Drawing.Color.AliceBlue, Drawing.Color.DarkBlue, Drawing.Color.Beige, Drawing.Color.DarkSeaGreen, Drawing.Color.AntiqueWhite, Drawing.Color.LightSlateGray, False, False, True, True, True, "test", "test1", Drawing.Color.Thistle, Drawing.Color.Purple, Drawing.Color.Bisque, Drawing.Color.Black, True)
Dim testskin As New FarPoint.Web.Spread.SheetSkin(sk)
testskin.Apply(FpSpread1)
ListBox1.Items.Add(sk.FilterBarHeaderBackColor.ToString())
ListBox1.Items.Add(sk.FilterBarHeaderForeColor.ToString())
ListBox1.Items.Add(sk.FilterBarBackColor.ToString())
ListBox1.Items.Add(sk.FilterBarForeColor.ToString())
ListBox1.Items.Add(sk.ShowFilterBar.ToString())

Requirements

Target Platforms: Windows 7, Windows 8, Windows Vista, Windows Server 2000, Windows 2000 Professional, Windows XP Professional, Windows NT 4.0 Workstation, SP6, Windows NT 4.0 Server, SP6

See Also

© 2002-2014 ComponentOne, a division of GrapeCity. All Rights Reserved.