Hi,
How can I save/load the recent color palette, so it persist after the dialog that allows the user to choose a color is closed and open again?
Regards,
Carlos.
Hello Carlos,
I am glad that my post was helpful for you.
If you require any further assistance please do not hesitate to ask.
Sincerely,
Krasimir
Developer Support Engineer
Infragistics, Inc.
www.infragistics.com/support
Hi Krasimir,
I'm sorry, I forgot to post the results back!
The proposed code didn't work, but put me on the right direction, this is what I used:
If e.Source IsNot XamColorPicker1 Then
Me.DragMove()
End If
I am just checking the progress on your issue.
Please let me know if this is what you needed and if you require any further assistance on the matter.
I have investigated the issue that you described about the dragging behavior. It happens because when MouseLeftButtonDown event for the Advanced window of the XamColorPicker fires the event bubbles down to the parent window and MouseLeftButtonDown event also fires for the parent window and DragMove is always executed. What you can do in order to prevent this from happening by adding the following check before calling the DragMove method:
if (e.OriginalSource == sender)
{
DragMove();
}
Please let me know if you require any further assistance on the matter.
It works like a charm, thanks a million!!!. Isn't it the expected behavior?
By the way, in your example it also happens what I told you about the moving select color window when the picker Advanced section is open.