how to keep title bar min/max/close buttons to right when arabic language is selected

Sunil A M 171 Reputation points
2023-02-03T09:08:30.9633333+00:00

HI Team,

Its a Winui3 application.

how to keep title bar min/max/close buttons to right side when arabic language is selected.

image

Now i have selected arabic as default language in my system and launched my application. Here Min/Max/Close icons in the title bar is showing in the left side.

We want those min/max/close buttons to be shown in the right side of the title bar always for all the languages.

Note: Min/Max/Close buttons shows on right side of the title bar normally when english language is selected in the system.

Best Regards,

Sunil

Windows App SDK
Windows App SDK
A set of Microsoft open-source libraries, frameworks, components, and tools to be used in apps to access Windows platform functionality on many versions of Windows. Previously known as Project Reunion.
722 questions
0 comments No comments
{count} votes

Accepted answer
  1. Xiaopo Yang - MSFT 11,256 Reputation points Microsoft Vendor
    2023-02-06T02:14:41.41+00:00

    Hello,

    Welcome to Microsoft Q&A!

    You can't.

    As Title bar customization says,

    The system reserves the upper-left or upper-right corner of the app window for the system caption buttons (minimize, maximize/restore, close). The system retains control of the caption button area to guarantee that minimum functionality is provided for dragging, minimizing, maximizing, and closing the window. The system draws the Close button in the upper-right for left-to-right languages and the upper-left for right-to-left languages.

    Thank you.

    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


0 additional answers

Sort by: Most helpful