C# Class PaulStovell.TrialBalance.UserInterface.Providers.DescriptionProvider

Exibir arquivo Open project: PaulStovell/trial-balance

Public Properties

Property Type Description
DescriptionHorizontalAlignmentProperty System.Windows.DependencyProperty
DescriptionTextProperty System.Windows.DependencyProperty
DescriptionVerticalAlignmentProperty System.Windows.DependencyProperty
HasTextProperty System.Windows.DependencyPropertyKey

Public Methods

Method Description
GetDescriptionHorizontalAlignment ( DependencyObject obj ) : HorizontalAlignment
GetDescriptionText ( DependencyObject obj ) : string
GetDescriptionVerticalAlignment ( DependencyObject obj ) : VerticalAlignment
GetHasText ( DependencyObject o ) : bool
SetDescriptionHorizontalAlignment ( DependencyObject obj, HorizontalAlignment value ) : void
SetDescriptionText ( DependencyObject obj, string value ) : void
SetDescriptionVerticalAlignment ( DependencyObject obj, VerticalAlignment value ) : void

Private Methods

Method Description
DescriptionTextProperty_PropertyChanged ( DependencyObject dependencyObject, System.Windows.DependencyPropertyChangedEventArgs e ) : void
RememberHasText ( TextBox textBox ) : void
TextBox_TextChanged ( object sender, System.Windows.Controls.TextChangedEventArgs e ) : void

Method Details

GetDescriptionHorizontalAlignment() public static method

public static GetDescriptionHorizontalAlignment ( DependencyObject obj ) : HorizontalAlignment
obj System.Windows.DependencyObject
return HorizontalAlignment

GetDescriptionText() public static method

public static GetDescriptionText ( DependencyObject obj ) : string
obj System.Windows.DependencyObject
return string

GetDescriptionVerticalAlignment() public static method

public static GetDescriptionVerticalAlignment ( DependencyObject obj ) : VerticalAlignment
obj System.Windows.DependencyObject
return VerticalAlignment

GetHasText() public static method

public static GetHasText ( DependencyObject o ) : bool
o System.Windows.DependencyObject
return bool

SetDescriptionHorizontalAlignment() public static method

public static SetDescriptionHorizontalAlignment ( DependencyObject obj, HorizontalAlignment value ) : void
obj System.Windows.DependencyObject
value HorizontalAlignment
return void

SetDescriptionText() public static method

public static SetDescriptionText ( DependencyObject obj, string value ) : void
obj System.Windows.DependencyObject
value string
return void

SetDescriptionVerticalAlignment() public static method

public static SetDescriptionVerticalAlignment ( DependencyObject obj, VerticalAlignment value ) : void
obj System.Windows.DependencyObject
value VerticalAlignment
return void

Property Details

DescriptionHorizontalAlignmentProperty public_oe static_oe property

public static DependencyProperty,System.Windows DescriptionHorizontalAlignmentProperty
return System.Windows.DependencyProperty

DescriptionTextProperty public_oe static_oe property

public static DependencyProperty,System.Windows DescriptionTextProperty
return System.Windows.DependencyProperty

DescriptionVerticalAlignmentProperty public_oe static_oe property

public static DependencyProperty,System.Windows DescriptionVerticalAlignmentProperty
return System.Windows.DependencyProperty

HasTextProperty public_oe static_oe property

public static DependencyPropertyKey,System.Windows HasTextProperty
return System.Windows.DependencyPropertyKey