Articles in this section

How to enable WaitingGradientEnabled property in ProgressBar cell of WinForms GridControl?

GridProgressBar


By default, the WinForms GridControl does not have direct API support to set the value for the WaitingGradientEnabled property of the ProgressBar cell. To achieve this, get the GridProgressBar control from the grid and set the WaitingGradientEnabled property.

//Button click customization
private void setProgressBar_Click_1(object sender, EventArgs e)
{
    foreach (Control c in this.gridControl1.Controls)
    {
        if (c is GridProgressBar)
        {
            GridProgressBar control = c as GridProgressBar;

            //To set the value to enable waiting gradient.
            control.WaitingGradientEnabled = true;
        }
    }
}

Sample: WaitingGradientEnabled property

Did you find this information helpful?
Yes
No
Help us improve this page
Please provide feedback or comments
Comments (0)
Access denied
Access denied