次の方法で共有


ReportViewer.DisplayMode プロパティ

ReportViewer コントロールの現在の表示モードを示す DisplayMode 値を取得します。

名前空間:  Microsoft.Reporting.WinForms
アセンブリ:  Microsoft.ReportViewer.WinForms (Microsoft.ReportViewer.WinForms.dll)

構文

'宣言
<BrowsableAttribute(False)> _
Public ReadOnly Property DisplayMode As DisplayMode
    Get
'使用
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 ();
}
[<BrowsableAttribute(false)>]
member DisplayMode : DisplayMode
function get DisplayMode () : DisplayMode

プロパティ値

型: Microsoft.Reporting.WinForms.DisplayMode
DisplayMode オブジェクト。既定値は Normal です。

説明

このプロパティは読み取り専用です。ReportViewer コントロールの表示モードをプログラムで変更するには、SetDisplayMode メソッドを使用します。

関連項目

参照

ReportViewer クラス

Microsoft.Reporting.WinForms 名前空間