Posted
on Nov 15, 2011
(permalink)
Hi Peter,
ok let me explain we are basically creating several screens and most of them need to have a Grid that has a column with a treeview control in the cell, on the rows of the Grid, clicking the treeview control in a cell of a row will reveal a nested Grid (master/Detail style or Parent/Child relationship style) connected to that parent Row of which it's Treeview control was clicked, in essence every row in the Main grid will have an associated nested /child Grid.This Master Grid will have a ToolBar on top of it where we want all generic associated functionality of the the Root(Main)Grid to be accessed from, such as Export functionality the Grid has as standard,
we want to be able to call this functionality from the toolbar.So its just a case of replicating some functionality the Grid has but in a toolbar, the idea is we want to have a Base composite Usercontrol, comprising a Base Custom ToolBar and Grid, which can be re-used across all our screens as well as can be derived from so that all of our screens that need a Grid Control can use it, and we have a common control across all screens, we want to also do this the MVVM Route we are implementing Prism and CAB Library for Silverlight for this project. hope that explains it?
regards