Hi All ..
I have a usercontrol called UserControl1 and it contrains a Rich textbox and i also have a button that Open the user control in the Document Content Host.On the ribbon control i have a hiiden ContextualTabGroup.I want to create a function where when i open the Usercontrol in the DocumentContent Host when i click in the RichTextBox Area the ContextualTabGroup will become visible.
Does anyone know how to do this .?
Thanks In Advance
You'll need to determine what is the correct trigger point for your situation. You could possibly use the GotFocus/LostFocus events of the RichTextBox to toggle the Visibility of the ContextualTabGroup (i.e. when it has logical focus make the CTG visible).