C# 클래스 PoshCode.Controls.PopupMenu

상속: System.Windows.Controls.Primitives.Popup
파일 보기 프로젝트 열기: Jaykul/PoshConsole 1 사용 예제들

공개 메소드들

메소드 설명
PopupMenu ( ConsoleControl console ) : System

보호된 메소드들

메소드 설명
OnClosed ( EventArgs e ) : void

Responds when the value of the P:System.Windows.Controls.Primitives.Popup.IsOpen property changes from to true to false.

OnPreviewKeyDown ( System.Windows.Input.KeyEventArgs e ) : void

Invoked when an unhandled E:System.Windows.Input.Keyboard.PreviewKeyDown attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event.

OnPreviewMouseDown ( System.Windows.Input.MouseButtonEventArgs e ) : void

Invoked when an unhandled E:System.Windows.Input.Mouse.MouseDown attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event.

OnPreviewMouseWheel ( System.Windows.Input.MouseWheelEventArgs e ) : void

Invoked when an unhandled E:System.Windows.Input.Mouse.PreviewMouseWheel attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event.

OnPreviewTextInput ( System.Windows.Input.TextCompositionEventArgs e ) : void

Handles the TextInput event of the popup control 1) to save the key if it's one we consider to toggle the tab-complete 2) to handle typing numbers for the history menu

비공개 메소드들

메소드 설명
ClosedHistory ( object sender, EventArgs ea ) : void

Handles the Closed event of the History popup menu.

ClosedTabComplete ( object sender, EventArgs ea ) : void

Handles the Closed event of the TabComplete popup menu.

IntellisenseSelectionChanged ( object sender, System.Windows.Controls.SelectionChangedEventArgs e ) : void

Intellisenses the selection changed.

IsParentActive ( ) : bool
MoveNext ( ) : void
MovePrevious ( ) : void
ShowHistoryPopup ( Rect placementRectangle, List list ) : void
ShowPopup ( Rect placementRectangle, List text, List items, List toolTips, bool number, bool filterDupes ) : void

Shows the popup.

ShowTabPopup ( Rect placementRectangle, CommandCompletion list, string currentCommand ) : void

Shows the tab-expansion popup.

TypeAheadFilter ( object item ) : bool

Types the ahead filter.

메소드 상세

OnClosed() 보호된 메소드

Responds when the value of the P:System.Windows.Controls.Primitives.Popup.IsOpen property changes from to true to false.
protected OnClosed ( EventArgs e ) : void
e System.EventArgs The event data.
리턴 void

OnPreviewKeyDown() 보호된 메소드

Invoked when an unhandled E:System.Windows.Input.Keyboard.PreviewKeyDown attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event.
protected OnPreviewKeyDown ( System.Windows.Input.KeyEventArgs e ) : void
e System.Windows.Input.KeyEventArgs The that contains the event data.
리턴 void

OnPreviewMouseDown() 보호된 메소드

Invoked when an unhandled E:System.Windows.Input.Mouse.MouseDown attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event.
protected OnPreviewMouseDown ( System.Windows.Input.MouseButtonEventArgs e ) : void
e System.Windows.Input.MouseButtonEventArgs The that contains the event data. This event data reports details about the mouse button that was pressed and the handled state.
리턴 void

OnPreviewMouseWheel() 보호된 메소드

Invoked when an unhandled E:System.Windows.Input.Mouse.PreviewMouseWheel attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event.
protected OnPreviewMouseWheel ( System.Windows.Input.MouseWheelEventArgs e ) : void
e System.Windows.Input.MouseWheelEventArgs The that contains the event data.
리턴 void

OnPreviewTextInput() 보호된 메소드

Handles the TextInput event of the popup control 1) to save the key if it's one we consider to toggle the tab-complete 2) to handle typing numbers for the history menu
protected OnPreviewTextInput ( System.Windows.Input.TextCompositionEventArgs e ) : void
e System.Windows.Input.TextCompositionEventArgs
리턴 void

PopupMenu() 공개 메소드

public PopupMenu ( ConsoleControl console ) : System
console ConsoleControl
리턴 System