Skip to content
This repository has been archived by the owner on Oct 16, 2020. It is now read-only.

Commit

Permalink
Add XmlDoc for SearchOptionsChangedEventArgs
Browse files Browse the repository at this point in the history
  • Loading branch information
dgrunwald committed Dec 21, 2012
1 parent 6b73af0 commit 4f623af
Showing 1 changed file with 22 additions and 1 deletion.
Expand Up @@ -391,7 +391,7 @@ public void Open()
public event EventHandler<SearchOptionsChangedEventArgs> SearchOptionsChanged;

/// <summary>
/// Raises the <see cref="SearchOptionsChangend" /> event.
/// Raises the <see cref="SearchOptionsChanged" /> event.
/// </summary>
protected virtual void OnSearchOptionsChanged(SearchOptionsChangedEventArgs e)
{
Expand All @@ -401,13 +401,34 @@ protected virtual void OnSearchOptionsChanged(SearchOptionsChangedEventArgs e)
}
}

/// <summary>
/// EventArgs for <see cref="SearchPanel.SearchOptionsChanged"/> event.
/// </summary>
public class SearchOptionsChangedEventArgs : EventArgs
{
/// <summary>
/// Gets the search pattern.
/// </summary>
public string SearchPattern { get; private set; }

/// <summary>
/// Gets whether the search pattern should be interpreted case-sensitive.
/// </summary>
public bool MatchCase { get; private set; }

/// <summary>
/// Gets whether the search pattern should be interpreted as regular expression.
/// </summary>
public bool UseRegex { get; private set; }

/// <summary>
/// Gets whether the search pattern should only match whole words.
/// </summary>
public bool WholeWords { get; private set; }

/// <summary>
/// Creates a new SearchOptionsChangedEventArgs instance.
/// </summary>
public SearchOptionsChangedEventArgs(string searchPattern, bool matchCase, bool useRegex, bool wholeWords)
{
this.SearchPattern = searchPattern;
Expand Down

0 comments on commit 4f623af

Please sign in to comment.