ReportParameter.Visible 屬性

 

發佈時間: 2016年4月

決定參數是否能顯示在使用者介面中。

命名空間:   Microsoft.Reporting.WinForms
組件:  Microsoft.ReportViewer.WinForms (在 Microsoft.ReportViewer.WinForms.dll 中)

語法

public bool Visible { get; set; }
public:
property bool Visible {
    bool get();
    void set(bool value);
}
member Visible : bool with get, set
Public Property Visible As Boolean

屬性值

Type: System.Boolean

Boolean 值。

備註

只有在控制項的 ProcessingMode 屬性設為 Remote 時,ReportViewer 控制項才能顯示參數輸入使用者介面。

下列條件也必須符合,才能顯示參數輸入區域:

如果 ReportViewer 控制項設為 Local 模式,主應用程式必須提供使用者介面,以便接受參數值,以及將這些參數傳遞給報表。

請參閱

ReportParameter 類別
Microsoft.Reporting.WinForms 命名空間

回到頁首