C# Class FFMS.Marquee

Inheritance: System.Windows.Controls.ContentControl
Show file Open project: kntryer/FFMS Class Usage Examples

Public Properties

Property Type Description
BehaviorProperty System.Windows.DependencyProperty
DirectionProperty System.Windows.DependencyProperty
LoopProperty System.Windows.DependencyProperty
ScrollAmountProperty System.Windows.DependencyProperty
ScrollDelayProperty System.Windows.DependencyProperty

Public Methods

Method Description
OnApplyTemplate ( ) : void

Protected Methods

Method Description
OnRenderSizeChanged ( System.Windows.SizeChangedInfo sizeInfo ) : void

Private Methods

Method Description
DoUpdate ( double horizontalOffset, double verticalOffset, Func boundPredicate, System.Action boundAction ) : void
EnsureVisibility ( double contentWidth, double contentHeight ) : void
Marquee ( ) : System
Marquee_Loaded ( object sender, RoutedEventArgs e ) : void
Marquee_Unloaded ( object sender, RoutedEventArgs e ) : void
OnCoerceLoop ( DependencyObject sender, object value ) : object
OnCoerceScrollAmount ( DependencyObject sender, object value ) : object
OnCoerceScrollDelay ( DependencyObject sender, object value ) : object
OnMarqueeParameterChanged ( DependencyObject sender, System.Windows.DependencyPropertyChangedEventArgs e ) : void
OnUpdateContentPosition ( ) : void
ResetAnimation ( ) : void
Timer_Tick ( object sender, EventArgs e ) : void

Method Details

OnApplyTemplate() public method

public OnApplyTemplate ( ) : void
return void

OnRenderSizeChanged() protected method

protected OnRenderSizeChanged ( System.Windows.SizeChangedInfo sizeInfo ) : void
sizeInfo System.Windows.SizeChangedInfo
return void

Property Details

BehaviorProperty public static property

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

DirectionProperty public static property

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

LoopProperty public static property

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

ScrollAmountProperty public static property

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

ScrollDelayProperty public static property

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