Quantcast
Channel: Telerik Forums RSS
Viewing all articles
Browse latest Browse all 94857

ColorEditor initial value

$
0
0
Hi Herme,

You can work this around by setting the SelectedColor in the Loaded event of the color picker control using a Dispatcher.
private void editor_Loaded(object sender, RoutedEventArgs e)
{
    Dispatcher.BeginInvoke(new Action(() => {
        this.editor.SelectedColor = Colors.Red;
    }));
}
Please try this approach and let me know if it helps.

Regards,
Martin
Telerik
 

See What's Next in App Development. Register for TelerikNEXT.

 

Viewing all articles
Browse latest Browse all 94857

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>