ReoGrid Forum

Fast and powerful .NET Spreadsheet Component

You are not logged in.

Announcement

This forum has been archived and no longer accepts new user registrations. Please report your questions, problems, and feedback to the issue page of ReoGrid on GitHub. Thank you for your cooperation.

https://github.com/unvell/ReoGrid/issues

#1 2016-03-25 01:53:50

adams_mfsor
Member
Registered: 2015-11-24
Posts: 11

请问如何能让单元格不被选中?

如果可以的话,在WPF版本中是否支持?

Offline

#2 2016-03-25 02:34:49

oops
Moderator
Registered: 2015-11-03
Posts: 54

Re: 请问如何能让单元格不被选中?

可以,取得 BeforeSelectionRangeChange 事件,在某个cell被选中之前设置事件的属性 IsCancelled 可以取消选择操作。

请参考 Demo 工程里的 Features 下的 Selection Control,源文件名:CustomSelectionDemo.cs

WPF也支持。

Offline

#3 2016-03-28 07:32:01

adams_mfsor
Member
Registered: 2015-11-24
Posts: 11

Re: 请问如何能让单元格不被选中?

it works. thanks!

Offline

Board footer

Powered by FluxBB