wpf ComboBox RightToLeft error

khaled collo 21 Reputation points
2020-08-05T17:19:36.567+00:00

ComboBox not showing initial selected item when FlowDirection=RightToLeft

If ComboBox in start with LTR mode we have

Capture.PNG
And if switching to RTL in runtime we have

Capture.PNG
If ComboBox in start with RTL mode we have

Ca0pture.PNG
And if switching to LTR in runtime we have

Capt0ure.PNG

Developer technologies Windows Presentation Foundation
0 comments No comments
{count} votes

Accepted answer
  1. DaisyTian-1203 11,646 Reputation points
    2020-08-06T02:19:41.453+00:00

    There is my demo which show show the data without the influence of LTR/RTL mode.
    Here is the code:
    15934-capture.png

    It runs as below picture show:
    15982-3.gif

    This is my demo code for you to test.

    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. هاني فرج 1 Reputation point
    2022-05-30T12:08:11.863+00:00

    you are right

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.