Interface IFileSearchProvider
Provides file / folder search in the windows file system.
Namespace: Telerik.WinControls.FileSearch
Assembly: Telerik.WinControls.UI.dll
Syntax
public interface IFileSearchProvider
Properties
SearchSettings
Settings for customizing the search operation.
Declaration
SearchSettings SearchSettings { get; }
Property Value
SearchSettings
|
Methods
CancelCurrentSearchAsync()
Cancels the current search asynchronously. Should be invoked when search string is changed.
Declaration
void CancelCurrentSearchAsync()
SearchAsync(String, String)
Searches for string pattern in the specified directory.
Declaration
void SearchAsync(string pattern, string dirPath)
Parameters
System.String
pattern
|
System.String
dirPath
|
SearchAsyncWithTimer(String, String)
Performs async search with background timer which supports fast changing of the search parameters. Suitable when typing the search string in a TextBox.
Declaration
void SearchAsyncWithTimer(string pattern, string dirPath)
Parameters
System.String
pattern
|
System.String
dirPath
|
StopSearch()
Stops the current search operation and releases the resources.
Declaration
void StopSearch()
Events
FileSearchCompleted
Fires when search is completed automatically or by the user via cancellation.
Declaration
event EventHandler<FileSearchCompletedEventArgs> FileSearchCompleted
Event Type
System.EventHandler<FileSearchCompletedEventArgs>
|
FileSearchProgressChanged
Fires when chunk (portion) of files is found.
Declaration
event EventHandler<FileSearchProgressChangedEventArgs> FileSearchProgressChanged
Event Type
System.EventHandler<FileSearchProgressChangedEventArgs>
|