Version

StateChanged Field

Event which is raised after state of dialog was changed.

Function takes arguments "evt" and "ui".

Use evt to obtain browser event. That parameter can be null if state was modified from codes.

Use ui.owner to obtain reference to igDialog.

Use ui.button to obtain name of button, which triggered event. Note: if state was modified from codes, then "button" is undefined.

Use ui.oldState to obtain old state of dialog, which can be one of following: "opened", "minimized", "maximized", "closed".

Use ui.oldPinned to obtain boolean value of old pin state of dialog.

Use ui.action to obtain name of action. That can be one of the following:

"open" - dialog was opened. Note: event is raised before possible "openAnimation" started.

"close" - dialog was closed. Note: event is raised before possible "closeAnimation" started.

"minimize" - dialog was minimized

"maximize" - dialog was maximized

"restore" - dialog was restored from minimized or maximized state

"pin" - dialog was pinned

"unpin" - dialog was unpinned
Syntax
'Declaration
 
Public Const StateChanged As System.String
public const System.string StateChanged
Requirements

Target Platforms: Windows 8.1, Windows 8.1, Windows 8, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

View on GitHub