ILabelGenerator Interface
Defines an object for automatically generating control labels.
public interface ILabelGenerator
Methods
FromCommand(ICommand)
Attempts to create a label from a command.
string FromCommand(ICommand command)
| Parameter | Type | Description |
|---|---|---|
| command | System.Windows.Input.ICommand | The command used to generate the label. |
Returns
- System.String:
A string value for the label, or
nullif a value could not be determined.
FromKey(String)
Attempts to create a label from a key.
string FromKey(string key)
| Parameter | Type | Description |
|---|---|---|
| key | System.String | The key used to generate the label. |
Returns
- System.String:
A string value for the label, or
nullif a value could not be determined.