FilterTypeId Property TIBCO Spotfire 7.6 API Reference
Gets or sets the type identifier for the filter. By setting this property, the filter is converted to the specified type.

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

C#
public TypeIdentifier TypeId { get; set; }

Property Value

Type: TypeIdentifier
The TypeIdentifier, which should be one of the FilterTypeIdentifiers.
Exceptions

ExceptionCondition
ArgumentNullExceptionIf set to null.
ArgumentExceptionIf set to an invalid filter type identifier.
Examples

To change the filter into a checkbox filter, use the following:
C#
Filter filter;
filter.TypeId = FilterTypeIdentifiers.CheckBoxFilter;
CheckBoxFilter checkBoxFilter = filter.As<CheckBoxFilter>();
Version Information

Supported in: 7.6, 7.5, 7.0, 6.5, 6.0, 5.5, 5.0
See Also

Reference