Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

FileTabCommandId Enum

Lists commands contained in the File tab.

#Declaration

TypeScript
export enum FileTabCommandId {
    CreateDocument = 412,
    OpenDocument = 410,
    ExportDocument = 413,
    DownloadDocumentMenu = 414,
    DownloadDocx = 418,
    DownloadRtf = 419,
    DownloadTxt = 420,
    DownloadHtml = 421,
    PrintDocument = 416
}

#Members

Name Description
CreateDocument

A command that creates a new document.

DownloadDocumentMenu

A command that shows the Download menu.

DownloadDocx

A command that downloads the current document in DOCX format.

DownloadHtml

A command that downloads the current document in HTML format.

DownloadRtf

A command that downloads the current document in RTF format.

DownloadTxt

A command that downloads the current document in TXT format.

ExportDocument

A command that saves the document in the specified format.

OpenDocument

A command that opens the specified document.

PrintDocument

A command that invokes the Print dialog.

#Remarks

Pass the FileTabCommandId‘s field to the executeCommand(commandId) method to execute a command:

richEdit.executeCommand(DevExpress.RichEdit.FileTabCommandId.CreateDocument);

The FileTabItemId enum contains identifiers of the File tab’s ribbon items. Use an identifier to get the corresponding item and then insert it into a tab or remove the item from the File tab.

See Also