C# Class YALV.Common.BusyIndicatorBehavior

Refs: http://gallery.expression.microsoft.com/en-us/BusyIndicator
Show file Open project: LukePet/YALV

Public Properties

Property Type Description
AddMarginsProperty System.Windows.DependencyProperty
BusyStateProperty System.Windows.DependencyProperty
DimBackgroundProperty System.Windows.DependencyProperty
DimTransitionDurationProperty System.Windows.DependencyProperty
DimmerBrushProperty System.Windows.DependencyProperty
DimmerOpacityProperty System.Windows.DependencyProperty
FRAMERATE int?
TargetVisualProperty System.Windows.DependencyProperty

Public Methods

Method Description
GetAddMargins ( DependencyObject obj ) : bool
GetBusyState ( DependencyObject obj ) : bool
GetDimBackground ( DependencyObject obj ) : bool
GetDimTransitionDuration ( DependencyObject obj ) : Duration
GetDimmerBrush ( DependencyObject obj ) : System.Windows.Media.Brush
GetDimmerOpacity ( DependencyObject obj ) : double
GetTargetVisual ( DependencyObject obj ) : UIElement
SetAddMargins ( DependencyObject obj, bool value ) : void
SetBusyState ( DependencyObject obj, bool value ) : void
SetDimBackground ( DependencyObject obj, bool value ) : void
SetDimTransitionDuration ( DependencyObject obj, Duration value ) : void
SetDimmerBrush ( DependencyObject obj, System.Windows.Media.Brush value ) : void
SetDimmerOpacity ( DependencyObject obj, double value ) : void
SetTargetVisual ( DependencyObject obj, UIElement value ) : void

Private Methods

Method Description
OnBusyStateChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void
OnDimBackgroundChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void
OnFadeOutAnimationCompleted ( DependencyObject d, System.Windows.Controls.Panel hostGrid, UIElement busyIndicator ) : void
OnPreProcessInput ( object sender, System.Windows.Input.PreProcessInputEventArgs e ) : void

Method Details

GetAddMargins() public static method

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

GetBusyState() public static method

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

GetDimBackground() public static method

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

GetDimTransitionDuration() public static method

public static GetDimTransitionDuration ( DependencyObject obj ) : Duration
obj System.Windows.DependencyObject
return Duration

GetDimmerBrush() public static method

public static GetDimmerBrush ( DependencyObject obj ) : System.Windows.Media.Brush
obj System.Windows.DependencyObject
return System.Windows.Media.Brush

GetDimmerOpacity() public static method

public static GetDimmerOpacity ( DependencyObject obj ) : double
obj System.Windows.DependencyObject
return double

GetTargetVisual() public static method

public static GetTargetVisual ( DependencyObject obj ) : UIElement
obj System.Windows.DependencyObject
return UIElement

SetAddMargins() public static method

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

SetBusyState() public static method

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

SetDimBackground() public static method

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

SetDimTransitionDuration() public static method

public static SetDimTransitionDuration ( DependencyObject obj, Duration value ) : void
obj System.Windows.DependencyObject
value Duration
return void

SetDimmerBrush() public static method

public static SetDimmerBrush ( DependencyObject obj, System.Windows.Media.Brush value ) : void
obj System.Windows.DependencyObject
value System.Windows.Media.Brush
return void

SetDimmerOpacity() public static method

public static SetDimmerOpacity ( DependencyObject obj, double value ) : void
obj System.Windows.DependencyObject
value double
return void

SetTargetVisual() public static method

public static SetTargetVisual ( DependencyObject obj, UIElement value ) : void
obj System.Windows.DependencyObject
value UIElement
return void

Property Details

AddMarginsProperty public static property

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

BusyStateProperty public static property

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

DimBackgroundProperty public static property

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

DimTransitionDurationProperty public static property

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

DimmerBrushProperty public static property

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

DimmerOpacityProperty public static property

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

FRAMERATE public static property

Default animation framerate
public static int? FRAMERATE
return int?

TargetVisualProperty public static property

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