BindingType Property

Determines how cell values are obtained.
Public Property BindingType As BindingType
public BindingType BindingType {get; set;}

This property defaults to 'UseNameBinding' which looks for a property name on the data item that matches this field's FieldItem.Name property exactly. With this setting if a corresponding property is not found on the data item then this FieldLayout will not match and can not be used for that data item. In this case, if there isn't another FieldLayout available that where all fields, with a BindingType of 'UseNameBinding', match properties on the data item then a new FieldLayout will be generated.

Note: If the AlternateBinding property is set to a binding then this property will be coerced to 'UseAlternateBinding'.


Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, 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