Xceed Grid for WinForms v4.3 Documentation
CustomUI Sample Application
Welcome to Xceed Grid for WinForms v4.3 > Sample applications > CustomUI Sample Application

Programming languages

VB.NET, C#

Overview

Every grid element can be custom painted, allowing you to fully customize the grid's look and feel. Every element is also overridable, for maximum performance and precise control over border, foreground and background painting.

Demonstrates

  • Custom painting of the various grid elements 

  • How to derive from the ColumnManagerCell class 

  • How to derive from the ColumnManagerRow class 

  • How to derive from the DataCell class 

  • How to derive from the DataRow class 

  • How to derive from the GroupManagerRow class 

  • How to derive from the GroupMargin class to display text 

  • How to override the PaintForeground method to draw the text 

  • How to override the PaintBorders method and Borders properties paint the borders of the margin 

  • How to derive from the TextRow class to display scrolling text 

  • How to derive from the RowSelector class to create a row selector that displays the index of its corresponding data row either in relation to the data row's position in the data source or according to the data rows position in a group
     

How to use

Enable or disable custom painting of the various grid elements displayed in the sample application by checking or unchecking them in the Enable/disable custom painting section.

Project location & filename

C#: Xceed Samples\Xceed Grid for WinForms v#.#\CSharp\CustomUI\Xceed.Grid.Samples.CustomUI.csproj

VB.NET: Xceed Samples\Xceed Grid for WinForms v#.#\Visual Basic .NET\CustomUI\Xceed.Grid.Samples.CustomUI.vbproj