共用方式為


ReportParameter.Visible 屬性

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

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

語法

'宣告
Public Property Visible As Boolean
    Get
    Set
'用途
Dim instance As ReportParameter
Dim value As Boolean

value = instance.Visible

instance.Visible = value
public bool Visible { get; set; }
public:
property bool Visible {
    bool get ();
    void set (bool value);
}
member Visible : bool with get, set
function get Visible () : boolean
function set Visible (value : boolean)

屬性值

型別:System.Boolean
Boolean 值。

備註

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

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

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

請參閱

參考

ReportParameter 類別

Microsoft.Reporting.WinForms 命名空間