Interface IProgressBarBuilder
A progress bar, the ProgressBar element of a view file, built in C#.
public interface IProgressBarBuilder : IControlBuilder<IProgressBarBuilder>
- Inherited Members
Methods
BindValue(string)
Binds the value to the view model property propertyName.
IProgressBarBuilder BindValue(string propertyName)
Parameters
propertyNamestring
Returns
WithBorderColor(string)
Sets the color of a border drawn around the whole bar.
IProgressBarBuilder WithBorderColor(string colorHex)
Parameters
colorHexstring
Returns
WithBorderThickness(int)
Sets the border's width in pixels. Has no effect without a border color.
IProgressBarBuilder WithBorderThickness(int thickness)
Parameters
thicknessint
Returns
WithFillColor(string)
Sets the color of the filled part.
IProgressBarBuilder WithFillColor(string colorHex)
Parameters
colorHexstring
Returns
WithFillGradient(string)
Sets a gradient for the filled part, naming a Gradient resource. Drawn in place of the
fill color when both are set.
IProgressBarBuilder WithFillGradient(string gradientId)
Parameters
gradientIdstring
Returns
WithMaximum(float)
Sets the value that fills the bar completely.
IProgressBarBuilder WithMaximum(float maximum)
Parameters
maximumfloat
Returns
WithSize(int, int)
Sets the bar's size in pixels, track included.
IProgressBarBuilder WithSize(int width, int height)
Parameters
Returns
WithTrackColor(string)
Sets the color of the unfilled track behind the bar.
IProgressBarBuilder WithTrackColor(string colorHex)
Parameters
colorHexstring
Returns
WithValue(float)
Sets how far along the bar is, between zero and the maximum.
IProgressBarBuilder WithValue(float value)
Parameters
valuefloat