C# Class Orc.Wizard.ProgressBarExtensions

Datei anzeigen Open project: WildGums/Orc.Wizard

Public Properties

Property Type Description
SmoothProgressProperty System.Windows.DependencyProperty

Public Methods

Method Description
GetSmoothProgress ( FrameworkElement target ) : double
SetSmoothProgressOffset ( FrameworkElement target, double value ) : void
UpdateProgress ( this progressBar, int currentItem, int totalItems ) : void

Private Methods

Method Description
OnSmoothProgressChanged ( DependencyObject target, System.Windows.DependencyPropertyChangedEventArgs e ) : void

Method Details

GetSmoothProgress() public static method

public static GetSmoothProgress ( FrameworkElement target ) : double
target System.Windows.FrameworkElement
return double

SetSmoothProgressOffset() public static method

public static SetSmoothProgressOffset ( FrameworkElement target, double value ) : void
target System.Windows.FrameworkElement
value double
return void

UpdateProgress() public static method

public static UpdateProgress ( this progressBar, int currentItem, int totalItems ) : void
progressBar this
currentItem int
totalItems int
return void

Property Details

SmoothProgressProperty public_oe static_oe property

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