Completed
Last Updated: 30 Oct 2017 10:18 by ADMIN
ADMIN
Hristo
Created on: 20 Sep 2017 09:39
Category: RibbonBar
Type: Feature Request
3
ADD. RadRibbonBar - expose an API allowing customizations of the key tips
The new functionality should provide a way to apply an offset to the position of the key tip as well as customize their back and fore colors as well as the font
1 comment
ADMIN
Ralitsa
Posted on: 30 Oct 2017 10:18
In order to achieve customization of key tips, you can subscribe to the KeyTipShowing event. In the handler, you can change the BackColor, the BorderColor, the ForeColor or the Font of the key tip. Here is the code sample how can be implemented: 

private void RadRibbonBar1_KeyTipShowing(object sender, CancelEventArgs e)
{
    RadKeyTipShowingEventArgs args = e as RadKeyTipShowingEventArgs;

    args.BackColor = Color.FromArgb(125, Color.LightGreen);
    args.BorderColor = Color.Black;
    args.ForeColor = Color.Red;
    args.Font = new Font("Calibri", 25f, FontStyle.Bold);

    if (sender == this.radButtonElement1)
    {
        args.CustomLocation = new Point(20, 80);
    }
}

This customization will be available in our next release - R1 2018, scheduling for January 2018.