[]
• Optional bigButton: string | boolean
• Optional comboHeight: number
• Optional comboWidth: number
• Optional commandMap: Object
• commandName: string
• Optional commandOptions: any
• Optional direction: string
• Optional dropdownList: IListGroupItemData[]
• Optional dropdownMaxHeight: number
• Optional dropdownMaxWidth: number
• Optional enableContext: string
• Optional group: string
• Optional hidden: boolean
• Optional iconClass: string
• Optional iconHeight: number
• Optional iconWidth: number
• Optional isGroupItem: boolean
• Optional keepFocusInSpread: boolean
• Optional listContent: IListGroupItemData[]
• Optional maxHeight: number
• Optional maxWidth: number
• Optional needAsyncUpdate: boolean
• Optional showDropdownButton: boolean
• Optional subCommands: string[]
• Optional text: string
• Optional textBoxHeight: number
• Optional textBoxWidth: number
• Optional title: string
• Optional type: string
• Optional visibleContext: string
• Optional visiblePriority: number
▸ Optional execute(context, propertyName?, value?): void
Executes the command logic. The context is the Designer instance, propertyName identifies the trigger source, and value is the input value.
| Name | Type |
|---|---|
context |
Designer |
propertyName? |
string |
value? |
any |
void
▸ Optional getState(context): any
Gets the current state of the command. The context parameter is the Designer instance. Returns an object containing the command's current state (e.g., value, enabled, visible).
| Name | Type |
|---|---|
context |
Designer |
any
▸ Optional init(context): void
Initializes the command when first loaded. Called once during command registration. Use it to set up event listeners or register actions.
| Name | Type |
|---|---|
context |
Designer |
void