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.

Selections in Renderer

Thread ID:

Created:

Updated:

Platform:

Replies:

23656 Jan 17,2005 10:56 AM Jan 17,2005 11:44 AM Windows Forms 1
loading
Tags: GridControl
Steven Domingue
Asked On January 17, 2005 10:56 AM

I have a GridControl that works well with a derivitive of a GridStaticCellRenderer. How do I determine in the renderer whether the cell being drawn is selected or not? Since the detemination is done in the Draw method, this action needs to be fast. Thanks

Administrator [Syncfusion]
Replied On January 17, 2005 11:44 AM

You can try: if(this.Grid.Selections.Ranges.AnyRangeContains(GridRangeInfo.Cell(this.RowIndex, this.ColIndex))) { //.... }

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.

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.

;