Version

KeyTipForSegmentedButton Property

Gets/sets a string with a maximum of 3 characters that represents the mnemonic that is displayed for the button portion of the tool. Note: this property is ignored unless the ButtonType is set to ‘Segmented’ or ‘SegmentedState’. When the mnemonic is entered the Click event will be raised. The Checked or Unchecked events will also be raised for the ‘SegmentedState’ button type.
Syntax
'Declaration
 
Public Property KeyTipForSegmentedButton As String
public string KeyTipForSegmentedButton {get; set;}
Example
MenuTool KeyTipForSegmentedButton

Dim menuTool As New MenuTool() 
menuTool.Caption = "Menu Tool" 
menuTool.ButtonType = MenuToolButtonType.SegmentedState 
menuTool.SmallImage = getImageSource("/Images/icons/Ribbon/QuickStyles_16x16.png") 
menuTool.LargeImage = getImageSource("/Images/icons/Ribbon/QuickStyles_32x32.png") 
menuTool.KeyTipForSegmentedButton = "SBT"
MenuTool menuTool = new MenuTool();
menuTool.Caption = "Menu Tool";
menuTool.ButtonType = MenuToolButtonType.SegmentedState;
menuTool.SmallImage= getImageSource("/Images/icons/Ribbon/QuickStyles_16x16.png");
menuTool.LargeImage= getImageSource("/Images/icons/Ribbon/QuickStyles_32x32.png");
menuTool.KeyTipForSegmentedButton="SBT";
<igRibbon:MenuTool
    
Caption= "Menu Tool"
    ButtonType= "Segmented" 
    SmallImage= "Images\icons\Ribbon\QuickStyles_16x16.png" 
    
LargeImage= "Images\icons\Ribbon\QuickStyles_32x32.png" 
    
KeyTipForSegmentedButton="SBT"
    
>
    
<TextBlock Text="Menu Item 1"/>
    
<TextBlock Text="Menu Item 2"/>
</igRibbon:MenuTool>
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