FilterCollection Class

Spotfire 14.3 API Reference
The FilterCollection contains the Filters for a specific DataTable in a FilteringScheme.
Inheritance Hierarchy

SystemObject
  Node
    Spotfire.Dxp.Framework.DocumentModelDocumentNode
      Spotfire.Dxp.Framework.DocumentModelDocumentNodeListBaseFilter
        Spotfire.Dxp.Application.FiltersFilterCollection

Namespace:  Spotfire.Dxp.Application.Filters
Assembly:  Spotfire.Dxp.Application (in Spotfire.Dxp.Application.dll) Version: 65.0.19510.3242 (65.0.19510.3242)
Syntax

C#
[SerializableAttribute]
[PersistenceVersionAttribute(33, 0)]
public sealed class FilterCollection : DocumentNodeListBase<Filter>

The FilterCollection type exposes the following members.

Properties

  NameDescription
Public propertyAutoCreateFilters
Gets or sets a value indicating whether to automatically create filters for new columns.
Public propertyContext
Gets the context of this node.
(Inherited from DocumentNode.)
Public propertyCount
Gets the number of elements contained in this instance.
(Inherited from DocumentNodeListBaseT.)
Public propertyDataTableReference
Gets the data table.
Public propertyFilteredRows
Gets the filtered rows.
Public propertyIsAttached
Gets a value indicating whether this node is attached.
(Inherited from DocumentNode.)
Public propertyItemString
Gets the Filter with the specified name.
Public propertyItemInt32
Gets the element at the specified index.
(Inherited from DocumentNodeListBaseT.)
Public propertyItemDataColumn
Gets the Filter with the specified DataColumn.
Public propertyTransactions
Gets a collection of methods for executing transactions on the document.
(Inherited from DocumentNode.)
Top
Methods

  NameDescription
Public methodAddNewFilter(DataColumn)
Creates a filter and adds it to this FilterCollection. This method will make an effort to create a suitable filter for the column based on number of unique values and the column data type.
Public methodAddNewFilter(TypeIdentifier, DataColumn)
Creates a filter and adds it to this FilterCollection. The filter type corresponds to the supplied filter identifier.
Public methodAutoConfigure
If this collection is empty, then the flag AutoCreateFilters is set to true and filters are created for each column in the DataTableReference.
Public methodClear
Removes all items from this collection.
Public methodContains(String)
Determines whether a named element is in this collection.
Public methodContains(T)
Determines whether the specified value is in this collection.
(Inherited from DocumentNodeListBaseT.)
Public methodContains(DataColumn)
Determines whether a DataColumn has a filter representation in this collection.
Public methodGetEnumerator
Returns an enumerator that iterates through this collection.
(Inherited from DocumentNodeListBaseT.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIndexOf
Searches for the specified value and returns the zero-based index of the first occurrence within this collection.
(Inherited from DocumentNodeListBaseT.)
Public methodRemove
Removes the specified item.
Public methodResetAllFilters
Resets all filters.
Public methodToArray
Copies the elements of the collection to a new array.
(Inherited from DocumentNodeListBaseT.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Explicit Interface Implementations

  NameDescription
Explicit interface implementationPrivate methodIEnumerableGetEnumerator
Returns an enumerator that iterates through a collection.
(Inherited from DocumentNodeListBaseT.)
Explicit interface implementationPrivate methodINodeContextGetAncestorT (Inherited from DocumentNode.)
Explicit interface implementationPrivate methodINodeContextGetServiceT (Inherited from DocumentNode.)
Explicit interface implementationPrivate methodINodeContextIsDescendantOf (Inherited from DocumentNode.)
Explicit interface implementationPrivate methodITransactionsBeginAggregatedTransaction (Inherited from DocumentNode.)
Explicit interface implementationPrivate methodITransactionsExecuteInvisibleTransaction (Inherited from DocumentNode.)
Explicit interface implementationPrivate methodITransactionsExecuteInvisibleTransaction2
Implements ExecuteInvisibleTransaction(Executor) for the Action Mods API.
(Inherited from DocumentNode.)
Explicit interface implementationPrivate methodITransactionsExecuteStickyTransaction (Inherited from DocumentNode.)
Explicit interface implementationPrivate methodITransactionsExecuteStickyTransaction2
Implements ExecuteStickyTransaction(Guid, Executor) for the Action Mods API.
(Inherited from DocumentNode.)
Explicit interface implementationPrivate methodITransactionsExecuteTransaction (Inherited from DocumentNode.)
Explicit interface implementationPrivate methodITransactionsExecuteTransaction2
Implements ExecuteTransaction(Executor) for the Action Mods API.
(Inherited from DocumentNode.)
Top
Version Information

Supported in: 14.3, 14.2, 14.1, 14.0, 12.5, 12.4, 12.3, 12.2, 12.1, 12.0, 11.8
See Also

Reference