public override Control CreateEditorControl() { TextBoxTypedNumeric l_Control = new TextBoxTypedNumeric(); l_Control.BorderStyle = BorderStyle.None; l_Control.AutoSize = false; return(l_Control); }
/// <summary> /// Start editing the cell passed. Do not call this method for start editing a cell, you must use Cell.StartEdit. /// </summary> /// <param name="p_Cell">Cell to start edit</param> /// <param name="position">Editing position(Row/Col)</param> /// <param name="p_StartEditValue">Can be null(in this case use the p_cell.Value</param> public override void InternalStartEdit(Cells.ICellVirtual p_Cell, Position position, object p_StartEditValue) { ValidCharacters = TextBoxTypedNumeric.CreateNumericValidChars(CultureInfo, numericCharStyle); InvalidCharacters = null; base.InternalStartEdit(p_Cell, position, p_StartEditValue); }