Method GetButtonConfig
GetButtonConfig(out ButtonBar)
Gets the configuration of the button bar in the current mode.
Declaration
Error GetButtonConfig(out ButtonBar buttonBar)
Parameters
| Type | Name | Description |
|---|---|---|
| ButtonBar | buttonBar | A button bar object. May be null in case of error. |
Returns
| Type | Description |
|---|---|
| Error | Error code |
Remarks
The returned ButtonBar object contains button configurations that can be modified and passed to SetButtonConfig(ButtonBar, Boolean). Note that not all modes have button bars. See GetButtonConfig(out ButtonBar, ButtonBarMode).
Examples
See SetButtonConfig(ButtonBar, Boolean).
GetButtonConfig(out ButtonBar, ButtonBarMode)
Gets the configuration of the button bar in a particular mode.
Declaration
Error GetButtonConfig(out ButtonBar buttonBar, ButtonBarMode buttonBarMode)
Parameters
| Type | Name | Description |
|---|---|---|
| ButtonBar | buttonBar | A button bar object. May be null in case of error. |
| ButtonBarMode | buttonBarMode | Corresponds to a mode with a button bar. |
Returns
| Type | Description |
|---|---|
| Error | Error |