C# Class BExplorer.Shell.FilterItem

Represents items/filters in a FileFilterComboBox
Show file Open project: Gainedge/BetterExplorer Class Usage Examples

Public Properties

Property Type Description
Caption string

Public Methods

Method Description
Contains ( string filter ) : bool

Splits the filter, trims the results then return all that contain that equal the filter

ParseFilterString ( string filterString, string existing, int &existingIndex ) : BExplorer.Shell.FilterItem[]

Takes a string (representing a list of filters like: "txt|All files|") and converts it into a FilterItem[]

ToString ( ) : string

Returns a string that represents the current object.

Private Methods

Method Description
FilterItem ( string caption, string filter ) : System

Method Details

Contains() public method

Splits the filter, trims the results then return all that contain that equal the filter
public Contains ( string filter ) : bool
filter string The string you are looking for
return bool

ParseFilterString() public static method

Takes a string (representing a list of filters like: "txt|All files|") and converts it into a FilterItem[]
public static ParseFilterString ( string filterString, string existing, int &existingIndex ) : BExplorer.Shell.FilterItem[]
filterString string The string representing a list of filters like: "txt|All files|"
existing string Not Sure
existingIndex int Sets the index of the currently selected item in the
return BExplorer.Shell.FilterItem[]

ToString() public method

Returns a string that represents the current object.
public ToString ( ) : string
return string

Property Details

Caption public property

public string Caption
return string