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.

GridStaticCellRenderer and Selection

Thread ID:

Created:

Updated:

Platform:

Replies:

12123 Mar 22,2004 02:06 PM Mar 22,2004 05:13 PM Windows Forms 1
loading
Tags: GridControl
Administrator [Syncfusion]
Asked On March 22, 2004 02:06 PM

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 05:13 PM

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

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.

;