FilterTypeId Property

TIBCO Spotfire 11.4 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: 51.0.16121.3915 (51.0.16121.3915)
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: 11.4, 11.3, 11.2, 11.1, 11.0, 10.10, 7.11
See Also

Reference