Hi,
I am using "RadColorPaletteView" to display custom colors.
I need to change the application theme, when we select the color from the "RadColorPaletteView".
I am using the following code in the SelectionChanged event to get the selected color.
string strColor = ((RadColorPaletteView)e.OriginalSource).SelectedItem.ToString();
I am able to get the color when I select the color for the first time. If I try to select another color it is returning the ((RadColorPaletteView)e.OriginalSource).SelectedItem as null.
How can I get the selected color from the "RadColorPaletteView".
I tried to use the "(((RadColorPaletteView)e.OriginalSource)).SelectedPaletteViewItem.Color". With this I am getting some missing assembly reference error.
Please help.
Regards,
SivaPrasad.B
I am using "RadColorPaletteView" to display custom colors.
I need to change the application theme, when we select the color from the "RadColorPaletteView".
I am using the following code in the SelectionChanged event to get the selected color.
string strColor = ((RadColorPaletteView)e.OriginalSource).SelectedItem.ToString();
I am able to get the color when I select the color for the first time. If I try to select another color it is returning the ((RadColorPaletteView)e.OriginalSource).SelectedItem as null.
How can I get the selected color from the "RadColorPaletteView".
I tried to use the "(((RadColorPaletteView)e.OriginalSource)).SelectedPaletteViewItem.Color". With this I am getting some missing assembly reference error.
Please help.
Regards,
SivaPrasad.B