ProgressBarExtensions

Wisej.Web.Markup.ProgressBarExtensions

Namespace: Wisej.Web.Markup

Assembly: Wisej.Framework (4.0.0.0)

Provides fluent markup extension methods for configuring properties of the ProgressBar control.

public class ProgressBarExtensions

Methods

BarColor<TProgressBar>(progressBar, color)

Sets the color of the progress bar using a Color structure.

Parameter
Type
Description

TProgressBar

The type of the progress bar.

progressBar

The progress bar to modify.

color

The color to set.

Returns: TProgressBar. The modified progress bar.

BarColor<TProgressBar>(progressBar, color)

Sets the color of the progress bar using a color name.

Parameter
Type
Description

TProgressBar

The type of the progress bar.

progressBar

The progress bar to modify.

color

The name of the color.

Returns: TProgressBar. The modified progress bar.

BarColor<TProgressBar>(progressBar, color)

Sets the color of the progress bar using an ARGB integer.

Parameter
Type
Description

TProgressBar

The type of the progress bar.

progressBar

The progress bar to modify.

color

The ARGB value of the color.

Returns: TProgressBar. The modified progress bar.

BarColor<TProgressBar>(progressBar, r, g, b)

Sets the color of the progress bar using RGB components.

Parameter
Type
Description

TProgressBar

The type of the progress bar.

progressBar

The progress bar to modify.

r

The red component.

g

The green component.

b

The blue component.

Returns: TProgressBar. The modified progress bar.

BorderStyle<TProgressBar>(progressBar, borderStyle)

Sets the border style of the specified progress bar.

Parameter
Type
Description

TProgressBar

The type of the progress bar.

progressBar

The progress bar to modify.

borderStyle

The border style to set.

Returns: TProgressBar. The modified progress bar.

Maximum<TProgressBar>(progressBar, value)

Sets the maximum value of the specified progress bar.

Parameter
Type
Description

TProgressBar

The type of the progress bar.

progressBar

The progress bar to modify.

value

The maximum value for the progress bar.

Returns: TProgressBar. The modified progress bar.

Minimum<TProgressBar>(progressBar, value)

Sets the minimum value of the specified progress bar.

Parameter
Type
Description

TProgressBar

The type of the progress bar.

progressBar

The progress bar to modify.

value

The minimum value for the progress bar.

Returns: TProgressBar. The modified progress bar.

Step<TProgressBar>(progressBar, value)

Sets the step increment value of the specified progress bar.

Parameter
Type
Description

TProgressBar

The type of the progress bar.

progressBar

The progress bar to modify.

value

The step increment value.

Returns: TProgressBar. The modified progress bar.

Value<TProgressBar>(progressBar, value)

Sets the current value of the specified progress bar.

Parameter
Type
Description

TProgressBar

The type of the progress bar.

progressBar

The progress bar to modify.

value

The new value for the progress bar.

Returns: TProgressBar. The modified progress bar.

Last updated

Was this helpful?