EditFormUserControl.GetBoundFieldName(Control) Method
Returns the field name in the data source to which the specified editor is bound.
Namespace: DevExpress.XtraTreeList
Assembly: DevExpress.XtraTreeList.v19.2.dll
Declaration
Parameters
Name | Type | Description |
---|---|---|
c | Control | An object that specifies the editor on a custom Edit Form. |
Returns
Type | Default | Description |
---|---|---|
String | String.Empty | The field name in the data source to which the specified editor is bound. |
Remarks
The EditFormUserControl class implements the IExtenderProvider interface. The GetBoundFieldName method supports the ProvideProperty attribute.
Use the SetBoundFieldName method to bind an editor on the Edit Form to a data source field. Use the SetBoundPropertyName method to set the editor’s property that is bound to the data source field. If the property name is not specified, the data source field is bound to the Control.Text or BaseEdit.EditValue property depending on the editor type.