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.

Get Spreadsheet selected cell and selected range

Thread ID:





104487 Jul 23,2012 11:58 AM Jul 30,2012 07:23 AM WPF 1
Tags: SpreadsheetControl(Classic)
Alex Kent
Asked On July 23, 2012 11:58 AM

Is it possible to get a spreadsheet's selected cell and/or selected range. I cant seem to find a way.


Ponraja A [Syncfusion]
Replied On July 30, 2012 07:23 AM

Hi Alex,
Thanks for using Syncfusion product.
You can get the select cells and selected ranges in the spreadsheet control by using the SelectedCells and SelectedRanges property in GridModel as show in the following code snippet.
var selectedcell = Spreadsheet.GridProperties.ActiveSpreadsheetGrid.Model.SelectedCells;
var selectedrange = Spreadsheet.GridProperties.ActiveSpreadsheetGrid.Model.SelectedRanges;
Please let us know if you have any queries.


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.