Sets or returns a value indicating whether the placeholder will be displayed.
[Visual Basic]
Overrides Public Property Visible As Boolean
[C#]
public override bool Visible {get; set;}
Example
[C#]
private void arv_Load(object sender, System.EventArgs e) { DataDynamics.ActiveReports.Toolbar.PlaceHolder ph = new DataDynamics.ActiveReports.Toolbar.PlaceHolder(); ph.ButtonStyle = DataDynamics.ActiveReports.Toolbar.ButtonStyle.Icon; 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 Basic]
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.ButtonStyle = DataDynamics.ActiveReports.Toolbar.ButtonStyle.Icon
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
PlaceHolder Class
| PlaceHolder Members
Copyright © 2004-2005 Data Dynamics, Ltd. All rights reserved.