ArcGIS Pro 2.7 API Reference Guide
SymbolSearcherSearchFilter Constructor

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
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
)
Public Function New( _
   Optional ByVal createProjectStyleFilter As Boolean, _
   Optional ByVal style As StyleProjectItem _
)

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 10, Windows 8.1

See Also

Reference

SymbolSearcherSearchFilter Class
SymbolSearcherSearchFilter Members