BoldSignEasily embed eSignatures in your .NET applications. Free sandbox with native SDK available.
this.gridDisplay.ActivateCurrentCellBehavior = GridCellActivateAction.SelectAll;
private void gridControl1_CurrentCellControlDoubleClick(object sender, ControlEventArgs e)
{
GridTextBoxControl tb = e.Control as GridTextBoxControl;
if(tb != null)
{
tb.SelectAll();
}
}
private void gridDataBoundGrid1_CurrentCellControlGotFocus(object sender, ControlEventArgs e) { GridCurrentCell cc = this.gridDataBoundGrid1.CurrentCell; GridTextBoxControl tb = cc.Renderer.Control as GridTextBoxControl; if(tb != null) { tb.SelectionStart = tb.Text.Length; tb.SelectionLength = 0; SendKeys.Send("+({HOME})"); } }