Syncfusion.Windows.Forms.Grid Namespace : GridProgressBarCellRenderer Class

GridProgressBarCellRenderer Class

Implements the renderer part of a progress bar cell.
Object Model
GridProgressBarCellRenderer ClassGridCurrentCell ClassGridStyleInfo ClassGridCellButton ClassIGridDropDownContainer InterfaceIGridDropDownCellImp InterfaceIGridDropDownCellImp InterfaceGridControlBase ClassGridCellModelBase ClassGridStyleInfo Class
Use the GridStyleInfo.ProgressBar (GridProgressBarInfo) property of a GridStyleInfo to change progress bar properties for a cell.

The ProgressBar control has background, border, and foreground styles. The background styles are Syncfusion.Windows.Forms.Tools.ProgressBarAdv.BackgroundStyle. The border styles are Syncfusion.Windows.Forms.Tools.ProgressBarAdv.BorderStyle. The foreground styles are Syncfusion.Windows.Forms.Tools.ProgressBarAdv.ProgressStyle.

The following table lists some characteristics about the ProgressBar cell type:

Item Description
CellType ProgressBar
Renderer GridProgressBarCellRenderer
Model GridProgressBarCellModel
XP Themes Support Yes
Interactive Click Only
Control Syncfusion.Windows.Forms.Tools.ProgressBarAdv
Floating Support No
Base Type GridStaticCellRenderer

The cells behavior and appearance can be customized with the following properties of the GridStyleInfo class:

PropertyName Description
GridStyleInfo.BaseStyle (System.String) The base style for this style instance with default values for properties that are not initialized for this style object. (Default: String.Empty)
GridStyleInfo.Borders (GridBordersInfo) Top, left, bottom, and right border settings. (Default: GridBordersInfo.Default)
GridStyleInfo.CellAppearance (GridCellAppearance) Specifies if cell edges shall be drawn raised, sunken, or flat (default). (Default: GridCellAppearance.Flat)
GridStyleInfo.CellTipText (System.String) ToolTip text to be displayed when user hovers mouse over cell. (Default: String.Empty)
GridStyleInfo.CellType (System.String) ProgressBar (Default: Text Box)
GridStyleInfo.Enabled (System.Boolean) Specifies if the cell can be activated as current cell or if the cell should be skipped when moving the current cell. (Default: True)
GridStyleInfo.Error (System.String) Holds error information if a value could not be converted to the System.Type specified with GridStyleInfo.CellValueType. (Default: String.Empty)
GridStyleInfo.Font (GridFontInfo) The font for drawing text. (Default: GridFontInfo.Default)
GridStyleInfo.Interior (Syncfusion.Drawing.BrushInfo) Lets you specify a solid backColor, gradient, or pattern style with both back and foreColor for a cell's background. (Default: SystemColors.Window)
GridStyleInfo.ProgressBar (GridProgressBarInfo) A nested object with ProgressBar properties for a cell. (Default: GridProgressBarInfo.Default)
GridStyleInfo.ReadOnly (System.Boolean) Specifies if cell contents can be modified by the user. You can programmatically change Read-only cells by setting GridModel.DiscardReadOnly to True. (Default: False)
GridStyleInfo.Themed (System.Boolean) Specifies if cell should be drawn using Windows XP themes when GridControlBase.ThemesEnabled has been set. (Default: True)

Inheritance Hierarchy



Syncfusion.Grid.Windows: 18.2460.0.44

See Also