Class AbstractProgressBarExtensions
Namespace: Aspid.FastTools.UIElements
Assembly: Aspid.FastTools.dll
Provides extension methods for AbstractProgressBar.
public static class AbstractProgressBarExtensions
Inheritance
object ← AbstractProgressBarExtensions
Methods
SetHighValue<T>(T, float)
Sets the maximum value of the ProgressBar.
public static T SetHighValue<T>(this T element, float value) where T : AbstractProgressBar
Parameters
element T
The element to modify.
value float
The maximum value to set.
Returns
T
The element, for chaining.
Type Parameters
T
The element type.
SetLowValue<T>(T, float)
Sets the minimum value of the ProgressBar.
public static T SetLowValue<T>(this T element, float value) where T : AbstractProgressBar
Parameters
element T
The element to modify.
value float
The minimum value to set.
Returns
T
The element, for chaining.
Type Parameters
T
The element type.
SetTitle<T>(T, string)
Sets the title of the ProgressBar that displays in the center of the control.
public static T SetTitle<T>(this T element, string value) where T : AbstractProgressBar
Parameters
element T
The element to modify.
value string
The title text to set.
Returns
T
The element, for chaining.
Type Parameters
T
The element type.
SetValue<T>(T, float)
Sets the current value of the progress bar via value.
public static T SetValue<T>(this T element, float value) where T : AbstractProgressBar
Parameters
element T
The element to modify.
value float
The value to set.
Returns
T
The element, for chaining.
Type Parameters
T
The element type.