FilterTypeId Property

Spotfire 14.3 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: 65.0.19510.3242 (65.0.19510.3242)
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: 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