Hi I have applied ExpressionDark theme for all other contros, how to apply ExpressionDark theme to xmlDataGrid?
Thanks!
Alex,
What I need is the theme xml for Onyx, since when I put Theme="Onyx" this way
<igDP:XamDataGrid Name="xamDataGrid1" Theme="Onyx" > the styles I defined in ExpressionDark theme are overriden. so I need Oynx xml and I can copy it to my ExpressionDark theme file. the DefaultStyles directory you told me before does not contain Onyx theme.Thank!
Steve
Steve,
You can set the theme to the XamDataGrid to Onyx and then create styles that resemble it as I did for the CellValuePresenter.
<igDP:XamDataGrid Name="xamDataGrid1" Theme="Onyx" >
Here is a screenshot of the Onyx theme.
Alex.
But I can't find any "Onyx" related theme. can you give me a quick example?
You need to create and apply styles for all the XamDataGrid parts, like the CellValuePresenter, LabelPresenter, etc. You can see them and their default styles in the DefaultStyles folder in the Infragistics directory on your computer. You can use those default styles to create your custom ones, that resemble the ExpressionDark theme.
Thanks Alex!
I found out the reason in my xmlDataGrid, there is Theme="Onyx". so my question is how to add the similar sytles for Column headers like Onyn does in My own ExpressionDark file?Thanks!Steve