RadRibbonTab Click or Tab event

7 posts, 0 answers
  1. Gokul
    Gokul avatar
    6 posts
    Member since:
    Feb 2015

    Posted 11 Sep 2015 Link to this post

    How to control the RabRibbon Tab?

    By Default, The RadRibbonGroup will be opened once TadRibbonTab is double- clicked.

    How do i make it in single click and Pin the RadRibbinGroup Pop up?

  2. Gokul
    Gokul avatar
    6 posts
    Member since:
    Feb 2015

    Posted 11 Sep 2015 in reply to Gokul Link to this post

    Simply, I need Click on the RadRibbonTab control...
  3. DevCraft banner
  4. Martin
    Admin
    Martin avatar
    1099 posts

    Posted 15 Sep 2015 Link to this post

    Hello Gokul,

    I am not sure that I completely understand your requirement. Can you please tell me what you mean by saying that the RadRibbonGroup is opened on ribbon tab's double click? Furthermore, drawings of the actual and the expected result will be helpful.

    Also, you can pin the popup with the content of the selected tab by using the RadRibbonView's IsMinimized property. As for a Click event on the RadRibbonTab control, there is no such event, however, you can use the AddHandler() method of the tab to subscribe for the MouseLeftButtonDown event which might be helpful for your case.
    tab.AddHandler(RadRibbonTab.MouseLeftButtonDownEvent, new MouseButtonEventHandler(RadRibbonTab_MouseLeftButtonDown), true);

    Thank you for any help you can provide.

    Regards,
    Martin
    Telerik
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
  5. Gokul
    Gokul avatar
    6 posts
    Member since:
    Feb 2015

    Posted 16 Sep 2015 in reply to Martin Link to this post

    Thanks for a reply.

    How to add a handler for double click Event on the Ribbon Tab?

  6. Martin
    Admin
    Martin avatar
    1099 posts

    Posted 16 Sep 2015 Link to this post

    Hello Gokul,

    To listen for double click you can subscribe for the MouseLeftButtonDown event and check the ClickCount value of the event arguments. 
    private void RadRibbonTab_MouseLeftButtonDown(object sender, MouseButtonEventArgs e)
    {
        if (e.ClickCount > 1) // that means the element is double (or more) clicked
        {      
        }
    }

    Regards,
    Martin
    Telerik
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
  7. Gokul
    Gokul avatar
    6 posts
    Member since:
    Feb 2015

    Posted 17 Sep 2015 in reply to Martin Link to this post

    Thanks for reply.

    Without RadRibbonView control, shall i able to open the RadRibbonTab control on the Single click?

    If above one is not possible, How shall i remove the Back Stage Button and Title bar from RadRibbon View ? Because, earlier they achieved with rad Ribbon Tab without RadRibbon View, If i introduced the that (View) control, it occupies the space and introducedthe button on the left called Back stage button. So, How do i remove it and it's title? Title and Application name are setted to empty. Even though it is occupying the space.

  8. Gokul
    Gokul avatar
    6 posts
    Member since:
    Feb 2015

    Posted 18 Sep 2015 in reply to Gokul Link to this post

    Thanks for your precious reply.

     All are done. Lot of property like IsApplicationButtonEnabled and Title bar Visibility, helped me to do above one.

Back to Top
DevCraft banner