Welcome to the Xceed Community Sign in | Join | Help
Community Search  

Re: seamless input from InsertionRow

  •  04-25-2008, 5:55 PM

    Re: seamless input from InsertionRow

    You could derive from InsertionRow and override OnPreviewKeyDown like this:

        protected override void OnPreviewKeyDown( KeyEventArgs e )
        {
          base.OnPreviewKeyDown( e );

          if( e.Key == Key.Enter  )
          {       
            this.Cells[ 0 ].BeginEdit();   
          }
        }

     


    Technical Writer - Xceed Software

    Of all the things I've lost, I miss my mind the most. - Mark Twain
    Filed under:
View Complete Thread
Contact | Site Map | Reviews | Legal Terms of Use | Trademarks | Privacy Statement Copyright 2008 Xceed Software Inc.