Completed
Last Updated: 15 Jun 2020 08:55 by ADMIN
Release LIB 2020.2.6.08
Martin Ivanov
Created on: 05 Mar 2020 13:43
Category: RibbonView
Type: Bug Report
2
RibbonView: KeyTip for RadRibbonGroup dialog launcher is not shown when the group is collapsed

Setting the KeyTipService.AltAccessText attached property on a RadRibbonGroup element should display a keytip on the dialog launcher of the group, when the keytips are activated.

Currently, if the group is collapsed, you can expand it using its AccessText. However, in this case the keytip of the dialog launcher is not displayed.

To work this around, subscribe to the Loaded event of RadRibbonGroup and set the KeyyTipService.AccessText property directly to the RadRibbonButton representing the dialog launcher.

private void RadRibbonGroup_Loaded(object sender, RoutedEventArgs e)
{
	var group = (RadRibbonGroup)sender;
	var button = group.ChildrenOfType<RadRibbonButton>().FirstOrDefault(x => x.Name == "DialogLauncher");
	if (button != null)
	{
		KeyTipService.SetAccessText(button, "D");
	}
}

0 comments