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. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Selections in Renderer

Thread ID:





23656 Jan 17,2005 03:56 PM UTC Jan 17,2005 04:44 PM UTC WinForms 1
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))) { //.... }


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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

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

Live Chat Icon For mobile
Live Chat Icon