BarsMenuFactoryExistingCommandStrategy Enum
Defines the strategy for how BarsMenuFactory may use the Key of a requested menu item to match against the FullName of existing commands defined in Commands.
public enum BarsMenuFactoryExistingCommandStrategy
Fields
| Name | Description |
|---|---|
| Copy | If an existing BarCommand is found, a new BarCommandLink is created based on the options provided with the request, but some metadata from the matching command can be copied if it does not impact functionality (e.g., icons or text). This option helps ensure commands are consistently presented in an application without affecting functionality. |
| None | Existing commands are ignored. |
| Replace | If an existing BarCommand is found, it will be used to generate a BarCommandLink and ignore any of the other options provided with the request, including the associated Command. |