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
140
StaticResource Template to XamColorPicker
posted

Hi,

We are using XamlColorPicker and it is working pretty well. 

We have created our own template for ComboBox in WPF. In a page, all comboboxes looks with one theme and template but XamColorPicker looks different.

So we want to apply the same StaticResource template to the XamColorPicker. I tried it with Template = "{StaticResource templatename}" but that is not working.

I checked this post http://www.infragistics.com/community/forums/p/32549/177677.aspx#177677 but more or less I need to assign each property of template again to XamColorPicker.

Is there any better way of doing this with minimal changes?

Thanks in advance.

Regards,

Raj

Parents
  • 22015
    posted

    Hello Raj,

     

    Thank you for your post!

     

    I have been looking into it. The XamColorPicker, consists of a ToggleButton and a ColorPickerDialog. The ColorPickerDialog is the popup, that appears when the ToggleButton is pressed. This is way a style for a ComboBox would not apply for the XamColorPicker. This can be seen by using a WPF spy tool like Snoop: http://snoopwpf.codeplex.com/.

     

    Would you please provide me with further information about the changes you want to make for the template of the XamColorPicker, so I can research further this functionality for you?

     

    Thank you for the provided information. Looking forward to hearing from you.

     

Reply Children