GridOptionsEditForm.Assign(BaseOptions) Method
Copies all settings from the options object passed as a parameter.
Namespace: DevExpress.XtraGrid.Views.Grid
Assembly: DevExpress.XtraGrid.v24.2.dll
Declaration
Parameters
Name | Type | Description |
---|---|---|
options | BaseOptions | The object whose settings are assigned to the current object. |
Remarks
Use an instance of the GridOptionsEditForm class as a parameter of the Assign method to set settings to the current object.
GridOptionsEditForm goef = new GridOptionsEditForm();
goef.EditFormColumnCount = 4;
goef.PopupEditFormWidth = 700;
goef.FormCaptionFormat = "Edit Form";
gridView1.OptionsEditForm.Assign(goef);
See Also