inmydata.WindowsForms.Controls 1.0.3

dotnet add package inmydata.WindowsForms.Controls --version 1.0.3
                    
NuGet\Install-Package inmydata.WindowsForms.Controls -Version 1.0.3
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="inmydata.WindowsForms.Controls" Version="1.0.3" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="inmydata.WindowsForms.Controls" Version="1.0.3" />
                    
Directory.Packages.props
<PackageReference Include="inmydata.WindowsForms.Controls" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add inmydata.WindowsForms.Controls --version 1.0.3
                    
#r "nuget: inmydata.WindowsForms.Controls, 1.0.3"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package inmydata.WindowsForms.Controls@1.0.3
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=inmydata.WindowsForms.Controls&version=1.0.3
                    
Install as a Cake Addin
#tool nuget:?package=inmydata.WindowsForms.Controls&version=1.0.3
                    
Install as a Cake Tool

inmydata.DesktopComponents

Seamlessly integrate inmydata analytics into your .NET Windows Forms applications.

This package provides access to the inmydata AnalyticsControl, which hosts a full-featured embedded analytics interface supporting dashboards, AI Copilot, visualizations, and more.


🧩 Features

  • Embeddable Windows Forms control (AnalyticsControl)
  • Supports both 32-bit and 64-bit systems
  • Easily configurable analytics experience (e.g. Full, Copilot, Dashboards, Insights)
  • Event-driven integration with your app’s logic

πŸ“¦ Installation

Install the NuGet package via the .NET CLI:

dotnet add package inmydata.WindowsForms.Controls

Or via the NuGet Package Manager:

Install-Package inmydata.WindowsForms.Controls

πŸš€ Getting Started

Adding the Control

After installing the components, drag the AnalyticsControl onto your Windows Form from the Visual Studio Toolbox.

Or initialize it manually:

var analyticsControl = new AnalyticsControl
{
	Name = "analyticsControl1",
    Dock = DockStyle.Fill,
	Tenant = "mytenant",
    ContentType = ContentTypeEnum.AIChat // Options: Full, AIChat, AIChatVisualisation, Insights, InsightsVisualisation, Dashboards, Visualisation
};

this.Controls.Add(analyticsControl);

βš™οΈ Configuration

Configure the tenant via the Tenant property:

analyticsControl.Tenant = "mytenant";

Configure the content via the ContentType property:

analyticsControl.ContentType = ContentTypeEnum.AIChat;

Available options:

  • ContentTypeEnum.Full
  • ContentTypeEnum.AIChat
  • ContentTypeEnum.AIChatVisualisation
  • ContentTypeEnum.Insights
  • ContentTypeEnum.InsightsVisualisation
  • ContentTypeEnum.Visualisations
  • ContentTypeEnum.Dashboards

πŸ”„ Loading the View Once the control has been created and initialized, you should call:

analyticsControl.LoadView();

This triggers the control to load and display its configured view.

πŸ“ Recommended placement: The best time to call LoadView() is in your form’s Load event handler, to ensure that all layout and design-time setup has completed.

Example:

private void MyForm_Load(object sender, EventArgs e)
{
    analyticsControl.LoadView();
}

Calling LoadView() too early (e.g., in the form constructor) may lead to incomplete rendering or unexpected behavior.

πŸ“‘ Handling Events

Respond to lifecycle or user interaction events by registering handlers:

analyticsControl.Drilldown += (sender, e) =>
{
    // Handle drill down event
};

Refer to the API documentation for the full event list.

πŸ“š API Reference


πŸ›  Requirements

  • .NET Framework or .NET (Windows Forms support)
  • Windows OS (x86 or x64)

🧾 License

This project is licensed under the MIT License - see the LICENSE file for details.

Product Compatible and additional computed target framework versions.
.NET net8.0-windows7.0 is compatible.  net9.0-windows was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.3 144 6/30/2025
1.0.2 140 6/30/2025
1.0.1 143 6/30/2025
1.0.0 104 6/27/2025

Added RefreshView method