SpreadsheetFormulaBar.ExecuteResourceNavigatorAction(NavigatorButtonType) Method
Executes the command corresponding to one of the SpreadsheetFormulaBar‘s buttons.
Namespace: DevExpress.XtraSpreadsheet
Assembly: DevExpress.XtraSpreadsheet.v24.2.dll
NuGet Package: DevExpress.Win.Spreadsheet
#Declaration
#Parameters
Name | Type | Description |
---|---|---|
type | Navigator |
One of the Navigator |
#Returns
Type | Description |
---|---|
Boolean | true if the command is executed; otherwise, false. |
#Remarks
By default, the Formula Bar contains three buttons, each of which has a default action. Use the ExecuteResourceNavigatorAction method to perform the action bound to the particular button.
The table below describes buttons located on the Formula Bar, gives the NavigatorButtonType type of each button, and the event that is raised when an end-user clicks a specific button.
Button | Description | Button Type | Event |
---|---|---|---|
Cancel | Cancels the user input. | Navigator |
Spreadsheet |
Enter | Completes the user edit and evaluates the entered formula. | Navigator |
Spreadsheet |
Insert Function | Inserts a function from the Function Library. | Navigator |
Spreadsheet |