C# Class BrightIdeasSoftware.TextMatchFilter.TextBeginsMatchingStrategy

This component provides text begins with matching strategy.
Inheritance: TextMatchingStrategy
Afficher le fichier Open project: tvoyle/ObjectListViewRepack

Méthodes publiques

Méthode Description
FindAllMatchedRanges ( string cellText ) : IEnumerable

Find all the ways in which this filter matches the given string.

This is used by the renderer to decide which bits of the string should be highlighted.

this.Text will not be null or empty when this is called.

MatchesText ( string cellText ) : bool

Does the given text match the filter

this.Text will not be null or empty when this is called.

TextBeginsMatchingStrategy ( TextMatchFilter filter, string text ) : System

Create a text begins strategy

Method Details

FindAllMatchedRanges() public méthode

Find all the ways in which this filter matches the given string.

This is used by the renderer to decide which bits of the string should be highlighted.

this.Text will not be null or empty when this is called.

public FindAllMatchedRanges ( string cellText ) : IEnumerable
cellText string The text of the cell we want to search
Résultat IEnumerable

MatchesText() public méthode

Does the given text match the filter

this.Text will not be null or empty when this is called.

public MatchesText ( string cellText ) : bool
cellText string The text of the cell we want to search
Résultat bool

TextBeginsMatchingStrategy() public méthode

Create a text begins strategy
public TextBeginsMatchingStrategy ( TextMatchFilter filter, string text ) : System
filter TextMatchFilter
text string
Résultat System