Version

KeyTip Property (GalleryTool)

A string with a maximum length of 3 characters that is used to navigate to the item when keytips.
Syntax
'Declaration
 
Public Property KeyTip As String
public string KeyTip {get; set;}
Exceptions
ExceptionDescription
System.ArgumentExceptionThe value assigned has more than 3 characters.
Remarks

Key tips are displayed when the ribbon is showing and the Alt key is pressed.


Note:
If the key tip for the item conflicts with another item in the same container, this key tip may be changed.

Example
The following example shows how to use the KeyTip property to specify the characters that is used to navigate to the item when keytips.

Imports System
Imports System.Windows
Imports Infragistics.Windows.Ribbon


Namespace MyNamespace
    Public Partial Class MyWindow
        Inherits XamRibbonWindow
        Public Sub New()
            InitializeComponent()
        End Sub
       
        Private Sub SetupGalleryTool()
           galleryTool.KeyTip = "GT"
        End Sub
    End Class
End Namespace
using System;
using System.Windows;
using Infragistics.Windows.Ribbon;


namespace MyNamespace
{
    public partial class MyWindow : XamRibbonWindow
    {
        public MyWindow()
        {
            InitializeComponent();
        }

        private void SetupGalleryTool()
        {
            galleryTool.KeyTip = "GT";
    	   }
    }
}
<igRibbon:XamRibbonWindow x:Class="MyWindow"
    
xmlns:igRibbon="http://infragistics.com/Ribbon">

    ....

    
<igRibbon:RibbonGroup Id="groupId" Caption="GroupName">
        
<igRibbon:MenuTool ShouldDisplayGalleryPreview="True" Caption="GalleryToolMenu">
            
<igRibbon:GalleryTool Name="galleryTool" KeyTip="GT">
            ....
            
</igRibbon:GalleryTool>
        
</igRibbon:MenuTool>
    
</igRibbon:RibbonGroup>

    ....

</igRibbon:XamRibbonWindow>
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also