{"id":22261658,"url":"https://github.com/marplex/adaptivegrid","last_synced_at":"2025-08-24T00:09:22.873Z","repository":{"id":93577641,"uuid":"481316443","full_name":"Marplex/AdaptiveGrid","owner":"Marplex","description":"A powerful responsive Grid system for WPF, inspired by CSS grid","archived":false,"fork":false,"pushed_at":"2022-04-16T12:05:53.000Z","size":59,"stargazers_count":29,"open_issues_count":0,"forks_count":4,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-28T08:49:27.702Z","etag":null,"topics":["grid-layout","layout","responsive-layout","wpf","wpf-application","wpf-ui"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Marplex.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2022-04-13T17:43:49.000Z","updated_at":"2025-07-28T05:54:49.000Z","dependencies_parsed_at":null,"dependency_job_id":"f3e59aa1-1fed-4164-b911-a8e860a5f754","html_url":"https://github.com/Marplex/AdaptiveGrid","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Marplex/AdaptiveGrid","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Marplex%2FAdaptiveGrid","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Marplex%2FAdaptiveGrid/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Marplex%2FAdaptiveGrid/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Marplex%2FAdaptiveGrid/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Marplex","download_url":"https://codeload.github.com/Marplex/AdaptiveGrid/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Marplex%2FAdaptiveGrid/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271775090,"owners_count":24818613,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-23T02:00:09.327Z","response_time":69,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["grid-layout","layout","responsive-layout","wpf","wpf-application","wpf-ui"],"created_at":"2024-12-03T09:13:42.262Z","updated_at":"2025-08-24T00:09:22.850Z","avatar_url":"https://github.com/Marplex.png","language":"C#","readme":"![](./Art/cover.png)\n\n\u003ch1 align=\"center\"\u003eAdaptiveGrid\u003c/h1\u003e\n\u003cp align=\"center\"\u003e\n A powerful responsive Grid system for WPF, inspired by CSS grid. \u003cbr\u003eAdaptiveGrid is lightweight and simple to work with, use only xaml \u0026 no code behind, build responsive layouts in seconds.\n\u003c/p\u003e\n\u003cbr\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://github.com/marplex/AdaptiveGrid/blob/main/LICENSE\"\u003e\u003cimg alt=\"License\" src=\"https://img.shields.io/github/license/marplex/AdaptiveGrid\"/\u003e\u003c/a\u003e\n  \u003ca href=\"https://www.nuget.org/packages/AdaptiveGrid/\"\u003e\u003cimg alt=\"Nuget\" src=\"https://img.shields.io/nuget/v/AdaptiveGrid\"/\u003e\u003c/a\u003e\n  \u003ca href=\"https://www.nuget.org/packages/AdaptiveGrid/\"\u003e\u003cimg alt=\"Nuget downloads\" src=\"https://img.shields.io/nuget/dt/AdaptiveGrid?label=nuget-downloads\"/\u003e\u003c/a\u003e\n  \u003ca href=\"https://github.com/Marplex\"\u003e\u003cimg alt=\"Github\" src=\"https://img.shields.io/static/v1?label=GitHub\u0026message=marplex\u0026color=005cb2\"/\u003e\u003c/a\u003e \n\u003c/p\u003e\n\n\n## 🔨 Supported framework versions\n\n![NET6](https://img.shields.io/badge/.NET-6.0-red)\u003cbr/\u003e\n![NET5](https://img.shields.io/badge/.NET-5.0-blue)\u003cbr/\u003e\n![NETCore3](https://img.shields.io/badge/.NET%20Core-3.1-brightgreen)\u003cbr/\u003e\n![NETFramework48](https://img.shields.io/badge/.NET%20Framework-4.8-orange)\u003cbr/\u003e\n![NETFramework47](https://img.shields.io/badge/.NET%20Framework-4.7-orange)\u003cbr/\u003e\n![NETFramework46](https://img.shields.io/badge/.NET%20Framework-4.6-orange)\n\n## 🚀 Getting started\n\nAdd your grid and define rows/columns\n\n```xml\n\u003cag:AdaptiveGrid\u003e\n\n    \u003cGrid.ColumnDefinitions\u003e\n        \u003cColumnDefinition Width=\"*\" /\u003e\n        \u003cColumnDefinition Width=\"*\" /\u003e\n    \u003c/Grid.ColumnDefinitions\u003e\n\n\u003c/ag:AdaptiveGrid\u003e\n```\n\nDefine your template areas inside the ```\u003cag:AdaptiveGrid\u003e```\n```xml\n\u003cag:AdaptiveGrid.TemplateAreas\u003e\n\n    \u003c!-- This area is applied to the layout if the width is greater than 0 --\u003e\n    \u003cag:AdaptiveGridTemplateArea FromWidth=\"0\"\u003e\n        \u003cag:AdaptiveGridTemplateArea.Areas\u003e\n\n            \u003cag:AdaptiveGridArea Area=\"text1\" Column=\"0\"/\u003e\n            \u003cag:AdaptiveGridArea Area=\"text2\" Column=\"1\"/\u003e\n\n        \u003c/ag:AdaptiveGridTemplateArea.Areas\u003e\n    \u003c/ag:AdaptiveGridTemplateArea\u003e\n\n\n    \u003c!-- This area is applied to the layout if the width is greater than 300 --\u003e\n    \u003cag:AdaptiveGridTemplateArea FromWidth=\"300\"\u003e\n        \u003cag:AdaptiveGridTemplateArea.Areas\u003e\n\n            \u003cag:AdaptiveGridArea Area=\"text1\" Column=\"1\"/\u003e\n            \u003cag:AdaptiveGridArea Area=\"text2\" Column=\"0\"/\u003e\n\n        \u003c/ag:AdaptiveGridTemplateArea.Areas\u003e\n    \u003c/ag:AdaptiveGridTemplateArea\u003e\n\n\u003c/ag:AdaptiveGrid.TemplateAreas\u003e\n```\n\nAssign corresponding areas to displayed controls\n\n```xml\n\u003cTextBlock ag:AdaptiveGrid.Area=\"text1\"\u003e Text1 \u003c/TextBlock\u003e\n\u003cTextBlock ag:AdaptiveGrid.Area=\"text2\"\u003e Text2 \u003c/TextBlock\u003e\n```\n\nAnd that's it, Text1 and Text2 will now automatically reposition themself at column 0 or column 1 depending on the Grid's width.\n\n![Below 300 pixels](./Art/screen1.png)\n![Above 300 pixels](./Art/screen2.png)\n\n## 📜 License\n```xml\nCopyright (c) 2022 Marco\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarplex%2Fadaptivegrid","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmarplex%2Fadaptivegrid","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarplex%2Fadaptivegrid/lists"}