C# 클래스 ICSharpCode.AvalonEdit.Search.SearchPanel

Provides search functionality for AvalonEdit. It is displayed in the top-right corner of the TextArea.
상속: System.Windows.Controls.Control
파일 보기 프로젝트 열기: gilgame/SEWorkbench 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
LocalizationProperty System.Windows.DependencyProperty
MarkerBrushProperty System.Windows.DependencyProperty
MatchCaseProperty System.Windows.DependencyProperty
SearchPatternProperty System.Windows.DependencyProperty
UseRegexProperty System.Windows.DependencyProperty
WholeWordsProperty System.Windows.DependencyProperty

공개 메소드들

메소드 설명
Attach ( TextArea textArea ) : void

Attaches this SearchPanel to a TextArea instance.

Close ( ) : void

Closes the SearchPanel.

CloseAndRemove ( ) : void

Closes the SearchPanel and removes it.

FindNext ( ) : void

Moves to the next occurrence in the file.

FindPrevious ( ) : void

Moves to the previous occurrence in the file.

OnApplyTemplate ( ) : void
Open ( ) : void

Opens the an existing search panel.

Reactivate ( ) : void

Reactivates the SearchPanel by setting the focus on the search box and selecting all text.

보호된 메소드들

메소드 설명
OnSearchOptionsChanged ( SearchOptionsChangedEventArgs e ) : void

Raises the SearchPanel.SearchOptionsChanged event.

비공개 메소드들

메소드 설명
DoSearch ( bool changeSelection ) : void
MarkerBrushChangedCallback ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void
SearchLayerKeyDown ( object sender, System.Windows.Input.KeyEventArgs e ) : void
SearchPanel ( ) : System
SearchPatternChangedCallback ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void
SetResult ( ICSharpCode.AvalonEdit.Search.SearchResult result ) : void
UpdateSearch ( ) : void
ValidateSearchText ( ) : void
textArea_DocumentChanged ( object sender, EventArgs e ) : void
textArea_Document_TextChanged ( object sender, EventArgs e ) : void

메소드 상세

Attach() 공개 메소드

Attaches this SearchPanel to a TextArea instance.
public Attach ( TextArea textArea ) : void
textArea ICSharpCode.AvalonEdit.Editing.TextArea
리턴 void

Close() 공개 메소드

Closes the SearchPanel.
public Close ( ) : void
리턴 void

CloseAndRemove() 공개 메소드

Closes the SearchPanel and removes it.
public CloseAndRemove ( ) : void
리턴 void

FindNext() 공개 메소드

Moves to the next occurrence in the file.
public FindNext ( ) : void
리턴 void

FindPrevious() 공개 메소드

Moves to the previous occurrence in the file.
public FindPrevious ( ) : void
리턴 void

OnApplyTemplate() 공개 메소드

public OnApplyTemplate ( ) : void
리턴 void

OnSearchOptionsChanged() 보호된 메소드

Raises the SearchPanel.SearchOptionsChanged event.
protected OnSearchOptionsChanged ( SearchOptionsChangedEventArgs e ) : void
e SearchOptionsChangedEventArgs
리턴 void

Open() 공개 메소드

Opens the an existing search panel.
public Open ( ) : void
리턴 void

Reactivate() 공개 메소드

Reactivates the SearchPanel by setting the focus on the search box and selecting all text.
public Reactivate ( ) : void
리턴 void

프로퍼티 상세

LocalizationProperty 공개적으로 정적으로 프로퍼티

Dependency property for Localization.
public static DependencyProperty,System.Windows LocalizationProperty
리턴 System.Windows.DependencyProperty

MarkerBrushProperty 공개적으로 정적으로 프로퍼티

Dependency property for MarkerBrush.
public static DependencyProperty,System.Windows MarkerBrushProperty
리턴 System.Windows.DependencyProperty

MatchCaseProperty 공개적으로 정적으로 프로퍼티

Dependency property for MatchCase.
public static DependencyProperty,System.Windows MatchCaseProperty
리턴 System.Windows.DependencyProperty

SearchPatternProperty 공개적으로 정적으로 프로퍼티

Dependency property for SearchPattern.
public static DependencyProperty,System.Windows SearchPatternProperty
리턴 System.Windows.DependencyProperty

UseRegexProperty 공개적으로 정적으로 프로퍼티

Dependency property for UseRegex.
public static DependencyProperty,System.Windows UseRegexProperty
리턴 System.Windows.DependencyProperty

WholeWordsProperty 공개적으로 정적으로 프로퍼티

Dependency property for WholeWords.
public static DependencyProperty,System.Windows WholeWordsProperty
리턴 System.Windows.DependencyProperty