Completed
Last Updated: 03 Jun 2019 04:41 by ADMIN
Release R2 2019 SP1
Kun
Created on: 15 May 2019 12:40
Category: RibbonBar
Type: Feature Request
1
RadRibbonBar: one should be able to skip the no-text mode when collapsing the ribbon

When the size is reduced the button's text is hidden and the popup occurs. One should be able to directly go to the collapsed mode without showing buttons with no text. 

The attached project shows a temporary solution. 

Attached Files:
1 comment
ADMIN
Dimitar
Posted on: 03 Jun 2019 04:41
Hello,

In Telerik UI for WinForms R2 2019 SP1 ItemVisiblityStateChanging event will be exposed on the RadRibbonBarElement.
RadRibbonBar.RibbonBarElement.ItemVisiblityStateChanging

It can be used this way: 

public RadForm1()
{
    InitializeComponent();
 
    this.radRibbonBar1.RibbonBarElement.ItemVisiblityStateChanging += RibbonBarElement_ItemVisiblityStateChanging;
}
 
private void RibbonBarElement_ItemVisiblityStateChanging(object sender, ItemVisiblityStateChangingEventArgs args)
{
    //You can skip SmallImages step using this approach
    if (args.NextVisibilityState == ChunkVisibilityState.NoText)
    {
        args.Cancel = true;
    }
}

The service pack is scheduled for the middle of June.

I hope this approach would cover your scenario.

Regards,
Dimitar
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.