How to unselect.... as a command statement

Feb 23, 2013 at 4:24 PM
I have a buttonstrip and one of the items is

DotSpatial.Controls.FunctionMode.Select

but when features are selected how to quickly unselect them? or unselect everything...?
Feb 23, 2013 at 4:30 PM
Edited Feb 23, 2013 at 4:30 PM
       Dim layerEnvelope As IEnvelope = New Envelope()
       map.MapFrame.ClearSelection(layerEnvelope)
Feb 23, 2013 at 4:53 PM
This works perfect... thx camiza ur king :o)