IKeyTipTextGenerator Interface
Defines an object for automatically generating key tip text for controls.
public interface IKeyTipTextGenerator
Methods
FromCommand(ICommand)
Attempts to create the key tip text from a command.
string FromCommand(ICommand command)
Parameter | Type | Description |
---|---|---|
command | System.Windows.Input.ICommand | The command to examine. |
Returns
- System.String:
A string value for the key tip text, or
null
if a value could not be determined.
FromKeyGesture(KeyGesture)
Attempts to create the key tip text from a key gesture.
string FromKeyGesture(KeyGesture keyGesture)
Parameter | Type | Description |
---|---|---|
keyGesture | System.Windows.Input.KeyGesture | The key gesture to examine. |
Returns
- System.String:
A string value for the key tip text, or
null
if a value could not be determined.
FromLabel(String)
Attempts to create the key tip text from a label.
string FromLabel(string label)
Parameter | Type | Description |
---|---|---|
label | System.String | The label to examine. |
Returns
- System.String:
A string value for the key tip text, or
null
if a value could not be determined.