7 votes
Ability to cancel TreeViewItem selection?

Description

 
Is it possible to somehow (through an event handler or some other means) to cancel a TreeViewItem selection (keyboard or mouse) so that the selection will not be completed? That is, the selection will be aborted. Something like a PreUnSelect event that will fire on a TreeViewItem that passes an event argument through which the selection can be cancelled if desired. The need is to restrict the user's navigation in the tree according to program logic. Of course other means will be used to explain to the user why their navigation was not allowed.

If this is not possible I would like to propose it although I know the TreeView is mostly baked at this point. What are the chances?

File Attachments


No files are attached


Comments

most recent at top (show oldest at top)

Updating...
© 2006-2009 Microsoft | About CodePlex | Privacy Statement | Terms of Use | Code of Conduct | Advertise With Us | Version 2009.10.27.15987