Kajabity.DocForms 0.4.1

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

Recent-file history is opt-in. Set MaximumRecentDocumentCount to zero to disable it; negative values are rejected, and reducing the limit discards the oldest entries.

Apache-2.0 licensed. Version 0.4.1 fixes recent-file limits and retains the 0.4.0.0 signed assembly version. See the migration guide when upgrading from 0.3.1 or 0.4.0.

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.1 97 11/2/2026
0.4.0 148 10/12/2026
0.3.1 163 9/29/2026
0.3.0 104 9/28/2026
0.2.6399.39908 1,743 7/9/2017
0.1.6377.38481 1,495 6/17/2017
0.1.6265.1221 1,499 2/25/2017

0.4.1 fixes zero and reduced recent-file limits, CSV sample column counts and saving, and broadens NuGet vulnerability auditing. The signed assembly version remains 0.4.0.0.