C# 클래스 Fluent.KeyTipAdorner

Represents adorner for KeyTips. KeyTipAdorners is chained to produce one from another. Detaching root adorner couses detaching all adorners in the chain
상속: System.Windows.Documents.Adorner
파일 보기 프로젝트 열기: Gainedge/BetterExplorer 1 사용 예제들

공개 메소드들

메소드 설명
Attach ( ) : void

Attaches this adorner to the adorned element

Back ( ) : void
Detach ( ) : void

Detaches this adorner from the adorned element

Forward ( string keys, bool click ) : bool

Forwards to the elements with the given keys

KeyTipAdorner ( UIElement adornedElement, UIElement keyTipElementContainer, KeyTipAdorner parentAdorner ) : System

Construcotor

Terminate ( ) : void

Terminate whole key tip's adorner chain

보호된 메소드들

메소드 설명
ArrangeOverride ( Size finalSize ) : Size

Positions child elements and determines a size for the control

GetVisualChild ( int index ) : Visual

Returns a child at the specified index from a collection of child elements

MeasureOverride ( Size constraint ) : Size

Measures KeyTips

비공개 메소드들

메소드 설명
FilterKeyTips ( ) : void
FindKeyTips ( UIElement element, bool hide ) : void
Forward ( UIElement element ) : void
Forward ( UIElement element, bool click ) : void
GetAdornerLayer ( UIElement element ) : AdornerLayer
GetGroupBox ( DependencyObject element ) : RibbonGroupBox

Gets parent RibbonGroupBox or null

GetTopLevelElement ( UIElement element ) : UIElement
IsElementsStartWith ( string keys ) : bool

Is one of the elements starts with the given chars

IsWithinQuickAccessToolbar ( DependencyObject element ) : bool
IsWithinRibbonToolbarInTwoLine ( DependencyObject element ) : bool
Log ( string format ) : void
OnDelayAttach ( object sender, EventArgs args ) : void
OnFocusLost ( object sender, RoutedEventArgs e ) : void
OnFocusedElementPreviewTextInput ( object sender, System.Windows.Input.TextCompositionEventArgs e ) : void
OnInputActionOccured ( object sender, RoutedEventArgs e ) : void
OnPreviewKeyDown ( object sender, System.Windows.Input.KeyEventArgs e ) : void
OnTimerFocusTrackingTick ( object sender, EventArgs e ) : void
TryGetElement ( string keys ) : UIElement

Gets element keytipped by keys

UpdateKeyTipPositions ( ) : void
WindowProc ( IntPtr hwnd, int msg, IntPtr wParam, IntPtr lParam, bool &handled ) : IntPtr

메소드 상세

ArrangeOverride() 보호된 메소드

Positions child elements and determines a size for the control
protected ArrangeOverride ( Size finalSize ) : Size
finalSize System.Windows.Size The final area within the parent /// that this element should use to arrange /// itself and its children
리턴 System.Windows.Size

Attach() 공개 메소드

Attaches this adorner to the adorned element
public Attach ( ) : void
리턴 void

Back() 공개 메소드

public Back ( ) : void
리턴 void

Detach() 공개 메소드

Detaches this adorner from the adorned element
public Detach ( ) : void
리턴 void

Forward() 공개 메소드

Forwards to the elements with the given keys
public Forward ( string keys, bool click ) : bool
keys string Keys
click bool If true the element will be clicked
리턴 bool

GetVisualChild() 보호된 메소드

Returns a child at the specified index from a collection of child elements
protected GetVisualChild ( int index ) : Visual
index int The zero-based index of the requested child element in the collection
리턴 Visual

KeyTipAdorner() 공개 메소드

Construcotor
public KeyTipAdorner ( UIElement adornedElement, UIElement keyTipElementContainer, KeyTipAdorner parentAdorner ) : System
adornedElement UIElement
keyTipElementContainer UIElement The element which is container for elements
parentAdorner KeyTipAdorner Parent adorner or null
리턴 System

MeasureOverride() 보호된 메소드

Measures KeyTips
protected MeasureOverride ( Size constraint ) : Size
constraint System.Windows.Size The available size that this element can give to child elements.
리턴 System.Windows.Size

Terminate() 공개 메소드

Terminate whole key tip's adorner chain
public Terminate ( ) : void
리턴 void