Current filter:
                                You should refresh the page.
                                  • Dear all,

                                    the 'Conditional to switch' does appear for following case:

                                    [C#]
                                    if (e.Key == Key.Delete || e.Key == Key.Space || e.Key == Key.Back) { SelectedIndex = 0; e.Handled = true; return; } else if(e.Key == Key.Home) { }

                                    But the quick action does not appear for a simple if-statement with multiple or operators:

                                    [C#]
                                    if (e.Key == Key.Delete || e.Key == Key.Space || e.Key == Key.Back) { SelectedIndex = 0; e.Handled = true; return; }

                                    Is it possible to get the quick action also for the second case?

                                    best regards,
                                      Dominik

                                • Pavel A (DevExpress) 06.22.2017

                                  Hello Dominik,

                                  Thank you for providing the code sample.

                                  We have reproduced this behavior and agree that "Conditional to Switch" should be available in this case.

                                  So, we will fix this and notify you as soon as we make any progress.

                                1 Solution

                                Creation Date Importance Sort by

                                Fixed: