[This is preliminary documentation and is subject to change.]
Creates accesskey text by prepending given char before accesskey character
Namespace: Tools.WindowsT.IndependentTAssembly: Tools.Windows (in Tools.Windows.dll) Version: 1.5.3.38916 (1.5.3.38916)
Syntax
| C# |
|---|
protected static string GetTextWithAccessKey( string Text, char AccessKey, char PrependChar ) |
| Visual Basic |
|---|
Protected Shared Function GetTextWithAccessKey ( _ Text As String, _ AccessKey As Char, _ PrependChar As Char _ ) As String |
| Visual C++ |
|---|
protected: static String^ GetTextWithAccessKey( String^ Text, wchar_t AccessKey, wchar_t PrependChar ) |
| F# |
|---|
static member GetTextWithAccessKey : Text:string * AccessKey:char * PrependChar:char -> string |
| JScript |
|---|
protected static function GetTextWithAccessKey( Text : String, AccessKey : char, PrependChar : char ) : String |
Parameters
- Text
- Type: System..::..String
Text of control
- AccessKey
- Type: System..::..Char
Accesskey to prepend char in front of
- PrependChar
- Type: System..::..Char
Char to be prepended
Return Value
Text with first occurence of AccessKey replaced with PrependChar and AccessKey.
Remarks
AccessKey is escaped by duplication
See Also
Version History
1.5.2
- Function added