We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How to resolve the mirror issue in GridCheckBoxColumn when the FlowDirection is changed?

Platform: WPF |
Control: SfDataGrid |
Published Date: May 25, 2015 |
Last Revised Date: December 16, 2015

In WPF, when changing the FlowDirection as RightToLeft, a mirrored image appears for CheckBox control and you can see it displayed here in the following screenshot, with GridCheckBox column in SfDataGrid.

Figure 1: Mirror image of the column

Based on the discussion about this in MSDN forum, you can fix it by changing the default control template of CheckBox and set the FlowDirection to the Path object as LeftToRight as shown in the following code example.

XAML

By setting the default value of the FlowDirection to LeftToRight, you can overcome this issue in the GridCheckBoxColumn of the SfDataGrid.

Figure 2: FlowDirection LeftToRight

Note: This mirror bug in CheckBox appears only in Windows 8 and Windows 8.1 OS.

Sample Link

WPF

ADD COMMENT
You must log in to leave a comment

Please sign in to access our KB

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon