We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Refresh

Thread ID:

Created:

Updated:

Platform:

Replies:

25326 Feb 24,2005 02:04 PM UTC Feb 24,2005 03:05 PM UTC Windows Forms 1
loading
Tags: GridControl
Administrator [Syncfusion]
Asked On February 24, 2005 02:04 PM UTC

What is the difference between those events: CellDrawn DrawCellDisplayText QuerryCellInfo Assuming i want to update my columnheader based on conditon, where is the best place to go and why ? Thanks B.S.

Administrator [Syncfusion]
Replied On February 24, 2005 03:05 PM UTC

CellDrawn is raised on a cell by cell basis as the grid paints itself after the grid has finished drawing the cell. This is a good event to use to ''decorate'' individual cells with additional drawing after the grid has done its drawing. DrawCellDisplayText is raised as the grid is drawing a particular cell to give you a chance to handle drawing or setting the text that is displayed in the cell. For example, this is a good place to do special formatting of the text is a ReadOnly grid. It is also used to do GDI text drawing to avoid some of the special antialias features in the GDI+ text drawing. QueryCellInfo is raised anytime the grid needs a cell style (colstyle, rowstyle, tablestyle) for any reason (including drawing). The is event gives you dynamic access that allows you to control the style values if you need this.

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;