iGrid.NET WinForms Grid Control v6.0.25
iGrid.NET WinForms Grid Control v6.0.25
iGrid.NET is a versatile WinForms grid control for the Windows Forms platform, which is a part of Microsoft .NET Framework. Software developers use iGrid for WinForms to build highly adjustable tabular interfaces. It is fast, feature-rich and the ideal unbound grid component for WinForms .NET.
Among the main new features of 10Tec WinForms grid you will find:
the print/print-preview and autofilter functionality;
the group box above the column headers area;
header with several rows that allows you to merge column headers vertically and/or horizontally;
frozen, or non-scrollable rows and columns with customizable edges;
new formatting options for cells - vertical text direction, different text trimming options and so on;
full support for right-to-left mode with one boolean RightToLeft property;
highly adjustable scroll bars - you can make them always visible or hidden, they can be semi-transparent or even have additional custom buttons!
Applications with 10Tec WinForms grid component are developed mainly in Microsoft Visual Studio .NET, but the grid can be used in other development environments allowing you to create applications for the .NET Windows Forms package. iGrid.NET works well in all 32-bit and 64-bit versions of Windows with the installed .NET Framework (all client and server editions - Windows XP, Windows Vista, Windows 7, Windows 8 and Windows 10; Windows Server 2003/2008/2012/2016/2019).
10Tec iGrid for WinForms is a first-class VB.NET and C# grid control. The object model of the control and the .NET Framework platform it is built on are ideal for use from VB.NET or C# source code in Microsoft Visual Studio or another IDE supporting these programing languages:
Actually iGrid.NET is a 2-dimensional array of cells. To start using this grid control in VB.NET or C# code, as a rule you define the required columns and rows first. iGrid creates the corresponding cells automatically and you can fill in them with values similar to items in a 2-dimensional array. Below you will see a basic code demonstrating how to create a 3x10 cells grid and populate this grid control in VB.NET:
As you can see, you access any cell by its numeric column and row index using the array syntax of the corresponding language (VB.NET or C#). Every item of the Cells array is an iGCell object representing one cell in the grid control. This cell object has properties like Value to set or read the value of a cell, BackColor to specify or retrieve the background color of the cell and a lot of other properties defining the cell look and behavior.
This VB.NET code defines 3 columns in a grid control named iGrid1. The first column has all properties set to their default values, the header of the second column will display "Column 2", the title and width of the third column will be set to "Column 3" and 125 respectively. The above VB.NET code snippet demonstrates usage of overloaded versions of the same method, which is a native feature of both C# and VB.NET languages.
Similar objects of the 10Tec VB.NET/C# grid control (columns, rows, cells, etc.) are gathered into collections. These collections are designed according to the .NET Framework standards and provide you with traditional methods to work with collection items (Add(), Insert(), RemoveAt(), Clear() and the like), to access them by index or to enumerate them in a For-Each loop available in the VB.NET and C# programming languages. To demonstrate this, let's display row indices in the cells of the first column of a grid control in VB.NET:
iGrid.NET PrintManager is a component that allows you to print and print-preview the iGrid.NET control. This component is available for an extra fee for the users of our WinForms grid.
Using PrintManager, you can:
Print 10Tec WinForms grid control (you can specify a range of pages to be printed).
Show a print preview dialog for iGrid.NET. From this dialog you can specify the pages to be printed, paper size and margins, printer etc.
Specify the page header and footer. The page header and footer are printed at the top and bottom of every page respectively.
Specify the document header and footer. The document header is printed at the top of the first page; the document footer is printed under the last row of iGrid.NET on the last page.
Specify the text (including its font) which is aligned to the left, center, and right of the header or footer.
Specify calculated fields in the header or footer (the current page, the page count).
Specify printing style:
specify whether to print separate in-cell controls (combo, ellipsis, and tree buttons);
separately specify whether to fill up the header, cell, and group row background;
specify whether to use the system styles (Flat, 3D) when printing or use a plain scheme;
Print the group box (either on each page or only on the first one).
Specify the color of the grid lines on the paper.
Print all the groups expanded regardless of their real state.
Specify the order the pages are printed in. It is useful when the page width cannot hold all the columns, and the last columns are printed on another page.
Filter rows to be printed.
Calculate the count of pages needed to print a grid (even before real printing).
Show a page setup dialog which correctly works with metric units (in contrast to native .NET page setup dialog).
Check whether the page margins are within the printable area of a printer.