AppDimens.Net.Fluid
3.6.0
dotnet add package AppDimens.Net.Fluid --version 3.6.0
NuGet\Install-Package AppDimens.Net.Fluid -Version 3.6.0
<PackageReference Include="AppDimens.Net.Fluid" Version="3.6.0" />
<PackageVersion Include="AppDimens.Net.Fluid" Version="3.6.0" />
<PackageReference Include="AppDimens.Net.Fluid" />
paket add AppDimens.Net.Fluid --version 3.6.0
#r "nuget: AppDimens.Net.Fluid, 3.6.0"
#:package AppDimens.Net.Fluid@3.6.0
#addin nuget:?package=AppDimens.Net.Fluid&version=3.6.0
#tool nuget:?package=AppDimens.Net.Fluid&version=3.6.0
<div align="center">
🌊 AppDimens.Net.Fluid
Fluid scaling (FSdp) — smooth interpolation between phone and tablet reference sizes.
Part of the AppDimens for .NET family · requires AppDimens.Net (core).
</div>
🎯 What is it?
The Fluid strategy interpolates your base value continuously between device classes, avoiding jumps at breakpoints. Dimensions "flow" as the window resizes — great for split-view apps, foldables mid-fold, and desktop windows being dragged around.
📦 Installation
dotnet add package AppDimens.Net.Fluid
Depends on AppDimens.Net (pulled automatically). Attach a MAUI window first or pass an explicit
IAppDimensContext.
🚀 Quick start
using AppDimens.Net.Fluid;
float card = 20.FSdp(); // fluid by smallest-width
float side = 240.FLHdp(ctx); // height axis
float bar = 8.FSdpaPx(); // px, aspect-ratio adjusted
🧭 API
| Extension | Result |
|---|---|
v.FSdp(ctx) · v.FSdpa(ctx) |
smallest-width lane (± aspect ratio) |
v.FHdp(ctx) · v.FWdp(ctx) |
height / width axis |
…i variants (FSdpi…) |
ignore multi-window |
v.FSdpPx(ctx) … |
pixel result |
v.FSdpCustom(qualifier, inverter, imw, ar, k) |
full control incl. sensitivity |
DimenFluid.FSdp(context, value) |
static form · WarmupCache(ctx) pre-heats |
v.ToFluidDp/Px(v, ctx, …) |
generic kernel entry |
💡 When to use
| Scenario | Recommendation |
|---|---|
| Foldables / resizable desktop windows | ✅ Fluid |
| Discrete breakpoint behavior | Fit |
| Strict proportions | Percent |
⚡ Performance
Same engine as the core: snapshot-partitioned cache, allocation-free fast lanes, automatic invalidation on configuration changes.
📚 Full package family
AppDimens.Net · Percent · Power · Auto · Logarithmic · Interpolated · Diagonal · Perimeter · Fill · Fit · Density · Resize · Units · Maui · Sdk meta-package
Apache-2.0 — © Jean Bodenberg · Repository · Formulas are bit-a-bit ports of appdimens-kmp
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 is compatible. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net10.0
- AppDimens.Net (>= 3.6.0)
-
net8.0
- AppDimens.Net (>= 3.6.0)
-
net9.0
- AppDimens.Net (>= 3.6.0)
NuGet packages (2)
Showing the top 2 NuGet packages that depend on AppDimens.Net.Fluid:
| Package | Downloads |
|---|---|
|
AppDimens.Net.Maui
AppDimens .NET — .NET MAUI integration: live window scopes, event-driven resize watcher, XAML markup extensions and converters. |
|
|
AppDimens.Net.Sdk
AppDimens .NET meta-package ("BOM"): pulls the principal library plus every strategy module with a single reference. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 3.6.0 | 107 | 8/23/2026 |