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
<PackageReference Include="inmydata.WindowsForms.Controls" Version="1.0.3" />
<PackageVersion Include="inmydata.WindowsForms.Controls" Version="1.0.3" />
<PackageReference Include="inmydata.WindowsForms.Controls" />
paket add inmydata.WindowsForms.Controls --version 1.0.3
#r "nuget: inmydata.WindowsForms.Controls, 1.0.3"
#:package inmydata.WindowsForms.Controls@1.0.3
#addin nuget:?package=inmydata.WindowsForms.Controls&version=1.0.3
#tool nuget:?package=inmydata.WindowsForms.Controls&version=1.0.3
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 | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net8.0-windows7.0 is compatible. net9.0-windows was computed. net10.0-windows was computed. |
-
net8.0-windows7.0
- Microsoft.Web.WebView2 (>= 1.0.3296.44)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Added RefreshView method