CoreSuite.FluidResizer
1.0.2
dotnet add package CoreSuite.FluidResizer --version 1.0.2
NuGet\Install-Package CoreSuite.FluidResizer -Version 1.0.2
<PackageReference Include="CoreSuite.FluidResizer" Version="1.0.2" />
<PackageVersion Include="CoreSuite.FluidResizer" Version="1.0.2" />
<PackageReference Include="CoreSuite.FluidResizer" />
paket add CoreSuite.FluidResizer --version 1.0.2
#r "nuget: CoreSuite.FluidResizer, 1.0.2"
#:package CoreSuite.FluidResizer@1.0.2
#addin nuget:?package=CoreSuite.FluidResizer&version=1.0.2
#tool nuget:?package=CoreSuite.FluidResizer&version=1.0.2
FluidResizer
Smoothly animates a Windows Forms control to a target size.
FluidResizer is one of the controls or components included in the CoreSuite solution. The package has no additional CoreSuite package dependencies.
Overview
FluidResizer extends Object and provides smoothly animates a Windows Forms control to a target size.
It is designed for .NET 8 Windows Forms applications and can be configured in code or through the Visual Studio designer where designer support applies.
Features
- Associates the resizer with a control.
- Starts resizing toward the requested size.
- Raised when the animation finishes.
- Original and final sizes.
- Uses the standard Windows Forms event and component model.
- Includes English XML documentation for the public API.
- Requires no third-party packages.
Requirements
- Windows Forms
- .NET 8 for Windows (
net8.0-windows)
Installation
Install the package from NuGet:
dotnet add package CoreSuite.FluidResizer
Or use the Visual Studio NuGet Package Manager and search for:
CoreSuite.FluidResizer
Namespace
Imports CoreSuite.Controls
Quick start
Imports CoreSuite.Controls
Dim Resizer As New FluidResizer(DetailsPanel)
AddHandler Resizer.ResizeEnd, Sub(Sender, E)
Console.WriteLine($"{E.StartSize} -> {E.EndSize}")
End Sub
Resizer.SetSize(New Size(600, 400))
Designer usage
After installing or referencing the package, add FluidResizer from the Toolbox or create it in code. Properties configured in the Windows Forms Designer are serialized into InitializeComponent and remain available at runtime.
API reference
FluidResizer
Represents smoothly animates a Windows Forms control to a target size.
Public Class FluidResizer
Inherits Object
Main members
| Member | Behavior |
|---|---|
New(Control) |
associates the resizer with a control. |
SetSize(TargetSize) |
starts resizing toward the requested size. |
ResizeEnd |
raised when the animation finishes. |
ResizeEndEventArgs.StartSize / EndSize |
original and final sizes. |
Behavior and validation
- Property changes take effect immediately unless a method explicitly starts or applies an operation.
- Callers should validate user input and referenced objects before performing application-specific work.
- Events use the standard Windows Forms event model and should be handled on the UI thread.
Standard functionality
Because FluidResizer inherits from Object, the standard public members of that base type remain available unless the control intentionally hides or overrides them.
Resource and lifetime considerations
- Dispose components, controls, images, fonts and menus created dynamically when your application owns them.
- Keep referenced controls alive for as long as a component is attached to them.
- File-based operations should receive valid, accessible paths.
Package information
| Item | Value |
|---|---|
| Package | CoreSuite.FluidResizer |
| Namespace | CoreSuite.Controls |
| Assembly | CoreSuite.FluidResizer |
| Target framework | net8.0-windows |
| UI framework | Windows Forms |
| CoreSuite dependencies | None |
| External dependencies | None |
License
This package is distributed under the MIT License defined by the CoreSuite repository.
| 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
- 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.
Changed FluidResizer animations to use a fixed duration with smooth easing, ensuring consistent completion time regardless of resize distance while preserving support for redirecting to a new target during an active animation.