AdaptiveGrid 1.0.0

dotnet add package AdaptiveGrid --version 1.0.0                
NuGet\Install-Package AdaptiveGrid -Version 1.0.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="AdaptiveGrid" Version="1.0.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add AdaptiveGrid --version 1.0.0                
#r "nuget: AdaptiveGrid, 1.0.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.
// Install AdaptiveGrid as a Cake Addin
#addin nuget:?package=AdaptiveGrid&version=1.0.0

// Install AdaptiveGrid as a Cake Tool
#tool nuget:?package=AdaptiveGrid&version=1.0.0                

Adaptive Grid

A powerful responsive Grid system for WPF, inspired by CSS grid. AdaptiveGrid is lightweight and simple to work with, use only xaml & no code behind, build responsive layouts in seconds.

🚀 Getting started

Add your grid and define rows/columns

<ag:AdaptiveGrid>

    <Grid.ColumnDefinitions>
        <ColumnDefinition Width="*" />
        <ColumnDefinition Width="*" />
    </Grid.ColumnDefinitions>

</ag:AdaptiveGrid>

Define your template areas inside the <ag:AdaptiveGrid>

<ag:AdaptiveGrid.TemplateAreas>

    
    <ag:AdaptiveGridTemplateArea FromWidth="0">
        <ag:AdaptiveGridTemplateArea.Areas>

            <ag:AdaptiveGridArea Area="text1" Column="0"/>
            <ag:AdaptiveGridArea Area="text2" Column="1"/>

        </ag:AdaptiveGridTemplateArea.Areas>
    </ag:AdaptiveGridTemplateArea>


    
    <ag:AdaptiveGridTemplateArea FromWidth="300">
        <ag:AdaptiveGridTemplateArea.Areas>

            <ag:AdaptiveGridArea Area="text1" Column="1"/>
            <ag:AdaptiveGridArea Area="text2" Column="0"/>

        </ag:AdaptiveGridTemplateArea.Areas>
    </ag:AdaptiveGridTemplateArea>

</ag:AdaptiveGrid.TemplateAreas>

Assign corresponding areas to displayed controls

<TextBlock ag:AdaptiveGrid.Area="text1"> Text1 </TextBlock>
<TextBlock ag:AdaptiveGrid.Area="text2"> Text2 </TextBlock>

And that's it, Text1 and Text2 will now automatically reposition themself at column 0 or column 1 depending on the Grid's width.

📜 License

Copyright (c) 2022 Marco

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.```
Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net5.0-windows7.0 is compatible.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net6.0-windows7.0 is compatible.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  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. 
.NET Core netcoreapp3.1 is compatible. 
.NET Framework net46 is compatible.  net461 was computed.  net462 was computed.  net463 was computed.  net47 is compatible.  net471 was computed.  net472 was computed.  net48 is compatible.  net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • .NETCoreApp 3.1

    • No dependencies.
  • .NETFramework 4.6

    • No dependencies.
  • .NETFramework 4.7

    • No dependencies.
  • .NETFramework 4.8

    • No dependencies.
  • net5.0-windows7.0

    • No dependencies.
  • net6.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
1.0.0 357 4/13/2022