Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
125
ContextualTabGroup
posted

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

Parents
No Data
Reply
  • 54937
    Offline posted

    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).

Children
No Data