Raises the StateChanging event.

Namespace: Aurigma.GraphicsMill.WinControls
Assembly: Aurigma.GraphicsMill.WinControls (in Aurigma.GraphicsMill.WinControls.dll)

Syntax

Visual Basic

Protected Overridable Function OnStateChanging ( _
	stateType As StateType _
) As Boolean

C#

protected virtual bool OnStateChanging(
	StateType stateType
)

Parameters

stateType

Type: Aurigma.GraphicsMill.WinControls..::.StateType

A StateType value specifying the state the event is raised for.

Return Value

A value from the StateChanging event specifying whether to cancel the state change.