Checkboxs in filter screen not display properly

2 posts, 0 answers
  1. Oved
    Oved avatar
    4 posts
    Member since:
    May 2011

    Posted 11 Oct 2011 Link to this post

    In the App II use Grid as RootVisual and set its Direction to "RTL":
    RootVisual = new Grid();
    RootVisual.FlowDirection = FlowDirection.RightToLeft;

    In the grid I placed GridView. 
    When I tried to use the filter I saw the the checkbox mark in not dispay properly. See attatched screenshot 

    Do you have any solution?
  2. Vanya Pavlova
    Admin
    Vanya Pavlova avatar
    2019 posts

    Posted 12 Oct 2011 Link to this post

    Hello Oved,

    Since the FlowDirection of the CheckBox is set to RightToLeft the check path is reversed indeed. 
    You may see the same behavior with a single CheckBox with the following settings:

    <CheckBox Content="RigthToLeft" HorizontalAlignment="Center" IsChecked="True" FlowDirection="RightToLeft" telerik:StyleManager.Theme="Office_Black" VerticalAlignment="Center"/>


    If you want to override this behavior in RadGridView's FilteringControl you may predefine its template and harcode the FlowDirection of the CheckBox in the LIstBox, which holds the DistinctValues. 
    I am attaching you sample project and a picture which demonstrates this approach. 




    All the best,
    Vanya Pavlova
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Back to Top