C# Class SDE.WPF.SearchPanel

Inheritance: System.Windows.Controls.UserControl
Afficher le fichier Open project: Tokeiburu/RagnarokSDE Class Usage Examples

Méthodes publiques

Свойство Type Description
Find System.Windows.Input.RoutedCommand
MatchCaseProperty System.Windows.DependencyProperty
SearchPatternProperty System.Windows.DependencyProperty
UseRegexProperty System.Windows.DependencyProperty
WholeWordsProperty System.Windows.DependencyProperty

Private Properties

Свойство Type Description
_buttonClose_Click void
_buttonFancyMode_Click void
_buttonNext_Click void
_buttonOpenSubMenu_Click void
_buttonPrev_Click void
_buttonReplaceAll_Click void
_buttonReplaceSingle_Click void
_currentDocument_TextChanged void
_cut string
_replace void
_replaceTextBox_GotFocus void
_replaceTextBox_LostFocus void
_replaceTextBox_PreviewKeyDown void
_searchPanel_KeyDown void
_searchPatternChangedCallback void
_searchTextBox_GotFocus void
_searchTextBox_LostFocus void
_searchTextBox_TextChanged void
_textArea_DocumentChanged void
_textArea_PreviewKeyDown void

Méthodes publiques

Méthode Description
Attach ( TextArea textArea, TextEditor editor ) : void
Close ( ) : void
CloseAndRemove ( ) : void
DoSearch ( bool changeSelection ) : void
FindNext ( ) : void
FindPrevious ( ) : void
OnPreviewCanExecuteHandler ( object sender, System.Windows.Input.CanExecuteRoutedEventArgs e ) : void
OnPreviewExecutedEvent ( object sender, System.Windows.Input.ExecutedRoutedEventArgs e ) : void
Open ( ) : void
SearchPanel ( ) : System
SelectResult ( ICSharpCode.AvalonEdit.Search.SearchResult result ) : void
UpdateSearch ( ) : void
ValidateSearchText ( ) : void

Méthodes protégées

Méthode Description
OnSearchOptionsChanged ( SearchOptionsChangedEventArgs e ) : void

Private Methods

Méthode Description
_buttonClose_Click ( object sender, RoutedEventArgs e ) : void
_buttonFancyMode_Click ( object sender, RoutedEventArgs e ) : void
_buttonNext_Click ( object sender, RoutedEventArgs e ) : void
_buttonOpenSubMenu_Click ( object sender, RoutedEventArgs e ) : void
_buttonPrev_Click ( object sender, RoutedEventArgs e ) : void
_buttonReplaceAll_Click ( object sender, RoutedEventArgs e ) : void
_buttonReplaceSingle_Click ( object sender, RoutedEventArgs e ) : void
_currentDocument_TextChanged ( object sender, EventArgs e ) : void
_cut ( string selectedText ) : string
_replace ( TextSegment result ) : void
_replaceTextBox_GotFocus ( object sender, RoutedEventArgs e ) : void
_replaceTextBox_LostFocus ( object sender, RoutedEventArgs e ) : void
_replaceTextBox_PreviewKeyDown ( object sender, System.Windows.Input.KeyEventArgs e ) : void
_searchPanel_KeyDown ( object sender, System.Windows.Input.KeyEventArgs e ) : void
_searchPatternChangedCallback ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void
_searchTextBox_GotFocus ( object sender, RoutedEventArgs e ) : void
_searchTextBox_LostFocus ( object sender, RoutedEventArgs e ) : void
_searchTextBox_TextChanged ( object sender, TextChangedEventArgs e ) : void
_textArea_DocumentChanged ( object sender, EventArgs e ) : void
_textArea_PreviewKeyDown ( object sender, KeyEventArgs e ) : void

Method Details

Attach() public méthode

public Attach ( TextArea textArea, TextEditor editor ) : void
textArea ICSharpCode.AvalonEdit.Editing.TextArea
editor TextEditor
Résultat void

Close() public méthode

public Close ( ) : void
Résultat void

CloseAndRemove() public méthode

public CloseAndRemove ( ) : void
Résultat void

DoSearch() public méthode

public DoSearch ( bool changeSelection ) : void
changeSelection bool
Résultat void

FindNext() public méthode

public FindNext ( ) : void
Résultat void

FindPrevious() public méthode

public FindPrevious ( ) : void
Résultat void

OnPreviewCanExecuteHandler() public méthode

public OnPreviewCanExecuteHandler ( object sender, System.Windows.Input.CanExecuteRoutedEventArgs e ) : void
sender object
e System.Windows.Input.CanExecuteRoutedEventArgs
Résultat void

OnPreviewExecutedEvent() public méthode

public OnPreviewExecutedEvent ( object sender, System.Windows.Input.ExecutedRoutedEventArgs e ) : void
sender object
e System.Windows.Input.ExecutedRoutedEventArgs
Résultat void

OnSearchOptionsChanged() protected méthode

protected OnSearchOptionsChanged ( SearchOptionsChangedEventArgs e ) : void
e ICSharpCode.AvalonEdit.Search.SearchOptionsChangedEventArgs
Résultat void

Open() public méthode

public Open ( ) : void
Résultat void

SearchPanel() public méthode

public SearchPanel ( ) : System
Résultat System

SelectResult() public méthode

public SelectResult ( ICSharpCode.AvalonEdit.Search.SearchResult result ) : void
result ICSharpCode.AvalonEdit.Search.SearchResult
Résultat void

UpdateSearch() public méthode

public UpdateSearch ( ) : void
Résultat void

ValidateSearchText() public méthode

public ValidateSearchText ( ) : void
Résultat void

Property Details

Find public_oe static_oe property

public static RoutedCommand,System.Windows.Input Find
Résultat System.Windows.Input.RoutedCommand

MatchCaseProperty public_oe static_oe property

public static DependencyProperty,System.Windows MatchCaseProperty
Résultat System.Windows.DependencyProperty

SearchPatternProperty public_oe static_oe property

public static DependencyProperty,System.Windows SearchPatternProperty
Résultat System.Windows.DependencyProperty

UseRegexProperty public_oe static_oe property

public static DependencyProperty,System.Windows UseRegexProperty
Résultat System.Windows.DependencyProperty

WholeWordsProperty public_oe static_oe property

public static DependencyProperty,System.Windows WholeWordsProperty
Résultat System.Windows.DependencyProperty