Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
260
xamDataGrid styles
posted

I have 1 datasource and the user wants to see 2 different views in a grid.  I was hoping to create a style that I could apply to the datagrid that would define different columns from the same datasource and change the style in my ViewModel based on a checkbox or something.  Is there a way to define a style for a datagrid that will define the FieldLayout.Fields and SortedFields and allow me to Bind from my datasource so that I can switch layout on the fly?