Skip to main content

ProgressBarBrick.Position Property

Gets or sets the current position of the progress bar brick.

Namespace: DevExpress.XtraPrinting

Assembly: DevExpress.Printing.v24.2.Core.dll

Declaration

[DefaultValue(0)]
public int Position { get; set; }

Property Value

Type Default Description
Int32 0

An integer value which represents the current position (0-100).

Remarks

The Position property specifies which percentage of the ProgressBarBrick should be filled with the color specified via the ProgressBarBrick.ForeColor property. Note that the Position property value should be greater than or equal to 0 and less than or equal to 100. So, if the Position property is set to 0, the ProgressBarBrick is entirely filled with the VisualBrick.BackColor. If the Position property is set to 100, the ProgressBarBrick is entirely filled with the ProgressBarBrick.ForeColor.

See Also