Please accept my apologies for the not correct working project. It seems I have put a wrong condition in the "if" used in the diagram_SelectionChanged. I edited the project and reattached it.
The logic about the properties like color, font , font family is the same like the logic about the font size - when they are change using the SettingsPane the event comes from the RadDiagram's
core assembly and it is registered in the RadDiagram's
Undo/Redo stack and that's why those events are undoable.
In the attached example I have added two Listboxes binded for the RadDiagram's
and a button which changes the background and the foreground of the selected shapes. You can see that there is no event put in the RadDiagram's
Undo/Redo stack when the button is clicked. However if you change any property from the SettingsPane there is an events put in this stack.
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 >>