Gets or sets whether this column allows automatic filtering.
Syntax
Visual Basic (Declaration) | |
---|
Public Property AllowAutoFilter As Boolean |
Visual Basic (Usage) | Copy Code |
---|
Dim instance As Column
Dim value As Boolean
instance.AllowAutoFilter = value
value = instance.AllowAutoFilter |
C# | |
---|
public bool AllowAutoFilter {get; set;} |
Property Value
Boolean:
true to allow automatic filtering;
false otherwise
Remarks
Example
This example allows a filter to be automatically set on the second column.
C# | Copy Code |
---|
fpSpread1.ActiveSheet.Columns[1].AllowAutoFilter = true;
|
Visual Basic | Copy Code |
---|
FpSpread1.ActiveSheet.Columns(1).AllowAutoFilter = True |
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