ArcGIS Pro 3.3 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

In This Topic
    SymbolSearcherSearchFilter Constructor
    In This Topic
    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 11, Windows 10

    ArcGIS Pro version: 3 or higher.
    See Also