C# 클래스 Solutionizer.Controls.EllipsisTextBox

This is a subclass of TextBox with the ability to show an ellipsis when the Text doesn't fit in the visible area.
상속: System.Windows.Controls.TextBox
파일 보기 프로젝트 열기: thoemmi/Solutionizer

공개 프로퍼티들

프로퍼티 타입 설명
EllipsisPlacementProperty System.Windows.DependencyProperty
IsEllipsisEnabledProperty System.Windows.DependencyProperty
LongTextProperty System.Windows.DependencyProperty
UseLongTextForToolTipProperty System.Windows.DependencyProperty

공개 메소드들

메소드 설명
EllipsisTextBox ( ) : System

보호된 메소드들

메소드 설명
OnGotKeyboardFocus ( System.Windows.Input.KeyboardFocusChangedEventArgs e ) : void
OnLostKeyboardFocus ( System.Windows.Input.KeyboardFocusChangedEventArgs e ) : void
OnTextChanged ( System.Windows.Controls.TextChangedEventArgs e ) : void

비공개 메소드들

메소드 설명
CalcText ( ) : void
EllispsisPlacementChanged ( DependencyObject dependencyObject, System.Windows.DependencyPropertyChangedEventArgs dependencyPropertyChangedEventArgs ) : void
IsEllipsisEnabledChanged ( DependencyObject dependencyObject, System.Windows.DependencyPropertyChangedEventArgs dependencyPropertyChangedEventArgs ) : void
LongTextChanged ( DependencyObject dependencyObject, System.Windows.DependencyPropertyChangedEventArgs dependencyPropertyChangedEventArgs ) : void
PathCompactPathEx ( [ pszOut, string szPath, int cchMax, int dwFlags ) : bool
PrepareForLayout ( ) : void
SetText ( string text ) : void
TextBoxWithEllipsis_LayoutUpdated ( object sender, EventArgs e ) : void
TextBoxWithEllipsis_SizeChanged ( object sender, System.Windows.SizeChangedEventArgs e ) : void
UseLongTextForToolTipChanged ( DependencyObject dependencyObject, System.Windows.DependencyPropertyChangedEventArgs dependencyPropertyChangedEventArgs ) : void

메소드 상세

EllipsisTextBox() 공개 메소드

public EllipsisTextBox ( ) : System
리턴 System

OnGotKeyboardFocus() 보호된 메소드

protected OnGotKeyboardFocus ( System.Windows.Input.KeyboardFocusChangedEventArgs e ) : void
e System.Windows.Input.KeyboardFocusChangedEventArgs
리턴 void

OnLostKeyboardFocus() 보호된 메소드

protected OnLostKeyboardFocus ( System.Windows.Input.KeyboardFocusChangedEventArgs e ) : void
e System.Windows.Input.KeyboardFocusChangedEventArgs
리턴 void

OnTextChanged() 보호된 메소드

protected OnTextChanged ( System.Windows.Controls.TextChangedEventArgs e ) : void
e System.Windows.Controls.TextChangedEventArgs
리턴 void

프로퍼티 상세

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

public static DependencyProperty,System.Windows EllipsisPlacementProperty
리턴 System.Windows.DependencyProperty

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

If true, Text/LongText will be truncated with ellipsis to fit in the visible area of the TextBox (except when it has the focus).
public static DependencyProperty,System.Windows IsEllipsisEnabledProperty
리턴 System.Windows.DependencyProperty

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

public static DependencyProperty,System.Windows LongTextProperty
리턴 System.Windows.DependencyProperty

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

If true, ToolTip will be set to LongText whenever LongText doesn't fit in the visible area. If false, ToolTip will be set to null unless the user sets it to something other than LongText.
public static DependencyProperty,System.Windows UseLongTextForToolTipProperty
리턴 System.Windows.DependencyProperty