Hi,
I'm building an application and i have more than 230 XamGrids in it. All of then must have the same layout, so i built an style for it. The problem is: all XamGrids need to be movable, so how can I do it in Style or any other generic way? Will I need to set this property for each grid? Or the best solution is to inherit XamGrid class and set that property in code?
Thanks!
1. You could derive and create a custom control that sets these properties.
2. You could look at using the Persistance Framework to store and apply a single set of property settings to each grid.
Devin
Yes, I have a lot of XamGrid and all of then need to be have the same Style ( I'd like to build an visual identity).
By style, I mean row background colors, row botton line color, header alignment, grid borders, marging, and also the same functionalities, like ColumnMoving, ColumnReordering and Paging. The same columns structure for the moment I don't need, but all other cases i told you are essential.
Thanks for your attention!
Could you give more details on your use case? Do you have 230 different XamGrids?
What do you mean by "same layout":
- same styling, i.e. UI, Templates, Styles and UI Customizations
- or same Columns structure, ColumnLayouts, XamGrid Settings (like Paging, Grouping and etc.)
Regards,