C# 클래스 ModernWPF.TextBoxUI

Contains various attached properties for TextBox and PasswordBox using the modern theme.
상속: System.Windows.DependencyObject
파일 보기 프로젝트 열기: soukoku/ModernWPF

공개 프로퍼티들

프로퍼티 타입 설명
LeadingElementProperty System.Windows.DependencyProperty
ShowClearButtonProperty System.Windows.DependencyProperty
TrailingElementProperty System.Windows.DependencyProperty
WatermarkTextProperty System.Windows.DependencyProperty

공개 메소드들

메소드 설명
GetLeadingElement ( DependencyObject obj ) : UIElement

Gets the text box leading element.

GetShowClearButton ( DependencyObject obj ) : bool

Gets the show clear button flag.

GetTrailingElement ( DependencyObject obj ) : UIElement

Gets the text box trailing element.

GetWatermarkText ( DependencyObject obj ) : string

Gets the text box water mark text.

SetLeadingElement ( DependencyObject obj, UIElement value ) : void

Sets the text box leading element.

SetShowClearButton ( DependencyObject obj, bool value ) : void

Sets the show clear button flag.

SetTrailingElement ( DependencyObject obj, UIElement value ) : void

Sets the text box trailing element.

SetWatermarkText ( DependencyObject obj, string value ) : void

Sets the text box water mark text.

비공개 메소드들

메소드 설명
WatermarkChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void
pb_PasswordChanged ( object sender, RoutedEventArgs e ) : void

메소드 상세

GetLeadingElement() 공개 정적인 메소드

Gets the text box leading element.
public static GetLeadingElement ( DependencyObject obj ) : UIElement
obj System.Windows.DependencyObject The object.
리턴 UIElement

GetShowClearButton() 공개 정적인 메소드

Gets the show clear button flag.
public static GetShowClearButton ( DependencyObject obj ) : bool
obj System.Windows.DependencyObject The object.
리턴 bool

GetTrailingElement() 공개 정적인 메소드

Gets the text box trailing element.
public static GetTrailingElement ( DependencyObject obj ) : UIElement
obj System.Windows.DependencyObject The object.
리턴 UIElement

GetWatermarkText() 공개 정적인 메소드

Gets the text box water mark text.
public static GetWatermarkText ( DependencyObject obj ) : string
obj System.Windows.DependencyObject The object.
리턴 string

SetLeadingElement() 공개 정적인 메소드

Sets the text box leading element.
public static SetLeadingElement ( DependencyObject obj, UIElement value ) : void
obj System.Windows.DependencyObject The object.
value UIElement The value.
리턴 void

SetShowClearButton() 공개 정적인 메소드

Sets the show clear button flag.
public static SetShowClearButton ( DependencyObject obj, bool value ) : void
obj System.Windows.DependencyObject The object.
value bool the flag value.
리턴 void

SetTrailingElement() 공개 정적인 메소드

Sets the text box trailing element.
public static SetTrailingElement ( DependencyObject obj, UIElement value ) : void
obj System.Windows.DependencyObject The object.
value UIElement The value.
리턴 void

SetWatermarkText() 공개 정적인 메소드

Sets the text box water mark text.
public static SetWatermarkText ( DependencyObject obj, string value ) : void
obj System.Windows.DependencyObject The object.
value string The value.
리턴 void

프로퍼티 상세

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

The DP on a text box in modern theme that contains a leading element (e.g. a search icon).
public static DependencyProperty,System.Windows LeadingElementProperty
리턴 System.Windows.DependencyProperty

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

The DP flag on whether to show clear text button in a textbox in modern theme.
public static DependencyProperty,System.Windows ShowClearButtonProperty
리턴 System.Windows.DependencyProperty

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

The DP on a text box in modern theme that contains a trailing element (e.g. a search icon).
public static DependencyProperty,System.Windows TrailingElementProperty
리턴 System.Windows.DependencyProperty

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

The DP on a text box in modern theme that shows this watermark when empty.
public static DependencyProperty,System.Windows WatermarkTextProperty
리턴 System.Windows.DependencyProperty