Argument | Description |
---|---|
propertyName | The name of the control property to bind. |
dataSource | An Object representing the data source. |
dataMember | The property or list to bind to. |
formattingEnabled | Determines, whether the displayed data should be formatted. |
updateMode | Data source is updated when the control property is validated (default), or immediately when the property has changed |
nullValue | When the data source has this value, the bound property is set to DBNull. |
formatString | One or more format specifier characters that indicate how a value is to be displayed |
formatInfo | An implementation of IFormatProvider to override default formatting behavior. |
See https://msdn.microsoft.com/en-us/library/ef2xyb33.aspx Databinding only works with properties, never with fields!