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

Problem with panes order for RadDocking control

1 Answer 35 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Nazar
Top achievements
Rank 1
Nazar asked on 29 May 2018, 09:06 AM

Hi,

I have the following definition of the control:
< :RadDocking PanesSource="{Binding panes}"...

Panes have  of items which order is different than in the UI. I need to get the first pane in order to mark it in code as selected. How can I do it?

1 Answer, 1 is accepted

Sort by
0
Dilyan Traykov
Telerik team
answered on 31 May 2018, 02:56 PM
Hello Nazar,

If I understood your requirement correctly, you can use an approach similar to the one demonstrated in the Visual Studio Implementation with MVVM demo from our SDK Samples Browser and bind the IsActive property of each pane to a boolean property of your business objects. You can then set this property when initializing your panes collection for the first pane.
 
Please let me know if this is what you had in mind, or if I have misunderstood your requirement. If the latter is the case, please provide more details and I will happily assist you further.

Regards,
Dilyan Traykov
Progress Telerik
Want to extend the target reach of your WPF applications, leveraging iOS, Android, and UWP? Try UI for Xamarin, a suite of polished and feature-rich components for the Xamarin framework, which allow you to write beautiful native mobile apps using a single shared C# codebase.
Tags
General Discussions
Asked by
Nazar
Top achievements
Rank 1
Answers by
Dilyan Traykov
Telerik team
Share this question
or