Exemplo n.º 1
0
        private void OnFocusRequested(object sender, FocusRequestedEventArgs e)
        {
            switch (e.PropertyName)
            {
            case "NumOfGiftCard":
                NumofTexbox.Focus();
                //NumofTexbox.SelectAll();
                break;

            case "NumberFocus":
                AmountTexbox.Focus();
                //AmountTexbox.SelectAll();
                break;
            }
        }
Exemplo n.º 2
0
        private void OnFocusRequested(object sender, FocusRequestedEventArgs e)
        {
            switch (e.PropertyName)
            {
            case "NumOfGiftCard":
                NumofTexbox.Focus();
                break;

            case "NumberFocus":
                AmountTexbox.Focus();
                break;

            case "ExpireDays":
                txtDays.Focus();
                break;

            case "ExpirationDate":
                dpDate.Focus();
                break;
            }
        }