Share via


ReportViewer.DisplayMode Property

Gets a DisplayMode value that indicates the current display mode of the ReportViewer control.

Namespace: Microsoft.Reporting.WinForms
Assembly: Microsoft.ReportViewer.WinForms (in microsoft.reportviewer.winforms.dll)

Syntax

'Declaration
<BrowsableAttribute(False)> _
Public ReadOnly Property DisplayMode As DisplayMode
'Usage
Dim instance As ReportViewer
Dim value As DisplayMode

value = instance.DisplayMode
[BrowsableAttribute(false)] 
public DisplayMode DisplayMode { get; }
[BrowsableAttribute(false)] 
public:
property DisplayMode DisplayMode {
    DisplayMode get ();
}
/** @property */
public DisplayMode get_DisplayMode ()
public function get DisplayMode () : DisplayMode

Property Value

A DisplayMode object. The default value is Normal.

Remarks

This property is read-only. To programmatically change the display mode of the ReportViewer control, use the SetDisplayMode method.

See Also

Reference

ReportViewer Class
ReportViewer Members
Microsoft.Reporting.WinForms Namespace