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
690
Dark Theme
posted

Hi, I try to do a dark theme for the xamDataGrid :

Foreground in white and background in black or darkblue, like that :

Do you have a Dark theme to begin mime ?

It seems to take a lot of time :

Rewrite the template for the header/labelPresenter, adding new styles for all properties...

If you don't have a theme for tha how can I do that cleanly (using resource file, ...) ?

Thanks in advance.

Parents
  • 138253
    Offline posted

    Hello,

     

    Thank you for your post. I have been looking into it and I can say that you can use the Theme Property of the XamDataGrid, in order to set a particular theme and if you want to a modify some element here it is explained how to use both Themes and Styles:

     

    http://ko.infragistics.com/community/blogs/andrew_smith/archive/2009/12/09/common-style-issues-when-using-the-theme-property.aspx

     

    Also if you want you can copy all Styles for some theme and modify them. The default Themes are located here:

     

    C:\Program Files (x86)\Infragistics\NetAdvantage 2012.2\WPF\DefaultStyles\DataPresenter folder. Please let me know if this helps you or you need further assistance on this matter.

     

    Looking forward for your reply.

Reply Children