TelerikRadRibbonBar¶
Telerik RadRibbonBar.
UI element class: Telerik.WinControls.UI.RadRibbonBar
Extends ManagedObject
Extends SeSSimulatedObject
Behavior Pattern: TelerikRadRibbonBarBehavior
Action Summary¶
| Action | Description |
|---|---|
| DoClickApplicationButton | Clicks an application button on the ribbon. |
| DoClickItem | Clicks on an item on the ribbon. |
| DoClickTab | Clicks on a tab in the ribbon. |
Action Detail¶
DoClickApplicationButton¶
Clicks an application button on the ribbon.
SeS('SomeTelerikRadRibbonBar').DoClickApplicationButton(caption, xOffset, yOffset)
Parameters:
| Name | Type | Description |
|---|---|---|
| caption | string | Caption of the application button to click. |
| xOffset | number | X offset to click within object. Calculated from the top-left corner. Default is a center. Floating point in the range (-2, 2) means percentage of the width. Optional. |
| yOffset | number | Y offset to click within object. Calculated from the top-left corner. Default is a center. Floating point in the range (-2, 2) means percentage of the height. Optional. |
Returns:
boolean: 'true' if success, 'false' otherwise.
DoClickItem¶
Clicks on an item on the ribbon.
SeS('SomeTelerikRadRibbonBar').DoClickItem(caption, xOffset, yOffset)
Parameters:
| Name | Type | Description |
|---|---|---|
| caption | string | Caption of an item to click. |
| xOffset | number | X offset to click within object. Calculated from the top-left corner. Default is a center. Floating point in the range (-2, 2) means percentage of the width. Optional. |
| yOffset | number | Y offset to click within object. Calculated from the top-left corner. Default is a center. Floating point in the range (-2, 2) means percentage of the height. Optional. |
Returns:
boolean: 'true' if success, 'false' otherwise.
DoClickTab¶
Clicks on a tab in the ribbon.
SeS('SomeTelerikRadRibbonBar').DoClickTab(caption, xOffset, yOffset)
Parameters:
| Name | Type | Description |
|---|---|---|
| caption | string | Caption of a tab to click. |
| xOffset | number | X offset to click within object. Calculated from the top-left corner. Default is a center. Floating point in the range (-2, 2) means percentage of the width. Optional. |
| yOffset | number | Y offset to click within object. Calculated from the top-left corner. Default is a center. Floating point in the range (-2, 2) means percentage of the height. Optional. |
Returns:
boolean: 'true' if success, 'false' otherwise.