Kajabity.DocForms 0.4.0

dotnet add package Kajabity.DocForms --version 0.4.0
                    
NuGet\Install-Package Kajabity.DocForms -Version 0.4.0
                    
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="Kajabity.DocForms" Version="0.4.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Kajabity.DocForms" Version="0.4.0" />
                    
Directory.Packages.props
<PackageReference Include="Kajabity.DocForms" />
                    
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 Kajabity.DocForms --version 0.4.0
                    
#r "nuget: Kajabity.DocForms, 0.4.0"
                    
#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 Kajabity.DocForms@0.4.0
                    
#: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=Kajabity.DocForms&version=0.4.0
                    
Install as a Cake Addin
#tool nuget:?package=Kajabity.DocForms&version=0.4.0
                    
Install as a Cake Tool

Kajabity.DocForms

Build local, file-based Windows Forms applications with a reusable document lifecycle: New, Open, Save, Save As, Close, modified-state confirmation, optional backups and recent files. Window placement restoration is available separately as an opt-in helper. Your application supplies its document format, controls and placement settings storage.

This package contains signed assemblies for .NET Framework 4.8 (net48) and .NET 10 for Windows (net10.0-windows). It requires Windows Forms on Windows.

dotnet add package Kajabity.DocForms

Derive a Document, implement SingleDocumentManager<TDocument> to create/read/write it, and derive the application's form from SingleDocumentForm<TDocument>. Use the form's file-command handlers for interactive saves so its safe replacement and backup policy applies. WindowPlacementManager is opt-in for independent top-level forms; the host stores the captured WindowPlacement.

Apache-2.0 licensed. Version 0.4.0 adds the .NET 10 for Windows asset; see the migration guide when upgrading from 0.3.1.

Product Compatible and additional computed target framework versions.
.NET net10.0-windows7.0 is compatible. 
.NET Framework net48 is compatible.  net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • .NETFramework 4.8

    • No dependencies.
  • net10.0-windows7.0

    • No dependencies.

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
0.4.0 76 10/12/2026
0.3.1 152 9/29/2026
0.3.0 92 9/28/2026
0.2.6399.39908 1,733 7/9/2017
0.1.6377.38481 1,489 6/17/2017
0.1.6265.1221 1,491 2/25/2017

0.4.0 adds .NET 10 for Windows while retaining .NET Framework 4.8, adds opt-in window placement, and honours application close cancellation. The obsolete SDIForm API is removed; see MIGRATION.md in the repository before upgrading.