Version

ShowCustomFilterSelectionControl(RecordFilter,RecordManager) Method

Displays the CustomFilterSelectionControl to create filters for a specific Field, inside an appropriate container depending on whether the application is running locally or inside a browser as an XBAP.
Syntax
'Declaration
 
Public Overloads Sub ShowCustomFilterSelectionControl( _
   ByVal recordFilter As RecordFilter, _
   ByVal recordManager As RecordManager _
) 
public void ShowCustomFilterSelectionControl( 
   RecordFilter recordFilter,
   RecordManager recordManager
)

Parameters

recordFilter
The Field that the filters are being selected for (required)
recordManager
The RecordManager that should be used to determine the unique values to display for the current Field (optional), but should be specified if the associated FieldLayout’s FieldLayoutSettings.RecordFilterScope property is set to SiblingDataRecords. This allows the CustomFilterSelectionControl to properly display the unique data for the Field from the proper scope. If the RecordManager is not specified unique values for the Field across all data islands will be displayed.
Remarks

When running locally a modal top level window will be created as the container to host the CustomFilterSelectionControl. When running in the browser as an XBAP application, a special control that simulates a window is created as the container to get around the lack of top level window support in XBAP applications (modality is also simulated in this case).

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also