C# Class SilverlightEffects.FadeTrimming.Fader

Show file Open project: samueldjack/FadeTrimming

Public Methods

Method Description
Attach ( ) : void
Detach ( ) : void
Fader ( System.Windows.Controls.TextBlock textBlock ) : System

Private Methods

Method Description
DetermineForegroundColor ( System.Windows.Controls.TextBlock textBlock ) : Color
GetHorizontalClipBrush ( double visibleWidth ) : System.Windows.Media.LinearGradientBrush
GetVerticalClipBrush ( double visibleHeight ) : System.Windows.Media.LinearGradientBrush
UpdateForegroundBrush ( object sender, EventArgs e ) : void

Method Details

Attach() public method

public Attach ( ) : void
return void

Detach() public method

public Detach ( ) : void
return void

Fader() public method

public Fader ( System.Windows.Controls.TextBlock textBlock ) : System
textBlock System.Windows.Controls.TextBlock
return System