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

Child window from a tile view item using MVVM

2 Answers 36 Views
TileView
This is a migrated thread and some comments may be shown as answers.
Sam
Top achievements
Rank 1
Sam asked on 15 Jan 2014, 09:46 AM
Hello;

I am working on a project with the following requirements :
- I have a dashboard with a set of tile view items in different size (large, small, medium).
- Each tile item size has its content.
- In the normal (medium) view, I need to add a button "properties". When the user clicks on, a child window will be opened in order to set the properties of the tile view item and filter the information to be displayed in the different views.

I am stuck in the third part. As the tile view item is a user control, I found a solution on internet based on behavior which allows me to open the child window, however, i cannot implement the close & OK buttons using MVVM.

I need your support on this point.
Thanks for your help.

Best regards

Sam

2 Answers, 1 is accepted

Sort by
0
Boris
Telerik team
answered on 20 Jan 2014, 02:30 PM
Hello Sam,

I have prepared a sample project which demonstrates the opening of a Window, and basic implementation of "Ok" and "Cancel" buttons by using Commands. BasicalIy I have used the Telerik's DelegateCommand which helps us attach a method to our command. For more about our MVVM support you can visit this post.

Regards,
Boris Penev
Telerik
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WPF.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>
0
Sam
Top achievements
Rank 1
answered on 23 Jan 2014, 10:39 AM
Hello;

Thanks for your reply. It worked perfectly.

Best Regards
Sam
Tags
TileView
Asked by
Sam
Top achievements
Rank 1
Answers by
Boris
Telerik team
Sam
Top achievements
Rank 1
Share this question
or