This question is locked. New answers and comments are not allowed.
I am looking at the MS Word example of the RadRichTextBox and was implementing the Document Structure button under the view tab and saw that the following code in the example for the DocumentStructure Click Event.
private void ViewDocumentStructure_Click(object sender, RoutedEventArgs e)
{
RadWindow window = new RadWindow();
DocumentModelTreeViewer documentTreeViewer = new DocumentModelTreeViewer();
documentTreeViewer.DisplayDocumentLayoutTree(this.editor.Document);
window.Content = documentTreeViewer;
window.WindowStartupLocation = Telerik.Windows.Controls.WindowStartupLocation.CenterScreen;
window.Width = 600;
window.Height = 750;
window.ShowDialog();
}
I am wondering where DocumentModelTreeView comes from. When I search this on this website nothing comes up. When I search on Google, nothing comes up...Where is this coming from?
Edit: I am referencing the MSWordExample.xaml.cs file from http://demos.telerik.com/silverlight/#RichTextBox/MSWord.
private void ViewDocumentStructure_Click(object sender, RoutedEventArgs e)
{
RadWindow window = new RadWindow();
DocumentModelTreeViewer documentTreeViewer = new DocumentModelTreeViewer();
documentTreeViewer.DisplayDocumentLayoutTree(this.editor.Document);
window.Content = documentTreeViewer;
window.WindowStartupLocation = Telerik.Windows.Controls.WindowStartupLocation.CenterScreen;
window.Width = 600;
window.Height = 750;
window.ShowDialog();
}
I am wondering where DocumentModelTreeView comes from. When I search this on this website nothing comes up. When I search on Google, nothing comes up...Where is this coming from?
Edit: I am referencing the MSWordExample.xaml.cs file from http://demos.telerik.com/silverlight/#RichTextBox/MSWord.