Version

ShowHotkeyPrefix Method (EmbeddableEditorOwnerBase)

Returns whether the ampersand character is interpreted as a hotkey prefix.
Syntax
'Declaration
 
Public Overridable Function ShowHotkeyPrefix( _
   ByVal ownerContext As Object _
) As Boolean
public virtual bool ShowHotkeyPrefix( 
   object ownerContext
)

Parameters

ownerContext
The context that was passed into the GetEmbeddableElement(UIElement,EmbeddableEditorOwnerBase,Object,EmbeddableUIElementBase) method.

Return Value

A boolean indicating whether the ampersand character is interpreted as a hotkey prefix.
Remarks

When the owner returns true from the ShowHotkeyPrefix method, and there exists an ampersand character in the string representation of its value, the character following the ampersand is displayed as a hotkey. When the owner returns false from the ShowHotkeyPrefix method, ampersands are treated as standard characters.

The default implementation returns false.

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, 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