Displaying varied XML data in WPF DataGrid

GranaMachine

New Member
I have a file similar to the format at the bottom of the post. When the ItemsSource is set, columns are auto generated for each category, but the settings do not display. Is there an efficient way to display the varied data types automatically or should this be coded manually? I cannot modify the config file to better suit display for the DataGrid:\[code\]<Config> <AutoTrimWhiteSpaceAtMax>true</AutoTrimWhiteSpaceAtMax> <PrintResolution>500</PrintResolution> <DPIvalue> <int>4000</int> <int>4000</int> </DPIvalue> <DPIXDivisor> <int>4</int> <int>8</int> <int>16</int> </DPIXDivisor> <DPIYDivisor> <int>4</int> <int>8</int> <int>16</int> </DPIYDivisor> <KeyCode>none</KeyCode></Config>\[/code\]
 
Back
Top