To deselect the active entry, just pass the special value Off
. When
getting this attribute, it returns the id of the active tree item and Off
in case there is no active entry.
You can also set up a notification on Treeview.Active to get
informed whenever the selection changes. The active tree item's id will be
returned as the TriggerValue
then.