C# Class SilverlightEffects.FadeTrimming

Mostra file Open project: samueldjack/FadeTrimming

Public Properties

Property Type Description
ForegroundColorProperty System.Windows.DependencyProperty
IsEnabledProperty System.Windows.DependencyProperty
ShowTextInToolTipWhenTrimmedProperty System.Windows.DependencyProperty
ToolTipStyleProperty System.Windows.DependencyProperty

Public Methods

Method Description
GetForegroundColor ( DependencyObject obj ) : Color
GetIsEnabled ( DependencyObject obj ) : bool
GetShowTextInToolTipWhenTrimmed ( DependencyObject obj ) : bool
GetToolTipStyle ( DependencyObject obj ) : System.Windows.Style
SetForegroundColor ( DependencyObject obj, Color value ) : void
SetIsEnabled ( DependencyObject obj, bool value ) : void
SetShowTextInToolTipWhenTrimmed ( DependencyObject obj, bool value ) : void
SetToolTipStyle ( DependencyObject obj, System.Windows.Style value ) : void

Private Methods

Method Description
GetFader ( DependencyObject obj ) : Fader
HandleIsEnabledChanged ( DependencyObject source, System.Windows.DependencyPropertyChangedEventArgs e ) : void
HandleTextBlockLoaded ( object sender, RoutedEventArgs e ) : void
HandleTextBlockUnloaded ( object sender, RoutedEventArgs e ) : void
HorizontalBrushNeedsUpdating ( System.Windows.Media.LinearGradientBrush brush, double visibleWidth ) : bool
SetFader ( DependencyObject obj, Fader value ) : void
VerticalBrushNeedsUpdating ( System.Windows.Media.LinearGradientBrush brush, double visibleHeight ) : bool

Method Details

GetForegroundColor() public static method

public static GetForegroundColor ( DependencyObject obj ) : Color
obj System.Windows.DependencyObject
return Color

GetIsEnabled() public static method

public static GetIsEnabled ( DependencyObject obj ) : bool
obj System.Windows.DependencyObject
return bool

GetShowTextInToolTipWhenTrimmed() public static method

public static GetShowTextInToolTipWhenTrimmed ( DependencyObject obj ) : bool
obj System.Windows.DependencyObject
return bool

GetToolTipStyle() public static method

public static GetToolTipStyle ( DependencyObject obj ) : System.Windows.Style
obj System.Windows.DependencyObject
return System.Windows.Style

SetForegroundColor() public static method

public static SetForegroundColor ( DependencyObject obj, Color value ) : void
obj System.Windows.DependencyObject
value Color
return void

SetIsEnabled() public static method

public static SetIsEnabled ( DependencyObject obj, bool value ) : void
obj System.Windows.DependencyObject
value bool
return void

SetShowTextInToolTipWhenTrimmed() public static method

public static SetShowTextInToolTipWhenTrimmed ( DependencyObject obj, bool value ) : void
obj System.Windows.DependencyObject
value bool
return void

SetToolTipStyle() public static method

public static SetToolTipStyle ( DependencyObject obj, System.Windows.Style value ) : void
obj System.Windows.DependencyObject
value System.Windows.Style
return void

Property Details

ForegroundColorProperty public_oe static_oe property

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

IsEnabledProperty public_oe static_oe property

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

ShowTextInToolTipWhenTrimmedProperty public_oe static_oe property

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

ToolTipStyleProperty public_oe static_oe property

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