We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

How to display the selectedcolor name from ColorPicker in TextBlock?

In ColorPicker control, the Selected color’s name can be displayed by binding the color name in TextBlock. The color name from color code can get using SuchColor() method.

 

 

View Model class

 

Main class

 

The following screenshot shows the output

Article ID: Published Date: Last Revised Date: Platform: Control: Product Version:
6589 03/29/2016 03/29/2016 WPF ColorPicker 13.4.0.53
Did you find this information helpful?
Comments
Binoy Samuel Jan 08, 2018

How to display the selectedcolor name from ColorPicker in TextBox?

Reply
Binoy Samuel Jan 08, 2018

How to display the selectedcolor value from ColorPicker in TextBlock?

Reply
Add Comment
You must log in to leave a comment

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.