Skip to main content

WEBfactory 2010

WFCheckBox1

The WFCheckBox1 button allows the user to write a predefined value for each of its two states: checked or unchecked. It can also provide visual feedback via configurable states, can open template pages and features the complete WEBfactory 2010 security options.

Features

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

It also provides the following particular features:

Toggling signal writing

The WFCheckBox1 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 control can also start (at run-time) in a predefined position, writing the corresponding value to the signal.

The checked and unchecked position toggling can be done on a single click (check on mouse down and uncheck on mouse up) or it can have the standard behavior where clicking once checks the box and clicking the second time unchecks the box.

Remote position controlling

The checked and unchecked positions of the check-box button can be optionally controlled by another signal. This signal can toggle between the button's position, thus writing the values corresponding to each position.

Design-time properties

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

It also exposes the following particular properties in Property Inspector:

General properties

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

  • IsChecked - if enabled, the control starts in the checked position at run-time.

  • 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.

  • 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.

Signals properties

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

  • StateSignalName - allows the user to select a signal which drives the checked and unchecked positions of the control. The control will activate its checked position when the value of this signal is 0 and its unchecked position when the value of this signal is 1.