ArcGIS Pro 3.4 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
Version

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

ArcGIS Pro version: 3 or higher.
See Also