ActiveReports 6 Online Help
ToolBoxItem Property
Example 

Sets the type of control in the toolbox.
Syntax
'Declaration
 
Public Property ToolBoxItem As Object
public object ToolBoxItem {get; set;}
Remarks
This property is used to implement a custom toolbox toolbar.
Example
private DataDynamics.ActiveReports.Design.Toolbox.Toolbox arToolbox;
private void formDesigner_Load(object sender, System.EventArgs e)
{
    this.arDesigner.Toolbox = this.arToolbox;
    System.Drawing.Design.ToolboxItem tbItem = new System.Drawing.Design.ToolboxItem(typeof(DataDynamics.ActiveReports.Viewer.Viewer));
    tbItem.Bitmap = (Bitmap)DataDynamics.ActiveReports.Design.Images.ZoomIn;
    this.arToolbox.AddToolboxItem(tbItem, "General");
}
Private arToolbox As DataDynamics.ActiveReports.Design.Toolbox.Toolbox
Private Sub formDesigner_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Designer1.Load
    Me.arDesigner.Toolbox = Me.arToolbox
    Dim tbItem As System.Drawing.Design.ToolboxItem = New System.Drawing.Design.ToolboxItem(GetType(DataDynamics.ActiveReports.Viewer.Viewer))
    tbItem.Bitmap = CType(DataDynamics.ActiveReports.Design.Images.ZoomIn, Bitmap)
    arToolbox.AddToolboxItem(tbItem, "General")
End Sub
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

Designer Class
Designer Members

Send Feedback