How can I do for my Items inside a ListView start at the right to left?

2 posts, 0 answers
  1. Adriano
    Adriano avatar
    2 posts
    Member since:
    May 2019

    Posted 09 Jun 2019 Link to this post

    I want make my Items inside a ListView going right to left.
    At the moment I have default settings:

    ![Image](https://i.imgur.com/NDE3Y8c.png)

    As you can see I have a hole in the right and I want to reverse this, put a hole in the left.
    Hope you understand the problem.

    ```
     <telerikDataControls:RadListView ItemsSource="{Binding CatalogSizes, Source={x:Reference ExtendedContentView}}" >
        <telerikDataControls:RadListView.ItemTemplate>
            <DataTemplate>
                <listView:ListViewTemplateCell>
                    <listView:ListViewTemplateCell.View>
                        <Frame Padding="0" CornerRadius="3.5" BackgroundColor="{Binding IsEnabled, Converter={StaticResource Batata}, ConverterParameter={x:Reference Name=MainColorGrid}}">
                            <Label Text="{Binding Quantity}" FontAttributes="Bold" HorizontalTextAlignment="Center" VerticalTextAlignment="Center"/>
                         </Frame>
                     </listView:ListViewTemplateCell.View>
                 </listView:ListViewTemplateCell>
              </DataTemplate>
          </telerikDataControls:RadListView.ItemTemplate>
          <telerikDataControls:RadListView.LayoutDefinition>
              <listView:ListViewGridLayout SpanCount="3" HorizontalItemSpacing="3" />
           </telerikDataControls:RadListView.LayoutDefinition>
    </telerikDataControls:RadListView>
    ```
  2. Didi
    Admin
    Didi avatar
    356 posts

    Posted 10 Jun 2019 Link to this post

    Hi Adriano,

    Thank you for the provided code.

    You could positioned the items in right to left direction if the device language and culture is right to left. 

    I hope the provided information was helpful.

    Regards,
    Didi
    Progress Telerik
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Back to Top