BorderCombo.ModeChanged

Syntax

ModeChanged: function (sender, args)

Parameters

sender. Event source.

args. Event information.

Description

The ModeChanged event is fired on changing the displaying mode of the drop-down panel for selecting the border type.

Comments

Switch between modes on clicking the buttons determines in the _mode1Btn and _mode2Btn fields.

Example

To execute the example, the HTML page must contain BorderCombo component named bc (see Example of Creating the BorderCombo Component). Add a handler for the ModeChanged event:

bc.ModeChanged.add(function (sender, args){alert ("Mode was changed")})

After executing the example, changing the border type selection mode  displays the Mode was changed message on the screen.

See also:

BorderCombo