C# Grid Image Column
The Kettic Data Grid Control uses the Data Grid Column objects to represent columns. The Kettic Data Grid Column is the base class of all types of grid columns, including the Grid Image Column. The Grid Image Column descends all features of the Kettic Data Grid Column parent class. So the Grid Image Column shares all properties of Data Grid Control class and provides styling and C# events for building entire gird Image column in Windows Forms C# applications.
Generate Grid Image Column in C#
The Kettic Grid Image Column is able to display the read only images for database columns of image data. The Grid Image Column support image formats that the .net framework supports. To add the grid image column to Data Grid Control in C# projects, we can use the C# code snippet below.
Sizing Image Column in C#
The Kettic Grid Image Column offers the implementation of sizing the column to display images. This is achieved by configuring the property, Image Layout, whose valid value includes None, Tile, Center, Stretch, and Zoom. The following samples show how to size the image column in C# code. Set Image Column to None in C#
The None value will place the image at upper left corner of the cell in column and can be used together with the Image Alignment property to set the place of an image in a cell.
Set Image Column to Tile in C#
The Tile value will repeat the image in cells in the column.
Set Image Column to Center in C#
The Center value will place the image at center in a cell in the column.
Set Image Column to Stretch in C#
The Stretch value will stretch the image in the cell in grid column.
Set Image Column to Zoom in C#
The Zoom value is able to zoom image in the cell with preserved ratio
|
UI Controlsfor Windows Forms .NET WinForms UI Overview.NET WinForms UI Features.NET WinForms UI GuideC# WinForms UI DesignVB.NET WinForms UI DesignWinForms UI Controls WinForms Buttons UI Control WinForms Calendar UI ControlWinForms Carousel UI ControlWinForms Chart UI ControlWinForms Clock UI ControlCommandBar UI ControlWinForms Dock UI ControlDesktop Alert UI ControlDropDown List UI ControlWinForms Editor UI ControlForms and Dialogs UI ControlWinForms GridView UI ControlGridView - Get Started in C#GridView - PropertiesGridView - ColumnColumn - TypesData ColumnBrowse ColumnCalculator ColumnCheckBox ColumnColor ColumnComboBox ColumnCommand ColumnDataTime ColumnDecimal ColumnHyperLink ColumnImage ColumnMaskBox ColumnMultiComboBox ColumnTextBox ColumnColumn - Generating ColumnsAccess & Iterate through ColumnsColumn - ReorderColumn - ResizeColumn - Pin & UnpinColumn - Column ChooserColumn - Data FormattingColumn - Convert Data TypesGridView - RowGridView - CellsGridView - EditorsGridView - Context MenuGridView - Populating with DataGridView - Hierarchical GridGridView - SelectionGridView - ScrollingGridView - SortingGridView - GroupingGridView - FilteringGridView - Expression EditorInsert/ Update/ Delete RecordsGridView - View DefinitionGridView - Exporting DataStyling and AppearanceGridView - LocalizationSave and Load LayoutGridView - Print SupportWinForms ListView UI ControlWinForms Menu UI ControlWinForms ComboBox UI ControlWinForms PageView UI ControlPanels and Labels UI ControlWinForms Panorama UI ControlWinForms PDFViewer UI ControlWinForms Property Grid UI ControlWinForms Ribbon UI ControlWinForms PivotGrid UI ControlWinForms RichTextBox UI ControlWinForms Rotator UI ControlWinForms Scheduler UI ControlWinForms Shortcuts UI ControlWinForms SpellChecker UI ControlWinForms Track & Status UI ControlWinForms TreeView UI ControlWinForms Wizard UI ControlWinForms Test UI ControlWinForms Theme UI Control |