HI,
I am developing a Tabbed MDI interface using the Docking Control.
The content of the DocumentWindow is a Uesrcontrol called ucEditor which contains a SyntaxEditor control. I use the following code to create the DocumentWindow dynamically
==============================
Dim editor As New ucEditor
....
' Create the document
Dim documentWindow As New DocumentWindow(dockSite, name, title, New BitmapImage(New Uri("/Resources/Images/TextDocument16.png", UriKind.Relative)), editor)
==============================
I have also put an EditorSearchView control in the MainWindow
I am using VB.NET in VS2010
My Question is:
---------------
Is it possible to bind the SyntaxEditor control in the Usercontrol to the EditorSearchView control in the MainWindow?
What I want to do is to allow the EditorSearchView control bind to the SyntaxEditor in the selected tab? So that when the user do the searching, it always search the SyntaxEditor in the selected DocumentWindow.
If it's possible, can anyone please give me a sample code how to do it?
Thanks,
Cow
[Modified at 05/11/2010 07:00 AM]
I am developing a Tabbed MDI interface using the Docking Control.
The content of the DocumentWindow is a Uesrcontrol called ucEditor which contains a SyntaxEditor control. I use the following code to create the DocumentWindow dynamically
==============================
Dim editor As New ucEditor
....
' Create the document
Dim documentWindow As New DocumentWindow(dockSite, name, title, New BitmapImage(New Uri("/Resources/Images/TextDocument16.png", UriKind.Relative)), editor)
==============================
I have also put an EditorSearchView control in the MainWindow
I am using VB.NET in VS2010
My Question is:
---------------
Is it possible to bind the SyntaxEditor control in the Usercontrol to the EditorSearchView control in the MainWindow?
What I want to do is to allow the EditorSearchView control bind to the SyntaxEditor in the selected tab? So that when the user do the searching, it always search the SyntaxEditor in the selected DocumentWindow.
If it's possible, can anyone please give me a sample code how to do it?
Thanks,
Cow
[Modified at 05/11/2010 07:00 AM]