ReportViewer Members
Encapsulates the methods and properties used for the ReportViewer control.
The following tables list the members exposed by the ReportViewer type.
Public Constructors
Name | Description | |
---|---|---|
ReportViewer | Constructs a ReportViewer object. |
Top
Public Fields
Name | Description | |
---|---|---|
MaximumPageCount | A constant that represents the maximum number of pages in a report when the current page count mode is Estimate. |
Top
Public Properties
(see also Protected Properties )
Name | Description | |
---|---|---|
AccessibilityObject | (Inherited from Control.) | |
AccessibleDefaultActionDescription | (Inherited from Control.) | |
AccessibleDescription | (Inherited from Control.) | |
AccessibleName | (Inherited from Control.) | |
AccessibleRole | (Inherited from Control.) | |
ActiveControl | (Inherited from ContainerControl.) | |
AllowDrop | (Inherited from Control.) | |
Anchor | (Inherited from Control.) | |
AutoScaleDimensions | (Inherited from ContainerControl.) | |
AutoScaleMode | (Inherited from ContainerControl.) | |
AutoScroll | (Inherited from ScrollableControl.) | |
AutoScrollMargin | (Inherited from ScrollableControl.) | |
AutoScrollMinSize | (Inherited from ScrollableControl.) | |
AutoScrollOffset | (Inherited from Control.) | |
AutoScrollPosition | (Inherited from ScrollableControl.) | |
AutoSize | (Inherited from UserControl.) | |
AutoSizeMode | (Inherited from UserControl.) | |
AutoValidate | (Inherited from UserControl.) | |
BackColor | Overridden. Gets or sets the background color of the control's report area. | |
BackgroundImage | Overridden. Gets or sets the background image of the ReportViewer control. | |
BackgroundImageLayout | Overridden. Gets or sets the layout for the background image of the ReportViewer control. | |
BindingContext | (Inherited from ContainerControl.) | |
BorderStyle | Gets or sets the border style of the ReportViewer control. | |
Bottom | (Inherited from Control.) | |
Bounds | (Inherited from Control.) | |
CanFocus | (Inherited from Control.) | |
CanSelect | (Inherited from Control.) | |
Capture | (Inherited from Control.) | |
CausesValidation | (Inherited from Control.) | |
CheckForIllegalCrossThreadCalls | (Inherited from Control.) | |
ClientRectangle | (Inherited from Control.) | |
ClientSize | (Inherited from Control.) | |
CompanyName | (Inherited from Control.) | |
Container | (Inherited from Component.) | |
ContainsFocus | (Inherited from Control.) | |
ContextMenu | (Inherited from Control.) | |
ContextMenuStrip | (Inherited from Control.) | |
Controls | (Inherited from Control.) | |
Created | (Inherited from Control.) | |
CurrentAutoScaleDimensions | (Inherited from ContainerControl.) | |
CurrentPage | Gets or sets the current page of the ReportViewer control's active report. | |
CurrentStatus | Gets a ReportViewerStatus object that indicates which operations can currently be performed on the ReportViewer control, the status of the prompt area, and the status of the document map area. | |
Cursor | (Inherited from Control.) | |
DataBindings | (Inherited from Control.) | |
DefaultBackColor | (Inherited from Control.) | |
DefaultFont | (Inherited from Control.) | |
DefaultForeColor | (Inherited from Control.) | |
DisplayMode | Gets a DisplayMode value that indicates the current display mode of the ReportViewer control. | |
DisplayRectangle | (Inherited from ScrollableControl.) | |
Disposing | (Inherited from Control.) | |
Dock | (Inherited from Control.) | |
DockPadding | (Inherited from ScrollableControl.) | |
DocumentMapCollapsed | Gets or sets the collapsed state of the document map. | |
DocumentMapWidth | Gets or sets the width of the document map in pixels. | |
Enabled | (Inherited from Control.) | |
Focused | (Inherited from Control.) | |
Font | (Inherited from Control.) | |
ForeColor | (Inherited from Control.) | |
Handle | (Inherited from Control.) | |
HasChildren | (Inherited from Control.) | |
Height | (Inherited from Control.) | |
HorizontalScroll | (Inherited from ScrollableControl.) | |
ImeMode | (Inherited from Control.) | |
InvokeRequired | (Inherited from Control.) | |
IsAccessible | (Inherited from Control.) | |
IsDisposed | (Inherited from Control.) | |
IsDocumentMapWidthFixed | Indicates whether the size of the document map panel is fixed or changes when the viewer resizes. | |
IsHandleCreated | (Inherited from Control.) | |
IsMirrored | (Inherited from Control.) | |
KeepSessionAlive | Gets or sets a Boolean value that indicates whether to keep the report server session from expiring as long as ReportViewer is running. | |
LayoutEngine | (Inherited from Control.) | |
Left | (Inherited from Control.) | |
LocalReport | Returns the local report in the ReportViewer control. | |
Location | (Inherited from Control.) | |
Margin | (Inherited from Control.) | |
MaximumSize | (Inherited from Control.) | |
Messages | Gets or sets an object that contains custom messages for use by the ReportViewer control. | |
MinimumSize | (Inherited from Control.) | |
ModifierKeys | (Inherited from Control.) | |
MouseButtons | (Inherited from Control.) | |
MousePosition | (Inherited from Control.) | |
Name | (Inherited from Control.) | |
Padding | (Inherited from Control.) | |
PageCountMode | Gets or sets a PageCountMode enumeration value that indicates the default page count mode to use when rendering a report in the report area. | |
Parent | (Inherited from Control.) | |
ParentForm | (Inherited from ContainerControl.) | |
PreferredSize | (Inherited from Control.) | |
PrinterSettings | Gets or sets a PrinterSettings object that contains the settings for the default printer and print options that are used to initialize the Print dialog and the printer's Preferences dialog. | |
ProcessingMode | Gets or sets the processing mode of the ReportViewer control. | |
ProductName | (Inherited from Control.) | |
ProductVersion | (Inherited from Control.) | |
PromptAreaCollapsed | Gets or sets the collapsed state of the parameter prompt area or the credentials prompt area. | |
RecreatingHandle | (Inherited from Control.) | |
Region | (Inherited from Control.) | |
Right | (Inherited from Control.) | |
RightToLeft | (Inherited from Control.) | |
SearchState | Gets the search text and the start page of the current report search operation. | |
ServerReport | Gets a server report in the Report Viewer. | |
ShowBackButton | Indicates whether the Back button is visible on the control. | |
ShowContextMenu | Indicates whether the Context menu is visible. | |
ShowCredentialPrompts | Indicates whether prompts for user credentials will be displayed. | |
ShowDocumentMapButton | Indicates whether the button that shows and collapses the document map is visible on the split bar. | |
ShowExportButton | Indicates whether the Export button is visible on the control. | |
ShowFindControls | Indicates whether the Find text box is visible on the control. | |
ShowPageNavigationControls | Indicates whether the page navigation controls are visible. | |
ShowParameterPrompts | Indicates whether parameter prompts are visible. | |
ShowPrintButton | Gets or sets a value that indicates whether the Print button is visible. | |
ShowProgress | Indicates whether progress animation is displayed during report processing. | |
ShowPromptAreaButton | Indicates whether the button that shows and collapses the prompt area is visible on the split bar. | |
ShowRefreshButton | Indicates whether the Refresh button is visible. | |
ShowStopButton | Indicates whether the Stop button is visible. | |
ShowToolBar | Indicates whether the Toolbar is visible. | |
ShowZoomControl | Indicates whether the Zoom list box is visible. | |
Site | (Inherited from Control.) | |
Size | (Inherited from Control.) | |
TabIndex | (Inherited from Control.) | |
TabStop | (Inherited from Control.) | |
Tag | (Inherited from Control.) | |
Text | (Inherited from UserControl.) | |
ToolStripRenderer | Gets or sets the ToolStripRenderer used to customize the look and feel of the ReportViewer control's toolbar as well as the context menu on the report. | |
Top | (Inherited from Control.) | |
TopLevelControl | (Inherited from Control.) | |
UseWaitCursor | (Inherited from Control.) | |
VerticalScroll | (Inherited from ScrollableControl.) | |
Visible | (Inherited from Control.) | |
WaitControlDisplayAfter | Gets or sets the delay in milliseconds before the busy status indicator is displayed to the user. | |
Width | (Inherited from Control.) | |
WindowTarget | (Inherited from Control.) | |
ZoomCalculated | Gets the page zoom that is calculated based on the zoom mode. | |
ZoomMode | Gets or sets the zoom mode of the control. | |
ZoomPercent | Gets or sets the percentage of zoom used for the report display. |
Top
Protected Properties
Top
Public Methods
(see also Protected Methods )
Name | Description | |
---|---|---|
BeginInvoke | Overloaded. (Inherited from Control.) | |
BringToFront | (Inherited from Control.) | |
CancelRendering | Stops background processing of the report. | |
Clear | Clears the report view and fills it with the background color of the control. | |
Contains | (Inherited from Control.) | |
CreateControl | (Inherited from Control.) | |
CreateGraphics | (Inherited from Control.) | |
CreateObjRef | (Inherited from MarshalByRefObject.) | |
Dispose | Overloaded. | |
DoDragDrop | (Inherited from Control.) | |
DrawToBitmap | (Inherited from Control.) | |
EndInvoke | (Inherited from Control.) | |
Equals | Overloaded. (Inherited from Object.) | |
ExportDialog | Overloaded. Opens in the Exporting dialog box. | |
Find | Searches the report for the specified text string. | |
FindForm | (Inherited from Control.) | |
FindNext | Continues the search for the specified text string. | |
Focus | (Inherited from Control.) | |
FromChildHandle | (Inherited from Control.) | |
FromHandle | (Inherited from Control.) | |
GetChildAtPoint | Overloaded. (Inherited from Control.) | |
GetContainerControl | (Inherited from Control.) | |
GetHashCode | (Inherited from Object.) | |
GetLifetimeService | (Inherited from MarshalByRefObject.) | |
GetNextControl | (Inherited from Control.) | |
GetPageSettings | Returns the page settings that are used to print the current report in the ReportViewer control or display it in print layout mode. | |
GetPreferredSize | (Inherited from Control.) | |
GetTotalPages | Overloaded. Returns the total number of pages in the report. | |
GetType | (Inherited from Object.) | |
Hide | (Inherited from Control.) | |
InitializeLifetimeService | (Inherited from MarshalByRefObject.) | |
Invalidate | Overloaded. (Inherited from Control.) | |
Invoke | Overloaded. (Inherited from Control.) | |
IsKeyLocked | (Inherited from Control.) | |
IsMnemonic | (Inherited from Control.) | |
JumpToBookmark | Moves the report to the specified bookmark. | |
JumpToDocumentMapId | Moves to the specified area of the document map. | |
PageSetupDialog | Opens the page setup dialog box. | |
PerformAutoScale | (Inherited from ContainerControl.) | |
PerformBack | Navigates the report viewer control back to the parent report from a drillthrough report. | |
PerformLayout | Overloaded. (Inherited from Control.) | |
PointToClient | (Inherited from Control.) | |
PointToScreen | (Inherited from Control.) | |
PreProcessControlMessage | (Inherited from Control.) | |
PreProcessMessage | (Inherited from Control.) | |
PrintDialog | Overloaded. Displays the Print dialog box. | |
RectangleToClient | (Inherited from Control.) | |
RectangleToScreen | (Inherited from Control.) | |
ReferenceEquals | (Inherited from Object.) | |
Refresh | (Inherited from Control.) | |
RefreshReport | Causes the current report in the Report Viewer to be processed and rendered. | |
Reset | Resets the control to its default values. | |
ResetBackColor | (Inherited from Control.) | |
ResetBindings | (Inherited from Control.) | |
ResetCursor | (Inherited from Control.) | |
ResetFont | (Inherited from Control.) | |
ResetForeColor | (Inherited from Control.) | |
ResetImeMode | (Inherited from Control.) | |
ResetPageSettings | Reverts the page settings for the current report in the ReportViewer control to the settings in the report definition. | |
ResetRightToLeft | (Inherited from Control.) | |
ResetText | (Inherited from Control.) | |
ResumeLayout | Overloaded. (Inherited from Control.) | |
Scale | Overloaded. (Inherited from Control.) | |
ScrollControlIntoView | (Inherited from ScrollableControl.) | |
Select | Overloaded. (Inherited from ContainerControl.) | |
SelectNextControl | (Inherited from Control.) | |
SendToBack | (Inherited from Control.) | |
SetAutoScrollMargin | (Inherited from ScrollableControl.) | |
SetBounds | Overloaded. (Inherited from Control.) | |
SetDisplayMode | Sets the control display to normal or print preview mode. | |
SetPageSettings | Sets the page settings that are used to print the current report in the ReportViewer control or display it in print layout mode. | |
Show | (Inherited from Control.) | |
SuspendLayout | (Inherited from Control.) | |
ToString | (Inherited from Component.) | |
Update | (Inherited from Control.) | |
Validate | Overloaded. (Inherited from ContainerControl.) | |
ValidateChildren | Overloaded. (Inherited from UserControl.) |
Top
Protected Methods
Top
Public Events
Name | Description | |
---|---|---|
AutoSizeChanged | (Inherited from UserControl.) | |
AutoValidateChanged | (Inherited from UserControl.) | |
Back | Occurs when a user navigates back to a parent report from a drillthrough report. | |
BackColorChanged | (Inherited from Control.) | |
BackgroundImageChanged | (Inherited from Control.) | |
BackgroundImageLayoutChanged | (Inherited from Control.) | |
BindingContextChanged | (Inherited from Control.) | |
BookmarkNavigation | Occurs when the user navigates to a bookmark in a report. | |
CausesValidationChanged | (Inherited from Control.) | |
ChangeUICues | (Inherited from Control.) | |
Click | (Inherited from Control.) | |
ClientSizeChanged | (Inherited from Control.) | |
ContextMenuChanged | (Inherited from Control.) | |
ContextMenuStripChanged | (Inherited from Control.) | |
ControlAdded | (Inherited from Control.) | |
ControlRemoved | (Inherited from Control.) | |
CursorChanged | (Inherited from Control.) | |
Disposed | (Inherited from Component.) | |
DockChanged | (Inherited from Control.) | |
DocumentMapNavigation | Occurs when a document map node is selected. | |
DoubleClick | (Inherited from Control.) | |
DragDrop | (Inherited from Control.) | |
DragEnter | (Inherited from Control.) | |
DragLeave | (Inherited from Control.) | |
DragOver | (Inherited from Control.) | |
Drillthrough | Occurs when a drillthrough item is selected in a report. | |
EnabledChanged | (Inherited from Control.) | |
Enter | (Inherited from Control.) | |
FontChanged | (Inherited from Control.) | |
ForeColorChanged | (Inherited from Control.) | |
GiveFeedback | (Inherited from Control.) | |
GotFocus | (Inherited from Control.) | |
HandleCreated | (Inherited from Control.) | |
HandleDestroyed | (Inherited from Control.) | |
HelpRequested | (Inherited from Control.) | |
Hyperlink | Occurs when a user clicks a hyperlink in a report. | |
ImeModeChanged | (Inherited from Control.) | |
Invalidated | (Inherited from Control.) | |
KeyDown | (Inherited from Control.) | |
KeyPress | (Inherited from Control.) | |
KeyUp | (Inherited from Control.) | |
Layout | (Inherited from Control.) | |
Leave | (Inherited from Control.) | |
Load | (Inherited from UserControl.) | |
LocationChanged | (Inherited from Control.) | |
LostFocus | (Inherited from Control.) | |
MarginChanged | (Inherited from Control.) | |
MouseCaptureChanged | (Inherited from Control.) | |
MouseClick | (Inherited from Control.) | |
MouseDoubleClick | (Inherited from Control.) | |
MouseDown | (Inherited from Control.) | |
MouseEnter | (Inherited from Control.) | |
MouseHover | (Inherited from Control.) | |
MouseLeave | (Inherited from Control.) | |
MouseMove | (Inherited from Control.) | |
MouseUp | (Inherited from Control.) | |
MouseWheel | (Inherited from Control.) | |
Move | (Inherited from Control.) | |
PaddingChanged | (Inherited from Control.) | |
PageNavigation | Occurs when a user changes pages in a report. | |
PageSettingsChanged | Occurs when the margins or the page size for the current report in the ReportViewer control have changed. | |
Paint | (Inherited from Control.) | |
ParentChanged | (Inherited from Control.) | |
PreviewKeyDown | (Inherited from Control.) | |
Occurs when a user prints the report. | ||
PrintingBegin | Occurs when the user clicks the Print button in the Print dialog box. | |
QueryAccessibilityHelp | (Inherited from Control.) | |
QueryContinueDrag | (Inherited from Control.) | |
RegionChanged | (Inherited from Control.) | |
RenderingBegin | Occurs when the report in the ReportViewer begins rendering. | |
RenderingComplete | Occurs when the report finishes rendering. | |
ReportError | Raised when an error occurs in the report. | |
ReportExport | Occurs when the user clicks the Export button. | |
ReportRefresh | Occurs when the report is refreshed. | |
Resize | (Inherited from Control.) | |
RightToLeftChanged | (Inherited from Control.) | |
Scroll | (Inherited from ScrollableControl.) | |
Search | This event occurs when the user clicks the Find or Find Next button, or when a search operation is invoked programmatically. | |
SizeChanged | (Inherited from Control.) | |
Sort | Occurs when the user activates a sort. | |
StatusChanged | Occurs whenever the user interface state of the ReportViewer control changes. | |
StyleChanged | (Inherited from Control.) | |
SubmittingDataSourceCredentials | Occurs when the user submits new data source credentials viaby using the built-in prompt area. | |
SubmittingParameterValues | Occurs when parameter values are submitted to the report server. | |
SystemColorsChanged | (Inherited from Control.) | |
TabIndexChanged | (Inherited from Control.) | |
TabStopChanged | (Inherited from Control.) | |
TextChanged | (Inherited from UserControl.) | |
Toggle | Occurs when the user toggles the visibility of an item in the report. | |
Validated | (Inherited from Control.) | |
Validating | (Inherited from Control.) | |
ViewButtonClick | Occurs when the user clicks the View button. | |
VisibleChanged | (Inherited from Control.) | |
ZoomChange | Occurs when the user changes the zoom level of the ReportViewer control. |
Top
Explicit Interface Implementations
Name | Description | |
---|---|---|
System.Windows.Forms.IContainerControl.ActivateControl | (Inherited from ContainerControl.) | |
System.Windows.Forms.IDropTarget.OnDragDrop | (Inherited from Control.) | |
System.Windows.Forms.IDropTarget.OnDragEnter | (Inherited from Control.) | |
System.Windows.Forms.IDropTarget.OnDragLeave | (Inherited from Control.) | |
System.Windows.Forms.IDropTarget.OnDragOver | (Inherited from Control.) |
Top