ActiveReports.Viewer3 Request technical support
Visible Property
See Also  Example


Sets or returns a value indicating whether the placeholder will be displayed.

Syntax

Visual Basic (Declaration) 
Overrides Public Property Visible As Boolean
Visual Basic (Usage)Copy Code
Dim instance As PlaceHolder
Dim value As Boolean
 
instance.Visible = value
 
value = instance.Visible
C# 
public override bool Visible {get; set;}

Example

C#Copy Code
private void arv_Load(object sender, System.EventArgs e)
{
   DataDynamics.ActiveReports.Toolbar.PlaceHolder ph =
new DataDynamics.ActiveReports.Toolbar.PlaceHolder();
   ph.Enabled = true;
   ph.ToolTip =
"Do not click here.";
   ph.Visible = true;
   ph.Id = 777;
   arv.Toolbar.Tools.Insert(9, ph);

   rptDD rpt =
new rptDD();
   rpt.Run();
   arv.Document = rpt.Document;
}
Visual BasicCopy Code
Private Sub arv_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles arv.Load
    Dim ph As New DataDynamics.ActiveReports.Toolbar.PlaceHolder
    ph.Enabled = True
    ph.ToolTip = "Do not click here."
    ph.Visible = True
    ph.Id = 777
    arv.Toolbar.Tools.Insert(9, ph)

    Dim rpt As New rptDD
    rpt.Run()
    arv.Document = rpt.Document
End Sub

See Also