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?

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

Article ID: Published Date: Last Revised Date: Platform: Control:
5015 05/25/2015 12/16/2015 WPF SfDataGrid
Did you find this information helpful?
Add Comment
You must log in to leave a comment

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