C# 클래스 ICSharpCode.AvalonEdit.CodeCompletion.CompletionWindowBase

Base class for completion windows. Handles positioning the window at the caret.
상속: System.Windows.Window
파일 보기 프로젝트 열기: gilgame/SEWorkbench 1 사용 예제들

Private Properties

프로퍼티 타입 설명
AttachEvents void
CloseIfFocusLost void
CompletionWindowBase System
OnMouseUp void
RaiseEventPair bool
TextAreaDocumentChanged void
TextAreaLostFocus void
TextViewScrollOffsetChanged void
parentWindow_LocationChanged void
textArea_Document_Changing void

공개 메소드들

메소드 설명
CompletionWindowBase ( TextArea textArea ) : System

Creates a new CompletionWindowBase.

보호된 메소드들

메소드 설명
ActivateParentWindow ( ) : void

Activates the parent window.

DetachEvents ( ) : void

Detaches events from the text area.

OnClosed ( EventArgs e ) : void
OnDeactivated ( EventArgs e ) : void
OnKeyDown ( System.Windows.Input.KeyEventArgs e ) : void
OnRenderSizeChanged ( System.Windows.SizeChangedInfo sizeInfo ) : void
OnSourceInitialized ( EventArgs e ) : void
SetPosition ( TextViewPosition position ) : void

Positions the completion window at the specified position.

UpdatePosition ( ) : void

Updates the position of the CompletionWindow based on the parent TextView position and the screen working area. It ensures that the CompletionWindow is completely visible on the screen.

비공개 메소드들

메소드 설명
AttachEvents ( ) : void
CloseIfFocusLost ( ) : void
CompletionWindowBase ( ) : System
OnMouseUp ( object sender, System.Windows.Input.MouseButtonEventArgs e ) : void
RaiseEventPair ( UIElement target, System.Windows.RoutedEvent previewEvent, System.Windows.RoutedEvent @event, RoutedEventArgs args ) : bool
TextAreaDocumentChanged ( object sender, EventArgs e ) : void
TextAreaLostFocus ( object sender, RoutedEventArgs e ) : void
TextViewScrollOffsetChanged ( object sender, EventArgs e ) : void
parentWindow_LocationChanged ( object sender, EventArgs e ) : void
textArea_Document_Changing ( object sender, ICSharpCode.AvalonEdit.Document.DocumentChangeEventArgs e ) : void

메소드 상세

ActivateParentWindow() 보호된 메소드

Activates the parent window.
protected ActivateParentWindow ( ) : void
리턴 void

CompletionWindowBase() 공개 메소드

Creates a new CompletionWindowBase.
public CompletionWindowBase ( TextArea textArea ) : System
textArea ICSharpCode.AvalonEdit.Editing.TextArea
리턴 System

DetachEvents() 보호된 메소드

Detaches events from the text area.
protected DetachEvents ( ) : void
리턴 void

OnClosed() 보호된 메소드

protected OnClosed ( EventArgs e ) : void
e System.EventArgs
리턴 void

OnDeactivated() 보호된 메소드

protected OnDeactivated ( EventArgs e ) : void
e System.EventArgs
리턴 void

OnKeyDown() 보호된 메소드

protected OnKeyDown ( System.Windows.Input.KeyEventArgs e ) : void
e System.Windows.Input.KeyEventArgs
리턴 void

OnRenderSizeChanged() 보호된 메소드

protected OnRenderSizeChanged ( System.Windows.SizeChangedInfo sizeInfo ) : void
sizeInfo System.Windows.SizeChangedInfo
리턴 void

OnSourceInitialized() 보호된 메소드

protected OnSourceInitialized ( EventArgs e ) : void
e System.EventArgs
리턴 void

SetPosition() 보호된 메소드

Positions the completion window at the specified position.
protected SetPosition ( TextViewPosition position ) : void
position TextViewPosition
리턴 void

UpdatePosition() 보호된 메소드

Updates the position of the CompletionWindow based on the parent TextView position and the screen working area. It ensures that the CompletionWindow is completely visible on the screen.
protected UpdatePosition ( ) : void
리턴 void