Content Cell Demo illustrates the flexibilty of grid cells to exhibit different behaviors. You will learn how to make to cell as Static, Header, Progressbar and host the cell as a picturebox to display image
Given below is an image of the sample.
Features:
gridControl1[rowIndex,colIndex].CellType = "Static";
For ProgressBar Cells:
Set cell type to ProgressBar and choose from the various styles offered.
GridStyleInfo style9 = gridControl1[rowIndex, colIndex1]; GridProgressBarInfo progressBarEx9 = style9.ProgressBar; style9.CellType = "ProgressBar";
To set different shades as per progress bar value, the ProgressStyle has to be used.
progressBarEx9.ProgressStyle = Syncfusion.Windows.Forms.Tools.ProgressBarStyles.Gradient;
To set the behavior of ProgressBar, use the Minimum, Maximum, Value, and Step properties.
Set various styles such as "Constant", "Gradient", "MultipleGradient", "Tube", "Image", "System" and "WaitingGradient" through the ProgressStyle property for the Progress bar.