ArcGIS Pro 3.0 API Reference Guide
ArcGIS.Desktop.Mapping.Controls Namespace / SymbolSearcherSearchFilter Class / SymbolSearcherSearchFilter Constructor
Specify true create a filter that will search all Style Project Items for the current Project. If true the style parameter is ignored.
Specify a StyleProjectItem to create a search filter to only search that specific style

SymbolSearcherSearchFilter Constructor
Creates a SymbolSearcherSearchFilter that can be used to set the SearchFilterStyle property.
If no parameters are specified for the constructor the SymbolSearcherControl searches all styles.
Syntax
public SymbolSearcherSearchFilter( 
   bool createProjectStyleFilter,
   StyleProjectItem style
)

Parameters

createProjectStyleFilter
Specify true create a filter that will search all Style Project Items for the current Project. If true the style parameter is ignored.
style
Specify a StyleProjectItem to create a search filter to only search that specific style
Remarks
By specifying the parameters createProjectStyleFilter as false and style as null a SymbolSearcherSearchFilter for 'All Styles' is created.
Requirements

Target Platforms: Windows 11, Windows 10, Windows 8.1

ArcGIS Pro version: 2.7 or higher.
See Also