This thread looks to be a little on the old side and therefore may no longer be relevant. Please see if there is a newer thread on the subject and ensure you're using the most recent build of any software if your question regards a particular product.
This thread has been locked and is no longer accepting new posts, if you have a question regarding this topic please email us at support@mindscape.co.nz
|
I'm considering purchasing WPF Elements for the RichTextToolbar. I didn't see anything in the documentation about skinning it. How skinnable is it? Is the ControlTemplate for it available somewhere so I could experiment with creating my own version? Thanks, David Cater |
|
|
Hello xiard The RichTextToolbar can be fully customized however you like. It's quite simple, mostly made up of buttons and combo boxes. WPF Elements provides 5 themes for each control. All the xaml source code for the RichTextToolbar themes are available in the free trial edition and full edition. They can be found in the Mindscape\WPF Elements\Themes folder. Look for the files that end with ".RichTextToolBar.xaml" Let me know if you need assistance with templating various parts of the RichTextToolbar. Regards |
|
|
Hello Jason, We have WPF Elements 4.0 & code. I can see the grids and stack panels for the RichTextToolbar in the XAML files. Is there a way to make the top row of icons hidden/collapses without having to change the XAML? I need an undo/redo service for a WPF text editor. Is there such an undo/redo class in the WPF Elements product outside the RichTextToolbar? Thanks, John |
|
|
Hello John Unfortunatly there isn't a way to hide the top row of icons without modifying the xaml. The WPF text editor has built in support for undo/redo. These can be triggered using application commands. Our RichTextToolBar has undo/redo buttons that use these commands. What are you looking for in terms of undo/redo support? - Jason |
|
|
Hey Jason, I want to have a simple script editing window with a text input area and that has an undo, redo, save and cancel buttons at a minimum. The users will not need access to fonts, colors, & alignment because the script will be sent to a parser as plain text. When you say the WPF text editor, are you referring to the RichTextBox, TextBox or TextBlock controls? Thanks, John
|
|
|
Hello John If you don't need any of the font, colors and alignment controls, then it may be easier to set this up yourself rather than skinning the RichTextToolBar. When I say WPF text editor, I am refering to the TextBox control. The WPF TextBox control has built in undo/redo functionality. To use it, you simply need to set the Command property of a button to be {x:Static ApplicationCommands.Undo} and so on. The save and cancel buttons will be specific to your application, so how you implement them is up to you. - Jason |
|
|
Jason, I got it working using your information. Thanks for the tip! John |
|