In order to bind to the SelectedColor of the RadColorPicker you can use a RelativeSource
binding and set the AncestorType
to be RadColorPicker
. You should also implement a ValueConverter
in order to convert the color into a Brush.
Please find a simple project attached which implements this behavior.
I hope you find this helpful. Let me know if you have any more questions.
Want to extend the target reach of your WPF applications, leveraging iOS, Android, and UWP? Try UI for Xamarin
, a suite of polished and feature-rich components for the Xamarin framework, which allow you to write beautiful native mobile apps using a single shared C# codebase.