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
How to access ColorStripManager in XamColorPicker?
posted

Hi,

I am using XamColorPicker and I am able to successfully set the settings for Standard and Derived Color Palette.

What I am trying to achieve is, loop through the colors in Standard and Derived Color Palette.

I kept DerivedPalettesCount as 10.

I can get required color from Standard color palette as ShiftColorPicker.CurrentPalette.Colors[index].Color.

I want to access derived color palette from code behind as above. When I tried it to access as

ObservableCollection<Infragistics.Controls.Editors.Primitives.ColorStrip> colorStripCollection = ShiftColorPicker.ColorStripManager.ColorStrips;

We can do like above ColorStripManager is a protected member.

Please can you tell me how to access ColorStripManager or how to loop through derived color palette?

Thanks in advance.

Regards,

Raj

Parents Reply Children
No Data