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. (Last updated on : November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Selections in Renderer

Thread ID:

Created:

Updated:

Platform:

Replies:

23656 Jan 17,2005 03:56 PM UTC Jan 17,2005 04:44 PM UTC WinForms 1
loading
Tags: GridControl
Steven Domingue
Asked On January 17, 2005 03:56 PM UTC

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 04:44 PM UTC

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.

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

;