Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

ExcelAutoFilterColumn

OfficeIMO.Excel

Namespace
OfficeIMO.Excel
Assembly
OfficeIMO.Excel
Source revision
e163ccb36643 with working tree changes
Modifiers
sealed

One column of an ExcelAutoFilter. Each criterion replaces the column's previous criterion.

Inheritance

  • object
  • ExcelAutoFilterColumn

Usage

Explore 1 API references to this type

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Returned or exposed by 1

Methods

public ExcelAutoFilter BeginsWith(string text) #

Shows rows whose text begins with text.

Parameters

text string required
public ExcelAutoFilter Between(double minimumInclusive, double maximumInclusive) #

Shows rows whose number lies between the inclusive bounds.

Parameters

minimumInclusive double required
maximumInclusive double required
public ExcelAutoFilter Blanks() #

Shows only rows whose cell in this column is blank.

public ExcelAutoFilter Clear() #

Removes this column's criterion; the filter stays.

public ExcelAutoFilter Contains(string text) #

Shows rows whose text contains text.

Parameters

text string required
public ExcelAutoFilter DoesNotContain(string text) #

Shows rows whose text does not contain text.

Parameters

text string required
public ExcelAutoFilter EndsWith(string text) #

Shows rows whose text ends with text.

Parameters

text string required
Equals 2 overloads
public ExcelAutoFilter Equals(params string[] values) #

Shows rows whose value equals one of values (case-insensitive, duplicates ignored).

Parameters

values string[] required
public ExcelAutoFilter Equals(IEnumerable<string> values) #

Shows rows whose value equals one of values (case-insensitive, duplicates ignored).

Parameters

values System.Collections.Generic.IEnumerable<string> required
public ExcelAutoFilter GreaterThanOrEqual(double value) #

Shows rows whose number is at least value.

Parameters

value double required
public ExcelAutoFilter LessThanOrEqual(double value) #

Shows rows whose number is at most value.

Parameters

value double required
public ExcelAutoFilter NotBetween(double minimumExclusive, double maximumExclusive) #

Shows rows whose number lies below minimumExclusive or above maximumExclusive.

Parameters

minimumExclusive double required
maximumExclusive double required
public ExcelAutoFilter NotEqual(double value) #

Shows rows whose number differs from value.

Parameters

value double required
public ExcelAutoFilter TopBottom(ushort value, bool bottom = false, bool percent = false) #

Shows the top or bottom value items, or percent with percent.

Parameters

value ushort required
Item count (1-500) or percentage (1-100).
bottom bool = false optional
True for the lowest values; false for the highest.
percent bool = false optional
Whether value is a percentage.

Properties

public ExcelAutoFilter Filter { get; } #

Gets the filter that owns the column.

public uint Offset { get; } #

Gets the zero-based column offset inside the filter range.