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

GridStaticCellRenderer and Selection

Thread ID:





12123 Mar 22,2004 07:06 PM UTC Mar 22,2004 10:13 PM UTC WinForms 1
Tags: GridControl
Administrator [Syncfusion]
Asked On March 22, 2004 07:06 PM UTC

We are using a custom control in a virtual grid using the GridStaticCellRenderer. However we only want to "hottrack" if the row it is in has selection. Is there a way to detect if the currentcell is part of a row that has selection? (I could write a utility but I figured currentCell.IsSelected or something of the like might exist allthough I didnt see anything)

Administrator [Syncfusion]
Replied On March 22, 2004 10:13 PM UTC

To see if the CurrentCell is in a selection, you can try if(this.grid.Selections.Ranges.AnyRangeContains(this.grid.CurrentCell.RangeInfo)) { }


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