Hi,
We are on the design stage for a WPF Prism application, and we want to provide an editor functionality similar to MS Word in one of our modules. We have a toolbar region in the top of the page that should load the module containing the RadRichTextBoxRibbonUI, and a content region in the middle of the screen that should load the module containing the RadRichTextbox for editing. So the Rich Textbox and its Ribbon are in 2 separate module for loose coupling. In the WPF demo examples, the commands in Ribbon are bound the RichTextbox in XAML (i.e. DataContext and Commands). Is there any suggestion how can we implement our design? Can we pass a reference of the RichTextbox and do the necessary binding in the code at load time of the ribbon?
Any hints would be appreciated!
Regards
We are on the design stage for a WPF Prism application, and we want to provide an editor functionality similar to MS Word in one of our modules. We have a toolbar region in the top of the page that should load the module containing the RadRichTextBoxRibbonUI, and a content region in the middle of the screen that should load the module containing the RadRichTextbox for editing. So the Rich Textbox and its Ribbon are in 2 separate module for loose coupling. In the WPF demo examples, the commands in Ribbon are bound the RichTextbox in XAML (i.e. DataContext and Commands). Is there any suggestion how can we implement our design? Can we pass a reference of the RichTextbox and do the necessary binding in the code at load time of the ribbon?
Any hints would be appreciated!
Regards