Spread Windows Forms 7.0 Product Documentation
AutoFilterMode Property
See Also  Example Support Options
FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > SheetSkin Class : AutoFilterMode Property


Glossary Item Box

Gets the UI filter mode.

Syntax

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

Example

This example gets the AutoFilterMode property.
C#Copy Code
FarPoint.Win.Spread.SheetSkin sk = new FarPoint.Win.Spread.SheetSkin("sk", System.Drawing.Color.Aqua, System.Drawing.Color.LightYellow, System.Drawing.Color.Black, System.Drawing.Color.Beige, FarPoint.Win.Spread.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", "test2", "test3", "test4", "test5", System.Drawing.Color.Thistle, System.Drawing.Color.Purple, System.Drawing.Color.Bisque, System.Drawing.Color.Black, FarPoint.Win.Spread.AutoFilterMode.FilterBar);
FarPoint.Win.Spread.SheetSkin testskin = new FarPoint.Win.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.AutoFilterMode.ToString());
VB.NETCopy Code
Dim sk As New FarPoint.Win.Spread.SheetSkin("sk", System.Drawing.Color.Aqua, System.Drawing.Color.LightYellow, System.Drawing.Color.Black, System.Drawing.Color.Beige, FarPoint.Win.Spread.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", "test2", "test3", "test4", "test5", System.Drawing.Color.Thistle, System.Drawing.Color.Purple, System.Drawing.Color.Bisque, System.Drawing.Color.Black, FarPoint.Win.Spread.AutoFilterMode.FilterBar)
Dim testskin As New FarPoint.Win.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.AutoFilterMode.ToString())

Requirements

Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8

See Also

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