Fires when the item state is about to be changed.
Namespace:
Aurigma.GraphicsMill.WinControls
Assembly:
Aurigma.GraphicsMill.WinControls (in Aurigma.GraphicsMill.WinControls.dll)
Public Event StateChanging As StateChangingEventHandler
public event StateChangingEventHandler StateChanging
Item state is defined by several properties: Checked, Focused, and Selected. This event is raised whenever some of these properties are about to be modified.
Main intent of this property is a possibility to disallow changing an item state. For example, if you do not want to allow the user to check some items (e.g. if they are too large), you should handle this event and set the Cancel argument to true for those items.