Skip to main content

WEBfactory 2010

WFToggleButton3

WFToggleButton3 is a toggle button with a vertical switch design, which allows the user to toggle between two predefined value that are written to a selected signal.

Features

The WFToggleButton3 control shares the following common features of the WEBfactory 2010 controls library:

It also provides the following particular features:

Toggling signal writing

The WFToggleButton3 control can be configured to write a predefined value to a predefined signal for it's checked position and a different value for it's unchecked position. The position toggling can be done on a single click (checked position on mouse down and unchecked position on mouse up) or it can have the standard behavior where clicking once toggles the checked position and clicking the second time toggles the unchecked position.

Design-time properties

The WFToggleButton3 control shares the following common design-time properties of the WEBfactory 2010 controls library:

It also exposes the following particular properties in 's Property Inspector:

General properties

In Microsoft Blend and Visual Studio, the following properties can be found under the WEBfactory 2010 - Signals category.

  • IsTipModeEnabled - if enabled, this option allows the user to toggle between the checked and unchecked positions on a single click. On mouse down, the button goes into the checked position, and on mouse up, the button goes back into the unchecked position.

  • UseSynchronizedToggline - if enabled, the control will write the value to the signal only when it has the confirmation that the previous value has been written to the signal. This option ensures that the values are written to the signal in the proper order, even if the toggle button is clicked very fast.

  • Value1 - the value that will be written to the signal (set at SignalName) when the button is in the checked position.

  • Value2 - the value that will be written to the signal (set at SignalName) when the button is in the unchecked position.