Feature Summary in Windows Forms Grid Control (GridControl)

10 Jun 20214 minutes to read

Grid control is a powerful control that is implemented by using a unique Styles Architecture. This grid control is similar to Microsoft Excel, and allows detailed customization of control down to the cell level. Multi-level Undo/Redo, shared scroll bar support, data/view separation, floating cells, more than 18 cell types and unmatched extensibility are unique features of the Grid control.

feature summary in WinForms GridControl

Cell Attributes

Cell attributes are properties that affect the appearance and behavior of grid cells. They include features like font used in the cell or the color of the cell. Following table lists the cell attributes.

FEATURE

DESCRIPTION

Cell TextAlignment Controls horizontal and vertical alignment.
AutoSize Automatically increases cell height.
PictureDisplay Displays picture within a cell.
CustomizeBorders Changes the appearance of grid borders.
Cell Appearances Controls cell edges (raised, flat, sunken).
Cell TipText Adds ToolTips to cells and scroll bars.
Cell AllowEnterMode Allows enter mode during edit.
Cell TextColor Changes color of the text on a cell-by-cell basis.
Cell ImageList Enables each cell to maintain a list of images.
Cell BaseStyle Contains cells that depend on the same base style.
Cell Types Specifies different control types for each cell.
Cell InteriorColor Specifies a back color or gradient or pattern style.
Cell ChoiceList Provides multiple choices as a single list.
CharacterCasing Modifies the case of characters as it is typed.
Control Contains custom control associated with a cell.
CultureInfo Holds culture information rules.
CurrencyEdit Holds currency text box properties for a cell.
DataSource Assigns data source on cell-by-cell basis.
DropDownStyle Contains a drop-down list within a cell.
FloatCell Controls text that floats into a neighboring cell.
FloodCell Allows flooding from a previous cell.
Font Sets the font for drawing text.
Format Control the format of the text within a cell.
FormulaTag Associates formula tag with a cell.
HotKey Prefix Controls display of hot-key prefixes.
MaskedEdit Controls masked edit properties for a cell.
MergeCell Merges cells with same data into single cell.
Cell TextOrientation Controls the angle at which the cell text is rendered.
Read-Only Protects a cell from being edited.
Size Controls the size of the text within a cell.
ShowButtons Controls the display of cell buttons.
StrictValueType Controls exception behavior parsing text.
Tag Associates a custom tag with a cell.

The following path helps you implement the appearance of Grid Window: {Installed Drive}\Users{User}\AppData\Location\Syncfusion\EssentialStudio[Version Number]\Windows\Grid.Windows\Samples\Appearance

The following path holds the Dashboard sample where Cell Style properties are implemented: Install Location\Syncfusion\EssentialStudio[Version Number]\Windows\Grid.Windows\Samples\Appearance\Cell Customization Demo\

Cell Types

Each cell may contain specialized control such as Text Box, Check Box, or Combo Box, and this attribute of the cell is referred to as its Cell Type. Following table lists all the default cell types.

FEATURE

DESCRIPTION

Static Cell Cannot be edited.
Custom Cell Allows custom integration.
Formula Cell Allows entries of algebraic formulas.
Currency Cell Displays currency type formats.
NumericUpDown Allows increase/decrease of numeric value.
ComboBox Implements standard combo box interface.
MaskedEdit Allows users to input masks to control validation.
RichText Cell Allows users to display and edit Rich Text.
WebBrowser Cell Display a web browser.
ColorPicker Allows the user to interactively select a color.
Grid Drop-Down Allows drop-down grids in any mode.
HeaderText Hosts a Header cell type.
CheckBox Implements a check box.
PushButton Implements a push button control.
MonthCalendar Display a drop-down month calendar.
Password Cell Accepts entries without displaying text.
ProgressBar Cell Displays Progress Bars.
Slider Cell Displays Slider Controls.
XHTML Cell Displays XHTML formatted text.

Data Binding

Essential Grid comes with control to meet user requirements such as a grid that is bound to an ADO.NET data source, a grid that is virtually bound to the arbitrary collections, or a grid that maintains its own data storage. Following table lists the Data Binding features supported by the Grid control.

FEATURE

DESCRIPTION

ADO.NET Supports a whole range of flexible data binding.
Virtual Mode Loads data in a virtual manner.
Unbound Mode Connects to an unbound data source.
RecordNavigationBar Scrolls through the records in the table.
SplitViews Splits the display of data bound grid.
DraggingColumns Rearranges the order of columns by using drag-and-drop operation.
CustomCollections Binds to any collection that derives from the IList interface.
Multiple Rows per Record Contains multiple rows per record.
Formatting Cells Formats a cell depending on its value.
Images from Database Displays pictures inside cells.
DateTime/Boolean types Chooses to have Boolean and DateTime.
Sorting Sorts the table alphabetically by values.
FilterBar Filters the grid by items.
Drop-Down Lists Displays a foreign key table in a drop-down.

Microsoft Office Simulation

Essential Grid supports Microsoft Office features like dynamic splitters and undo/redo. Following table lists the available features.

FEATURE

DESCRIPTION

Accelerated Scrolling Accelerates scrolling.
Shared Scrollbars Shares scroll bars with other windows.
Access Emulation Scrolls through records.
ScrollTips/ThumbTrack Displays scroll tips when the user performs the drag-and-drop operation.
Multilevel Undo/Redo Allows multilevel undo/redo.
IntelliMouse Scrolling Supports intelli point mouse scrolling.
Excel-like Behavior Has excel-like behavior with full features.
Workbook and Sheets Has a tabbed workbook format.

Functionalities

Essential Grid offers support for many functionalities such as OLE drag-and-drop, and resizing of rows and columns through property settings and special event handlers. Following table lists such features.

FEATURE

DESCRIPTION

PropertyGrid Integration Sets properties with standard property grid.
Alpha-Blending Blends background image.
Supports XP Themes Supports XP Themes.
Automatic Column Sizing Auto resizes column to hold content.
Reusable Grid Layouts Saves and loads grid layouts.
Excel-like Splits Splits rows/columns similar to Excel.
Fixed Non-Scrolling Rows Fixes or freezes multiple rows.
Fixed Columns Fixes or freezes multiple columns.
Hierarchical Views View data in a hierarchical way.
Worksheet Support Has multiple worksheets.
Master/Detail Shows Master/Detail relationships.
MultiRow Per Record Has one record in multiple rows.
HideRow/Column Hides rows/columns.
Column Styles Applies styles to entire columns.
Multi-line Column Header Has multiline column headers.
Select Multiple Blocks Selects multiple blocks of cells.
Selection Modes Determines how users should select items.
Reusable Styles Creates shared styles.
Selection Styles Customizes the selection colors.
InsertRows/Columns Inserts rows and columns at run time.
DeleteRows/Columns Deletes rows and columns at run time.
MoveRows/Columns Moves rows and columns.
Clear Data Clears data from the cells, rows, and columns.
Keyboard interface Provides extensive support for proper keyboard handling.
Sorting Sorts data displayed in the grid.
Filtering Filters data based on criteria.
Search Finds data in the grid.
Printing Prints the grid.
Print Preview Previews the grid.
In-cell Formulas Support Does advanced cell/ formula referencing.
Clipboard Support Full clipboard support.
Resize Columns/Rows Allows/prevents users from resizing columns/rows.
Drag-and-Drop Features Drags cells, columns, or rows.
OLE Drag-and-Drop Full OLE drag-and-drop support.
Mouse Operations Changes the appearance of the mouse pointer.

General

Other features include Excel Export and versioned Serialization support. Following table lists the features.

FEATURE

DESCRIPTION

Document/View Easily implements multiple views.
Dynamic Splitters Uses grid inside a dynamic splitter control.
Export to Excel BIFF 8 Exports grid content to Excel with formatting.
100% Managed Code Written in 100% managed code.
Tab Behavior Controls response selection of the tab.
Full Keyboard Support Provides expected behavior for standard keys.
Serialization Has versioned serialization of grid data.
GridAwareTextBox Edits current cell outside the grid.