This is a migrated thread and some comments may be shown as answers.

How can I get rearranged Tile data

1 Answer 40 Views
TileView
This is a migrated thread and some comments may be shown as answers.
n/a
Top achievements
Rank 1
n/a asked on 24 Apr 2019, 07:55 AM

Hello~

 

Now I am testing TileView.

I followed the sample and succeed to show tiles binding data. but, after I  rearrange tiles , I want to get the reordered data , and then the data is not changed.

           // 1. 현재 뷰모델에 접근하는 방법 1
            var mainViewModel = this.DataContext as MainViewModel;
            ObservableCollection<CControlStep> ss = mainViewModel.Items;

            for (int i = 0; i < ss.Count; i++)
            {
                try
                {
                    MessageBox.Show(((CControlStep)ss[i]).Number.ToString());
                }
                catch { }
            }

 

How can I get the rearranged data from GUI ?

1 Answer, 1 is accepted

Sort by
0
Vladimir Stoyanov
Telerik team
answered on 25 Apr 2019, 04:01 PM
Hello,

Thank you for the provided code snippet.

May I ask you to check out the following thread in our forum: Reflect changed position of tiles back into the ItemsSource collection, where a similar question was discussed and let me know, if it helps?

I am looking forward to your reply.

Regards,
Vladimir Stoyanov
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Tags
TileView
Asked by
n/a
Top achievements
Rank 1
Answers by
Vladimir Stoyanov
Telerik team
Share this question
or