IBindingValue.AsString

Syntax

AsString: String;

Description

The AsString property determines parameters of value editor as a binding string.

Comments

A binding string is used to determine the editor, which will be used to set values. It contains definitions of editor displaying parameters. Definitions are a pair of parameter name and its value in the string type separated by the = character. Definitions should be separated with the space character.

The first parameter in the binding string is the UI parameter, which determines the control type that is used to set value. The parameter value can be determined in the UI property.

When the AsString property value is obtained, the binding string is generated based on the property values that determine settings of the corresponding editor.

When the AsString property value is set, the specified string is parsed and the corresponding properties that are used to set up value editor are set.

To initialize and set up value editor, one can use the IBindingManager.CreateByUi and IBindingManager.CreateByValue methods.

Example

The examples to get the binding string for various editors are given in description of the following properties:

See also:

IBindingValue