Skip to main content

ReportCommand Enum

Lists commands available in the End-User Report Designer for WinForms.

Namespace: DevExpress.XtraReports.UserDesigner

Assembly: DevExpress.XtraReports.v22.1.Extensions.dll

Declaration

public enum ReportCommand

Members

Name Description Icon
None

Does not identify a command.

EditFavoriteProperties

Invokes the Favorite Properties Editor that allows editing favorite properties. This command is available in the Properties window’s context menu.

NewReport

Creates a new blank report. The command is available in the menu and on the toolbar.

NewReport

NewReportWizard

Creates a new blank report and invokes the Report Wizard. The command is available in the menu.

NewReportWizard

OpenFile

Opens a report. The command is available in the menu and on the toolbar.

OpenFile

SaveFile

Saves the report in the active Design Panel to a file. The command is available in the menu and on the toolbar.

SaveFile

SaveFileAs

Invokes the Save As dialog to save a report with a new name.

SaveFile

SaveAll

Saves all loaded reports. The command is available in the menu and on the toolbar.

SaveAll

Exit

Closes the Designer.

Exit

MdiCascade

When the window interface is enabled in an MDI End-User Designer form, arranges Design Panel windows in cascade.

MdiTileHorizontal

When the window interface is enabled in an MDI End-User Designer form, tiles Design Panel windows horizontally.

MdiTileVertical

When the window interface is enabled in an MDI End-User Designer form, tiles Design Panel windows vertically.

ShowTabbedInterface

Enables the tabbed interface for Design Panels in an MDI End-User Designer form.

ShowWindowInterface

Enables the window interface for Design Panels in an MDI End-User Designer form.

Closing

Override this command to implement a custom report saving routine.

AddNewDataSource

Invokes the Data Source Wizard which allows users to create a data source for the report.

AddNewDataSource

ApplyDataSource

Assigns the data source to the report control. The control and the data source are command parameters.

AddCalculatedField

Adds a new calculated field and invokes the Calculated Field Collection Editor window. This command is available in the ribbon toolbar.

AddCalculatedField

EditCalculatedFields

Invokes the Calculated Field Collection Editor window.

RemoveAllCalculatedFields

Removes all calculated fields from the current report.

AddParameter

Invokes the Add New Parameter dialog that allows you to create a report parameter. This command is available in the ribbon toolbar.

AddParameter

EditParameters

Invokes the Report Parameters Editor window.

RemoveAllParameters

Removes all parameters from the current report.

ShowDesignerTab

Switches the XRDesignPanel to the Designer tab.

ShowDesignerTab

ShowScriptsTab

Switches the XRDesignPanel to the Scripts tab.

ShowScriptsTab

ShowPreviewTab

Switches the XRDesignPanel to the Preview tab.

ShowPreviewTab

ShowHTMLViewTab

Switches the XRDesignPanel to the HTML View tab.

Undo

Reverses the most recent action. The command is available in the menu and on the toolbar.

Undo

Redo

Reverses the result of the previous Undo action. The command is available in the menu and on the toolbar.

Redo

Close

Closes the active Design Panel in an MDI End-User Designer form.

Close

OpenSubreport

For use only by Report and Dashboard Server.

CheckIn

For use only by Report and Dashboard Server.

CheckIn

UndoCheckOut

For use only by Report and Dashboard Server.

UndoCheckOut

OpenRemoteReport

For use only by Report and Dashboard Server.

UploadNewRemoteReport

For use only by Report and Dashboard Server.

RevertToRevision

For use only by Report and Dashboard Server.

Logout

For use only by Report and Dashboard Server.

Logout

ScriptsValidate

Checks whether report scripts contain errors. This command is available in the Script Editor‘s ribbon toolbar.

CheckIn

ScriptsSelectControl

Selects a control for specifying an event. This command is available in the Script Editor‘s ribbon toolbar.

ScriptsSelectEvent

Selects the specified events. This command is available in the Script Editor‘s ribbon toolbar.

DrawWatermark

Shows/hides the document’s watermark on the report surface. This command is available in the ribbon toolbar.

DrawWatermark

DrawGridLines

Shows/hides gridlines on the report surface. This command is available in the ribbon toolbar.

DrawGridLines

SnapToGrid

Enables/disables snapping to the snap grid. This command is available in the ribbon toolbar.

SnapLines

Enables/disables snapping using snap lines. This command is available in the ribbon toolbar.

PageSize

Sets the specified paper size for a report. This command is available in the ribbon toolbar.

PageSize

PageOrientation

Sets the portrait or landscape page layout. This command is available in the ribbon toolbar.

PageOrientation

PageMargins

Sets the specified margin sizes for a report. This command is available in the ribbon toolbar.

PageMargins

PageColor

Sets the specified background color for report pages. This command is available in the ribbon toolbar.

PageColor

PageWatermark

Inserts a ghost text or image behind the page content. This command is available in the ribbon toolbar.

PageWatermark

PageSetup

Invokes the Page Setup dialog that allows customizing the paper size and page margins. This command is available in the ribbon toolbar.

ExtractStyle

Creates a new style based on the specified control’s appearance settings. This command is available in the ribbon toolbar.

ExtractStyle

EditStyles

Invokes the Styles Editor that allows managing report styles. This command is available in the ribbon toolbar.

ShowPrintingWarnings

Highlights report controls that overrun the right page margin to warn you about extra pages when printing the document.

ShowPrintingWarnings

ShowExportWarnings

Highlights intersecting report controls to warn you about the possibility of corrupting the document layout when exporting the document to specific formats.

ShowExportWarnings

NavigateToControl

Navigates to the specified control.

NavigateToControl

ShowReportDesignAnalyzer

Invokes the Report Design Analyzer panel.

ShowReportDesignAnalyzer

AddToGallery

Adds the selected element(s) to the Report Gallery. This command is available in the context menu of report controls, styles, data sources and a report.

ApplyLayoutToReport

Applies a report layout selected in the Report Gallery to the current report. This command is available in the report layout’s context menu.

ApplyLayoutToBand

Applies a layout selected in the Report Gallery to the selected report band.

AddToReportStyleSheet

Adds a style selected in the Report Gallery to the current report’s style sheet. This command is available in the style’s context menu.

AddToReportComponents

Adds the data source selected in the Report Gallery to the current report. This command is available in a data source’s context menu.

AddGalleryFolder

Adds a new folder to the selected category of the Report Gallery. This command is available in the category context menu.

CutGalleryItem

Deletes the selected Report Gallery item and copies it to the clipboard. This command is available in the item’s context menu.

CopyGalleryItem

Copies the selected Report Gallery item to the clipboard. This command is available in the item’s context menu.

PasteGalleryItem

Adds the item from the clipboard to the Report Gallery. This command is available in a node’s context menu.

DeleteGalleryItem

Deletes the selected Report Gallery item. This command is available in the item’s context menu.

MoveGalleryItem

Moves the selected Report Gallery item to another node. The command is available in the node menu.

RenameGalleryItem

Renames the selected Report Gallery item. This command is available in the item’s context menu.

SaveGalleryAs

Saves Report Gallery templates to the specified file. This command is available in a Report Gallery’s context menu.

LoadGallery

Loads Report Gallery templates from the selected file. This command is available in a Report Gallery’s context menu.

RefreshGallery

Reloads Report Gallery templates.

FitTextToBounds

Adjusts the control’s font size to fit the control boundaries. This command is available in the context menu of XRLabel and XRTableCell and in the ribbon’s Text contextual tab.

FitTextToBounds

FitBoundsToText

Adjusts the control’s size to fit its text. This command is available in the context menu of XRLabel and XRCharacterComb and in the ribbon’s Text contextual tab.

FitBoundsToText

FitBoundsToContainer

Adjusts the control’s size to fit its parent container. This command is available in the control context menu and in the ribbon toolbar.

FitBoundsToContainer

Cut

Deletes the currently selected control(s) and copies it to the clipboard. This command is available in the menu, on the toolbar, and in the context menu.

Cut

Copy

Copies the selected control(s) to the clipboard.The command is available in the menu, on the toolbar, and in the context menu.

Copy

Paste

Adds the control(s) from the clipboard to the report.The command is available in the menu, on the toolbar, and in the context menu.

Paste

Delete

Deletes the currently selected control(s). This command is represented via the menu item and context menu item.

Delete

SelectAll

Selects all the controls in the report. This command is represented via the menu item only.

AlignLeft

Aligns the selected controls to the left. The command is available in the menu and on the toolbar.

AlignLeft

AlignTop

Aligns the tops of the selected controls. The command is available in the menu and on the toolbar.

AlignTop

AlignRight

Aligns the selected controls to the right. The command is available in the menu and on the toolbar.

AlignRight

AlignBottom

Aligns the bottoms of the selected controls. The command is available in the menu and on the toolbar.

AlignBottom

AlignVerticalCenters

Aligns the centers of the selected controls vertically. The command is available in the menu and on the toolbar.

AlignVerticalCenters

AlignHorizontalCenters

Aligns the centers of the selected controls horizontally. The command is available in the menu and on the toolbar.

AlignHorizontalCenters

AlignToGrid

Aligns the positions of the selected controls to the grid. The command is available in the menu and on the toolbar.

AlignToGrid

SizeToGrid

Resizes the selected controls to fit the grid. The command is available in the menu and on the toolbar.

SizeToGrid

SizeToControl

Resizes the selected controls to have the same size. The command is available in the menu and on the toolbar.

SizeToControl

SizeToControlHeight

Resizes the selected controls to have the same height. The command is available in the menu and on the toolbar.

SizeToControlHeight

SizeToControlWidth

Resizes the selected controls to have the same width. The command is available in the menu and on the toolbar.

SizeToControlWidth

HorizSpaceConcatenate

Removes the horizontal spacing between the selected controls. The command is available in the menu and on the toolbar.

HorizSpaceConcatenate

HorizSpaceDecrease

Decreases the horizontal spacing between the selected controls. The command is available in the menu and on the toolbar.

HorizSpaceDecrease

HorizSpaceIncrease

Increases the horizontal spacing between the selected controls. The command is available in the menu and on the toolbar.

HorizSpaceIncrease

HorizSpaceMakeEqual

Makes the horizontal spacing between the selected controls equal. The command is available in the menu and on the toolbar.

HorizSpaceMakeEqual

VertSpaceConcatenate

Removes the vertical spacing between the selected controls. The command is available in the menu and on the toolbar.

VertSpaceConcatenate

VertSpaceDecrease

Decreases the vertical spacing between the selected controls. The command is available in the menu and on the toolbar.

VertSpaceDecrease

VertSpaceIncrease

Increases the vertical spacing between the selected controls. The command is available in the menu and on the toolbar.

VertSpaceIncrease

VertSpaceMakeEqual

Makes the vertical spacing between the selected controls equal. The command is available in the menu and on the toolbar.

VertSpaceMakeEqual

CenterVertically

Vertically centers the selected controls within a band. The command is available in the menu and on the toolbar.

CenterVertically

CenterHorizontally

Horizontally centers the selected controls within a band. The command is available in the menu and on the toolbar.

CenterHorizontally

BringToFront

Brings the selected control(s) to the front.The command is available in the menu, on the toolbar, and in the context menu.

BringToFront

SendToBack

Moves the selected control(s) to the back.The command is available in the menu, on the toolbar, and in the context menu.

SendToBack

FontBold

Makes the font bold. The command is available in the menu and on the toolbar.

FontBold

FontItalic

Makes the font italic. The command is available in the menu and on the toolbar.

FontItalic

FontUnderline

Underlines the text. The command is available in the menu and on the toolbar.

FontUnderline

FontStrikeout

Crosses the text out by drawing a line through it. This command is available in the ribbon toolbar.

FontStrikeout

FontName

Sets the specified font name to the XRControl.Font property of the currently selected control(s).

FontSize

Sets the specified font size to the XRControl.Font property of the currently selected control(s).

ForeColor

Sets the foreground color of the selected control(s). The command is available in the menu and on the toolbar.

ForeColor

BackColor

Sets the background color of the selected control(s). The command is available in the menu and on the toolbar.

BackColor

StyleName

Sets the specified style name. This command is available in the ribbon toolbar.

JustifyLeft

Aligns the justified text to the left. The command is available in the menu and on the toolbar.

JustifyLeft

JustifyCenter

Centers the justified text. The command is available in the menu and on the toolbar.

JustifyCenter

JustifyRight

Aligns the justified text to the right. The command is available in the menu and on the toolbar.

JustifyRight

JustifyJustify

Justifies the text. The command is available in the menu and on the toolbar.

JustifyJustify

VertAlignTop

Aligns text to the top. This command is available in the ribbon toolbar.

VertAlignTop

VertAlignMiddle

Centers text between the top and bottom. This command is available in the ribbon toolbar.

VertAlignMiddle

VertAlignBottom

Aligns text to the bottom. This command is available in the ribbon toolbar.

VertAlignBottom

BordersAll

Adds all borders to the selected control(s). This command is available in the ribbon toolbar.

BordersAll

BordersNone

Removes borders from the selected control(s). This command is available in the ribbon toolbar.

BordersNone

BorderLeft

Adds the left border to the selected control(s). This command is available in the ribbon toolbar.

BorderLeft

BorderTop

Adds the top border to the selected control(s). This command is available in the ribbon toolbar.

BorderTop

BorderRight

Adds the right border to the selected control(s). This command is available in the ribbon toolbar.

BorderRight

BorderBottom

Adds the bottom border to the selected control(s). This command is available in the ribbon toolbar.

BorderBottom

BorderColor

Sets the specified border color. This command is available in the ribbon toolbar.

BorderColor

BorderWidth

Sets the specified border width. This command is available in the ribbon toolbar.

BorderWidth

BorderDashStyle

Sets the specified border dash style. This command is available in the ribbon toolbar.

InsertTopMarginBand

Inserts the Top Margin band into a report. This command is represented via the context menu item only.

InsertBottomMarginBand

Inserts the Bottom Margin band into a report. This command is represented via the context menu item only.

InsertReportHeaderBand

Inserts the Report Header band into a report. This command is represented via the context menu item only.

InsertReportFooterBand

Inserts the Report Footer band into a report. This command is represented via the context menu item only.

InsertPageHeaderBand

Inserts the Page Header band into a report. This command is represented via the context menu item only.

InsertPageFooterBand

Inserts the Page Footer band into a report. This command is represented via the context menu item only.

InsertGroupHeaderBand

Inserts the Group Header band into a report. This command is represented via the context menu item only.

InsertGroupFooterBand

Inserts the Group Footer band into a report. This command is represented via the context menu item only.

InsertDetailBand

Inserts the Detail band into a report. This command is represented via the context menu item only.

InsertDetailReport

Inserts the Detail Report band into a report. This command is represented via the context menu item only.

InsertVerticalDetailBand

Inserts the Vertical Detail band into a report. This command is available in the context menu item only.

InsertVerticalHeaderBand

Inserts the Vertical Header band into a report. This command is available in the context menu item only.

InsertVerticalTotalBand

Inserts the Vertical Total band into a report. This command is available in the context menu item only.

InsertSubBand

Inserts a SubBand into a report. This command is available from the context menu only. It is not available in TopMarginBand, BottomMarginBand and VerticalBand.

BandMoveUp

The Move Up item of the context menu for the following bands: GroupHeaderBand, GroupFooterBand, or DetailReportBand.

BandMoveDown

The Move Down item of the context menu for the following bands: GroupHeaderBand, GroupFooterBand, or DetailReportBand.

BandExpandAll

Expands all bands in the design area.

BandExpandAll

BandCollapseAll

Collapses all bands in the design area.

BandCollapseAll

BandCollapseAllButSelected

Collapses all bands in the design area except the current band.

BandCollapseAllButSelected

TableSelectTable

Selects the entire table. This command is available in the Table‘s ribbon contextual tabs.

TableSelectTable

TableSelectRow

Selects the current row. This command is available in the Table‘s ribbon contextual tabs.

TableSelectRow

TableSelectColumn

Selects the current column. This command is available in the Table‘s ribbon contextual tabs.

TableSelectColumn

TableInsertRowAbove

Adds a new row directly above the current row. This command is available in the table element’s context menu and in the Table‘s ribbon contextual tabs.

TableInsertRowAbove

TableInsertRowBelow

Adds a new row directly below the current row. This command is available in the table element’s context menu and in the Table‘s ribbon contextual tabs.

TableInsertRowBelow

TableInsertColumnToLeft

Adds a new column directly to the left of the current column. This command is available in the table element’s context menu and in the Table‘s ribbon contextual tabs.

TableInsertColumnToLeft

TableInsertColumnToRight

Adds a new column directly to the right of the current column. This command is available in the table element’s context menu and in the Table‘s ribbon contextual tabs.

TableInsertColumnToRight

TableInsertCell

Inserts a table cell to the right of the currently selected cell. This command is available in the table cell’s context menu.

TableSplitCells

Splits the selected cells into the specified number of rows or columns. This command is available in the Table‘s ribbon contextual tabs.

TableSplitCells

TableMergeCells

Merges multiple selected cells into one cell. This command is available in the Table‘s ribbon contextual tabs.

TableMergeCells

TableDeleteTable

Deletes the entire table. This command is available in the table cell’s context menu and in the Table‘s ribbon contextual tabs.

TableDeleteTable

TableDeleteRow

Deletes the currently selected table row. This command is available in the table element’s context menu and in the Table‘s ribbon contextual tabs.

TableDeleteRow

TableDeleteColumn

Deletes the currently selected table column. This command is available in the table element’s context menu and in the Table‘s ribbon contextual tabs.

TableDeleteColumn

TableDeleteCell

Deletes the currently selected table cell. This command is available in the table cell’s context menu and in the Table‘s ribbon contextual tabs.

TableDeleteCell

TableDistributeRowsEvenly

Distributes selected table rows so that they have the same size. This command is available in the context menu of a table, rows and multiple selected table elements as well as in the Table‘s ribbon contextual tabs.

TableDistributeRowsEvenly

TableDistributeColumnsEvenly

Distributes selected table columns so that they have the same size. This command is available in the context menu of a table, rows and multiple selected table elements as well as in the Table‘s ribbon contextual tabs.

TableDistributeColumnsEvenly

TableConvertToLabels

Converts the selected XRTableCell objects to XRLabel controls.

TableConvertToLabels

BindFieldToXRLabel

Specifies the Label item in the context menu invoked when the user drags a Field List item with the right mouse button and drops the item onto the design area.

ReportCommand.BindFieldToXRLabel.png

BindFieldToXRPictureBox

Specifies the Picture Box item in the context menu invoked when the user drags a Field List item with the right mouse button and drops the item onto the design area.

ReportCommand.BindFieldToXRPictureBox.png

BindFieldToXRRichText

Specifies the Rich Text item in the context menu invoked when the user drags a Field List item with the right mouse button and drops the item onto the design area.

ReportCommand.BindFieldToXRRichText.png

BindFieldToXRCheckBox

Specifies the Check Box item in the context menu invoked when the user drags a Field List item with the right mouse button and drops the item onto the design area.

ReportCommand.BindFieldToXRCheckBox.png

BindFieldToXRBarCode

Specifies the Barcode item in the context menu invoked when the user drags a Field List item with the right mouse button and drops the item onto the design area.

ReportCommand.BindFieldToXRBarCode.png

BindFieldToXRZipCode

Specifies the Zip Code item in the context menu invoked when the user drags a Field List item with the right mouse button and drops the item onto the design area. The XRZipCode control and this command are currently hidden.

PropertiesWindow

Invokes the Properties window for the currently selected control(s).

BarCodeAutoModule

Enables/disables automatic calculation of the bar width depending on the bar code size. This command is available in the Bar Code‘s ribbon contextual tab.

BarCodeAutoModule

BarCodeShowText

Displays/hides accompanying text in a bar code. This command is available in the Bar Code‘s ribbon contextual tab.

BarCodeShowText

BarCodeSymbology

Sets the specified bar code symbology. This command is available in the Bar Code‘s ribbon contextual tab.

ChartRunDesigner

Runs the Chart Designer that allows creating and editing properties of a chart and its elements. This command is available in the Chart‘s ribbon contextual tab.

ChartRunDesigner

ChartAddDataSource

Invokes the Data Source Wizard to set up a data source for a chart. This command is available in the Chart‘s ribbon contextual tab.

AddNewDataSource

ChartLoad

Invokes the Open dialog that allows you to load a chart from an XML file. This command is available in the Chart‘s ribbon contextual tab.

ChartLoad

ChartSave

Invokes the Save dialog that allows you to save a chart to an XML file. This command is available in the Chart‘s ribbon contextual tab.

ChartSave

ChartAddSeriesViewBar

Adds a bar series to a chart to display values as vertical columns grouped by categories. This command is available in the Chart‘s ribbon contextual tab.

ChartAddSeriesViewBar

ChartAddSeriesViewLine

Adds a line series to a chart to show line trends over time or categories. This command is available in the Chart‘s ribbon contextual tab.

ChartAddSeriesViewLine

ChartAddSeriesViewArea

Adds an area series to a chart to display values as a filled area with peaks and hollows. This command is available in the Chart‘s ribbon contextual tab.

ChartAddSeriesViewArea

ChartAddSeriesViewRange

Adds a series to a chart to display a range of values with the minimum and maximum limits. This command is available in the Chart‘s ribbon contextual tab.

ChartAddSeriesViewRange

ChartAddSeriesViewPieAndDoughnut

Adds a series to a chart to display the percentage values of different point arguments to compare their significance. This command is available in the Chart‘s ribbon contextual tab.

ChartAddSeriesViewPieAndDoughnut

ChartAddSeriesViewRadarAndPolar

Adds a series to a chart to display values as a circular graph. This command is available in the Chart‘s ribbon contextual tab.

ChartAddSeriesViewRadarAndPolar

ChartAddSeriesViewOther

Adds the specified series to a chart. This command is available in the Chart‘s ribbon contextual tab.

ChartAddSeriesViewOther

ChartEditSeries

Invokes the Series Collection Editor that allows managing chart series. This command is available in the Chart‘s ribbon contextual tab.

ChartRemoveSeries

Removes the specified series from a chart. This command is available in the Chart‘s ribbon contextual tab.

Delete

ChartAddTextAnnotation

Adds a text annotation to a chart. This command is available in the Chart‘s ribbon contextual tab.

ChartAddTextAnnotation

ChartAddImageAnnotation

Adds an image annotation to a chart. This command is available in the Chart‘s ribbon contextual tab.

ChartAddImageAnnotation

ChartEditAnnotations

Invokes the Annotation Collection Editor that allows managing a chart’s text and image annotations. This command is available in the Chart‘s ribbon contextual tab.

ChartRemoveAnnotation

Removes the specified annotation from a chart. This command is available in the Chart‘s ribbon contextual tab.

Delete

ChartAppearanceName

Sets the specified appearance name for a chart. This command is available in the Chart‘s ribbon contextual tab.

ChartPaletteName

Sets the specified palette for painting a chart’s series. This command is available in the Chart‘s ribbon contextual tab.

ChartPaletteName

ChartEditPalettes

Invokes the Palettes Collection Editor that allows managing chart palettes. This command is available in the Chart‘s ribbon contextual tab.

PivotGridRunDesigner

Runs the Pivot Grid Designer that allows customizing fields, the control’s layout, appearance settings and printing options. This command is available in the Pivot Grid)’s ribbon contextual tab.

PivotGridRunDesigner

PivotGridAddDataSource

Runs the Data Source Wizard that allows you to set up a data source for a Pivot Grid. This command is available in the Pivot Grid’s ribbon contextual tab.

AddNewDataSource

PivotGridAddField

Adds a new Pivot Grid field to the specified header area. This command is available in the Pivot Grid’s ribbon contextual tab.

PivotGridAddField

PivotGridRemoveField

Removes the selected Pivot Grid field. This command is available in the Pivot Grid’s ribbon contextual tab.

Delete

PivotGridVerticalLines

Prints/hides vertical grid lines. This command is available in the Pivot Grid’s ribbon contextual tab.

PivotGridVerticalLines

PivotGridHorizontalLines

Prints/hides horizontal grid lines. This command is available in the Pivot Grid’s ribbon contextual tab.

PivotGridHorizontalLines

PivotGridDataHeaders

Prints/hides data field headers. This command is available in the Pivot Grid’s ribbon contextual tab.

PivotGridDataHeaders

PivotGridColumnHeaders

Prints/hides column field headers. This command is available in the Pivot Grid’s ribbon contextual tab.

PivotGridColumnHeaders

PivotGridRowHeaders

Prints/hides row field headers. This command is available in the Pivot Grid’s ribbon contextual tab.

PivotGridRowHeaders

PivotGridColumnAreaOnEveryPage

Prints column headers on every page. This command is available in the Pivot Grid’s ribbon contextual tab.

PivotGridColumnAreaOnEveryPage

PivotGridRowAreaOnEveryPage

Prints row headers on every page. This command is available in the Pivot Grid’s ribbon contextual tab.

PivotGridRowAreaOnEveryPage

ShapeType

Sets the specified shape type. This command is available in the Shape‘s ribbon contextual tab.

ShapeStretch

Stretches a shape to fill its entire area when it is rotated. This command is available in the Shape‘s ribbon contextual tab.

ShapeStretch

SparklineAddDataSource

Runs the Data Source Wizard that allows you to set up a data source for a sparkline. This command is available in the Sparkline‘s ribbon contextual tab.

AddNewDataSource

SparklineView

Sets the specified sprakline view. This command is available in the Sparkline‘s ribbon contextual tab.

LabelWordWrap

Enables/disables the selected control(s) to wrap their text if it does not fit a line. This command is available in the ribbon’s Text contextual tab.

LabelAutoWidth

Enables/disables the selected control(s) to adjust their width to fit their content. This command is available in the ribbon’s Text contextual tab.

LabelCanGrow

Enables/disables the selected controls to increase their height to fit their content. This command is available in the ribbon’s Text contextual tab.

LabelCanShrink

Enables/disables the selected control(s) to decrease their height to fit their content. This command is available in the ribbon’s Text contextual tab.

LabelsConvertToTable

Converts selected labels to the table.

LabelsConvertToTable

CharacterCombCellWidth

Sets the specified character comb cell width. This command is available in the Character Comb‘s ribbon contextual tab.

CharacterCombCellHeight

Sets the specified character comb cell height. This command is available in the Character Comb‘s ribbon contextual tab.

CharacterCombCellAutoWidth

Enables/disables automatic adjusting of the character comb cell width depending on the current font size. This command is available in the Character Comb‘s ribbon contextual tab.

CharacterCombCellAutoHeight

Enables/disables automatic adjusting of the character comb cell height depending on the current font size. This command is available in the Character Comb‘s ribbon contextual tab.

CharacterCombCellHorizontalSpacing

Sets the specified horizontal spacing between adjacent character comb cells. This command is available in the Character Comb‘s ribbon contextual tab.

CharacterCombCellVerticalSpacing

Sets the specified vertical spacing between adjacent character comb cells. This command is available in the Character Comb‘s ribbon contextual tab.

GaugeViewTypeStyle

Sets the specified view style for a gauge. This command is available in the Gauge‘s ribbon contextual tab.

GaugeViewThemeLight

Sets the Flat Light color theme for a gauge. This command is available in the Gauge‘s ribbon contextual tab.

GaugeViewThemeDark

Sets the Flat Dark color theme for a gauge. This command is available in the Gauge‘s ribbon contextual tab.

Language

Sets the report locale (language) for localization.

ShowLocalizableProperties

Filters the Properties panel to display the localizable properties.

KeyMoveLeft

Moves the selected control(s) to the left as they were moved by the Left Arrow key. Note that if you hide this command, an end-user will still be able to move controls by the Left Arrow key.

KeyMoveRight

Moves the selected control(s) to the right as they were moved by the Right Arrow key. Note that if you hide this command, an end-user will still be able to move controls by the Right Arrow key.

KeyMoveUp

Moves the selected control(s) to the top as they were moved by the Up Arrow key. Note that if you hide this command, an end-user will still be able to move controls by the Up Arrow key.

KeyMoveDown

Moves the selected control(s) to the bottom as they were moved by the Down Arrow key. Note that if you hide this command, an end-user will still be able to move controls by the Down Arrow key.

KeyNudgeLeft

Moves the selected control(s) to the left by one report unit as they have been moved using the Ctrl+Left Arrow key. Note that if you hide this command, an end-user will still be able to move controls by the Ctrl+Left Arrow key.

KeyNudgeRight

Moves the selected control(s) to the right by one report unit as they have been moved using the Ctrl+Right Arrow key. Note that if you hide this command, an end-user will still be able to move controls by the Ctrl+Right Arrow key.

KeyNudgeUp

Moves the selected control(s) to the top by one report unit as they have been moved using the Ctrl+Up Arrow key. Note that if you hide this command, an end-user will still be able to move controls by the Ctrl+Up Arrow key.

KeyNudgeDown

Moves the selected control(s) to the bottom by one report unit as they have been moved using the Ctrl+Down Arrow keys. Note that if you hide this command, an end-user will still be able to move controls by the Ctrl+Down Arrow key.

KeySizeWidthDecrease

Decreases the selected control’s width when users press the Shift+Left Arrow keys. The decrease depends on the report’s SnappingMode property value:
* None - decreases the width by the ReportUnit value;
* SnapLines - decreases the width to the nearest snap position;
* SnapGrid - decreases the width to the nearest grid line;
* SnapToGridAndSnapLines - decreases the width to the nearest grid line or snap position.
If you hide this command, users can still decrease the controls’ width with the Shift+Left Arrow keys.

KeySizeWidthIncrease

Increases the selected control’s width when users press the Shift+Right Arrow keys. The increase depends on the report’s SnappingMode property value:
* None - increases the width by the ReportUnit value;
* SnapLines - increases the width to the nearest snap position;
* SnapGrid - increases the width to the nearest grid line;
* SnapToGridAndSnapLines - increases the width to the nearest grid line or snap position.
If you hide this command, users can still increase the controls’ width with the Shift+Right Arrow keys.

KeySizeHeightDecrease

Decreases the selected control’s height when users press the Shift+Up Arrow keys. The decrease depends on the report’s SnappingMode property value:
* None - decreases the height by the ReportUnit value;
* SnapLines - decreases the height to the nearest snap position;
* SnapGrid - decreases the height to the nearest grid line;
* SnapToGridAndSnapLines - decreases the height to the nearest grid line or snap position.
If you hide this command, users can still decrease the controls height with the Shift+Up Arrow keys.

KeySizeHeightIncrease

Increases the selected control’s height when users press the Shift+Down Arrow keys. The increase depends on the report’s SnappingMode property value:
* None - increases the height by the ReportUnit value;
* SnapLines - increases the height to the nearest snap position;
* SnapGrid - increases the height to the nearest grid line;
* SnapToGridAndSnapLines - increases the height to the nearest grid line or snap position.
If you hide this command, users can still increase the controls height with the Shift+Down Arrow keys.

KeyNudgeWidthDecrease

Decreases the width of the selected control(s) by one report unit as it has been decreased using the Ctrl+Shift+Left Arrow keys. Note that if you hide this command, an end-user will still be able to decrease the controls width by the Ctrl+Shift+Left Arrow keys.

KeyNudgeWidthIncrease

Increases the width of the selected control(s) by one report unit as it has been increased using the Ctrl+Shift+Right Arrow keys. Note that if you hide this command, an end-user will still be able to increase the controls width by the Ctrl+Shift+Right Arrow keys.

KeyNudgeHeightDecrease

Decreases the height of the selected control(s) by one report unit as it has been decreased using the Ctrl+Shift+Up Arrow keys. Note that if you hide this command, an end-user will still be able to decrease the controls height by the Ctrl+Shift+Up Arrow keys.

KeyNudgeHeightIncrease

Increases the height of the selected control(s) by one report unit as it has been increased using the Ctrl+Shift+Down Arrow keys. Note that if you hide this command, an end-user will still be able to increase the controls height by the Ctrl+Shift+Down Arrow keys.

KeySelectNext

Selects a control which is next to the currently selected control in the tab order, as it was selected by the Tab key. Note that if you hide this command, an end-user will still be able to move the controls selection by the Tab key.

KeySelectPrevious

Selects a control which is previous to the currently selected control in the tab order, as it was selected by the Shift+Tab keys. Note that if you hide this command, an end-user will still be able to move the controls selection by the Shift+Tab keys.

KeyCancel

Performs the Cancel action, the same as the one which should be performed if an end-user has pressed the Cancel key.

KeyDefaultAction

Performs the Default action, the same as the one which should be performed if an end-user has pressed the Enter key.

VerbReportWizard

Invokes the XtraReports Wizard for the current report, as though it has been invoked by the “Design in Report Wizard…” context link. Note that if you hide this command, then this verb will become unavailable.

VerbEditBands

Invokes the Report Editor dialog, as though it has been invoked by the “Edit and Reorder Bands” context link. Note that if you hide this command, then this verb will become unavailable.

VerbEditLocalization

Invokes the Localization Editor.

VerbEditText

Invokes the in-place editor for the currently selected control, as though it has been invoked by the “Edit Text” context link. Note that if you hide this command, then this verb will become unavailable, but an end-user will still be able to invoke the in-place editor by double-clicking the control.

VerbRtfLoadFile

Invokes the Open File dialog for the currently selected XRRichText control to load a RTF file.

VerbRtfSaveFile

Invokes the Save As dialog for the currently selected XRRichText control to save its content in RTF file.

VerbRtfClear

Clears the RTF contents of the currently selected control (if it is the XRRichText one), as though it has been cleared by the “Clear” context link. Note that if you hide this command, then this verb will become unavailable.

VerbPivotGridDesigner

Invokes the Designer for the currently selected XRPivotGrid control, as though it has been invoked by the “Run Designer…” context link. Note that if you hide this command, then this verb will become unavailable for all pivot grid controls.

VerbLoadReportTemplate

Invokes the Report Templates dialog, as though it has been invoked by the “Load Report Template…” context link. Note that if you hide this command, then this verb will become unavailable.

VerbEditBindings

Invokes the Edit Bindings dialog, as though it has been invoked by the “Edit Bindings…” context link. Note that if you hide this command, then this verb will become unavailable.

VerbConvertToExpressions

Invokes the dialog that converts a report to use expression bindings instead of the legacy data bindings.

VerbImport

Runs the Import dialog.

VerbExport

For internal use.

VerbExecute

For internal use.

Zoom

Sets the specified zoom value.

Zoom

ZoomIn

Zooms in the report design surface by 10%.

ZoomIn

ZoomOut

Zooms out the report design surface by 10%.

ZoomOut

HtmlRefresh

Refreshes the current page in the HTML browser. This command is represented on the HTML View Ribbon page of the End-User Designer with a Ribbon only.

HtmlRefresh

HtmlBackward

Moves the HTML browser backward to the previous page. This command is represented on the HTML View Ribbon page of the End-User Designer with a Ribbon only.

HtmlBackward

HtmlForward

Moves the HTML browser forward to the previous page. This command is represented on the HTML View Ribbon page of the End-User Designer with a Ribbon only.

HtmlForward

HtmlHome

Displays the Home page in the HTML browser. This command is represented on the HTML View Ribbon page of the End-User Designer with a Ribbon only.

HtmlHome

HtmlFind

Finds the text on the HTML page. This command is represented on the HTML View Ribbon page of the End-User Designer with a Ribbon only.

HtmlFind

Remarks

The enumeration members specify commands associated with a toolbar button, menu item, context menu item, or a context link in the End-User Designer window.

The following methods use the ReportCommand enumeration:

XRDesignPanel.SetCommandVisibility
Changes the visibility state of the specified report command in the End-User Designer.
XRDesignPanel.GetCommandEnabled
Determines whether the specified report command is currently enabled in the End-User Designer.
XRDesignPanel.GetCommandVisibility
Gets the visibility state of the specified report command in the Design Panel.
XRDesignPanel.ExecCommand
Executes the specified report command and passes the specified parameters to it.

When the End-User Report Designer loads a report, you can call the XRDesignPanel.ExecCommand method to execute a command. The following code creates and displays the End-User Designer for WinForms, loads an empty report and executes a command to invoke the Page Setup dialog:

using DevExpress.XtraReports.UI;
using DevExpress.XtraReports.UserDesigner;
// ...            
  ReportDesignTool designTool = new ReportDesignTool(new XtraReport());
  designTool.ShowDesigner();
  XRDesignPanel panel = designTool.DesignForm.DesignMdiController.ActiveDesignPanel;
  panel.ExecCommand(ReportCommand.PageSetup);

Example

This example illustrates how to hide some of the Report Designer commands by calling the XRDesignMdiController.SetCommandVisibility method of a Design form’s XRDesignMdiController.

using DevExpress.XtraReports.UI;
using DevExpress.XtraReports.UserDesigner;
// ...

private void button1_Click(object sender, System.EventArgs e) {
    // Create a Design Tool with an assigned report instance.
    ReportDesignTool designTool = new ReportDesignTool(new XtraReport1());

    // Access the standard or ribbon-based Designer form and its MDI Controller.
    // IDesignForm designForm = designTool.DesignForm;
    IDesignForm designForm = designTool.DesignRibbonForm;
    XRDesignMdiController mdiController = designForm.DesignMdiController;

    // Hide the "New with Wizard..." item on the File menu,
    // and the "Design in Report Wizard..." item in the report's smart tag.
    mdiController.SetCommandVisibility(ReportCommand.NewReportWizard, CommandVisibility.None);
    mdiController.SetCommandVisibility(ReportCommand.VerbReportWizard, CommandVisibility.None);

    // Load a Report Designer in a dialog window.
    // designTool.ShowDesignerDialog();
    designTool.ShowRibbonDesignerDialog();
}
See Also