/// <summary> /// Initializes a new instance based on the specified <paramref name="value"/> and <paramref name="editor"/>. /// </summary> /// <param name="value">The value of the control.</param> /// <param name="editor">The editor of the control.</param> public SpaGridControl(object value, SpaGridEditor editor) { Editor = editor; Value = value; }
/// <summary> /// Initializes a new instance based on the specified <paramref name="value"/> and <paramref name="editorAlias"/>. /// </summary> /// <param name="value">The value of the control.</param> /// <param name="editorAlias">The alias of the editor.</param> public SpaGridControl(object value, string editorAlias) { Editor = new SpaGridEditor(editorAlias); Value = value; }