Exception | Description |
---|---|
System.ArgumentException | The value assigned has more than 3 characters. |
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.
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"; } } }
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