C# Класс ICSharpCode.AvalonEdit.CodeCompletion.CompletionWindowBase

Base class for completion windows. Handles positioning the window at the caret.
Наследование: System.Windows.Window
Показать файл Открыть проект Примеры использования класса

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