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
761
XamColorPicker Theme
posted

Hello,

The new XamColorPicker is great. I just wonder why it does not support the "Theme" property, all other editors do. The look and feel does e.g. not fit with the Office themes.

Thanks and best regards, Frank

 

 

 

 

  • 8421
    posted

    Hello Frank,

    The XamColorPicker is one of the new controls that we developed that was designed around our unified XAML platform (see the blog post here for more details about our strategy). The reason there is no theming is that our Silverlight controls currently do not have theming packages built in like the WPF ones do.

    We are currently researching a unified theming solution that can be used between both WPF and Silverlight. In the meantime, as a workaround, you could use the brushes used by other WPF controls to style the XamColorPicker. You can find these brushes located in the Default Styles which by default are installed at:

    c:\Program Files\Infragistics\NetAdvantage 2010.2\WPF\DefaultStyles

    Some of the WPF controls also expose brush keys you could bind to. For example, here's a list of the brush keys used by the XamDataPresenter:

    <http://help.infragistics.com/NetAdvantage/WPF/Current/CLR4.0/?page=InfragisticsWPF4.DataPresenter.v10.2~Infragistics.Windows.DataPresenter.DataPresenterBrushKeys_members.html>

    I'm also going to be creating a private case for you and submitting a new feature request on your behalf which you can use to track this issue and be notified when it is released.