This is a migrated thread and some comments may be shown as answers.

Unable to edit\create Style Resource

1 Answer 34 Views
ImageEditor
This is a migrated thread and some comments may be shown as answers.
Bruce
Top achievements
Rank 1
Bruce asked on 22 Oct 2013, 12:32 PM
I can set up the editot eh way I ant in XAML, but I want to change the icons for the undo buttons. I select the editor, then choose edit current, edit a copy. I make my changes and they look fine, but when I build the applidation, only the editor shell shows up and none of the buttons or tools are there. If I remove the Style setting everything works, but with the default icons.

1 Answer, 1 is accepted

Sort by
0
Todor
Telerik team
answered on 23 Oct 2013, 11:06 AM
Hello Bruce,

Thank you for contacting us.

The reason not to see the ImageToolItems when you use the extracted style is that Blend didn't extract the ItemsSource properties of the two ItemsControls in the template. 

For your convenience, I've created a demo project where everything works as expected. I've also left "NOTE:" comments in App.xaml file which explain what I did, so please search for them.

In addition, I suggest you use implicit styles in your applications. This approach allows you much more easily to modify an existing style or to base on it. More about these styles and their usage you can read in this article.

I hope this helps.
If you need further assistance, please do not hesitate to contact us again.


Regards,
Todor
Telerik
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WPF.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>
Tags
ImageEditor
Asked by
Bruce
Top achievements
Rank 1
Answers by
Todor
Telerik team
Share this question
or