{"id":21129523,"url":"https://github.com/guorg/gu.wpf.gridextensions","last_synced_at":"2025-07-09T00:32:23.016Z","repository":{"id":40372904,"uuid":"74789987","full_name":"GuOrg/Gu.Wpf.GridExtensions","owner":"GuOrg","description":null,"archived":false,"fork":false,"pushed_at":"2023-12-25T16:16:56.000Z","size":215,"stargazers_count":9,"open_issues_count":1,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-04T14:03:17.664Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/GuOrg.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}},"created_at":"2016-11-25T21:49:07.000Z","updated_at":"2023-07-08T01:42:01.000Z","dependencies_parsed_at":"2023-02-18T01:16:25.951Z","dependency_job_id":"e91737be-6460-4ca5-9cd4-521472879f9f","html_url":"https://github.com/GuOrg/Gu.Wpf.GridExtensions","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/GuOrg/Gu.Wpf.GridExtensions","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GuOrg%2FGu.Wpf.GridExtensions","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GuOrg%2FGu.Wpf.GridExtensions/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GuOrg%2FGu.Wpf.GridExtensions/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GuOrg%2FGu.Wpf.GridExtensions/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/GuOrg","download_url":"https://codeload.github.com/GuOrg/Gu.Wpf.GridExtensions/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GuOrg%2FGu.Wpf.GridExtensions/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264370668,"owners_count":23597631,"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","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":[],"created_at":"2024-11-20T05:24:44.832Z","updated_at":"2025-07-09T00:32:22.759Z","avatar_url":"https://github.com/GuOrg.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Gu.Wpf.GridExtensions\n[![License](https://img.shields.io/badge/license-MIT-blue.svg)](LICENSE.md)\n[![NuGet](https://img.shields.io/nuget/v/Gu.Wpf.GridExtensions.svg)](https://www.nuget.org/packages/Gu.Wpf.GridExtensions/)\n[![Build status](https://ci.appveyor.com/api/projects/status/8kvvd5ggbkn2wevm/branch/master?svg=true)](https://ci.appveyor.com/project/JohanLarsson/gu-wpf-gridextensions/branch/master)\n[![Build Status](https://dev.azure.com/guorg/Gu.Wpf.GridExtensions/_apis/build/status/GuOrg.Gu.Wpf.GridExtensions?branchName=master)](https://dev.azure.com/guorg/Gu.Wpf.GridExtensions/_build/latest?definitionId=25\u0026branchName=master)\nAttached properties for WPF's `Grid`\n\n## Sample.\n\n```xaml\n\u003c!-- xmlns:gu=\"https://github.com/JohanLarsson/Gu.Wpf\" --\u003e\n\n\u003cGrid gu:Column.Definitions=\"* *\" gu:Row.Definitions=\"* *\"\u003e\n    \u003cRectangle gu:Cell.Index=\"1 1\" Fill=\"Red\" /\u003e\n    \u003cRectangle gu:Cell.Index=\"1 0\" Fill=\"Green\" /\u003e\n    \u003cRectangle Grid.Row=\"0\"\n               Grid.Column=\"0\"\n               Fill=\"Blue\" /\u003e\n    \u003cRectangle Grid.Row=\"0\"\n               Grid.Column=\"2\"\n               Fill=\"Yellow\" /\u003e\n\u003c/Grid\u003e\n```\n\n## Sample using the layout attached property.\n\n```xaml\n\u003cGrid gu:Grid.Layout=\"* *, * *\"\u003e\n\t\u003cRectangle gu:Cell.Index=\"1 1\" Fill=\"Red\" /\u003e\n\t\u003cRectangle gu:Cell.Index=\"1 0\" Fill=\"Green\" /\u003e\n\t\u003cRectangle Grid.Row=\"0\"\n\t\t\t   Grid.Column=\"0\"\n\t\t\t   Fill=\"Blue\" /\u003e\n\t\u003cRectangle Grid.Row=\"0\"\n\t\t\t   Grid.Column=\"2\"\n\t\t\t   Fill=\"Yellow\" /\u003e\n\u003c/Grid\u003e\n```\n\n## Sample of usage in a style.\n\n```xaml\n\u003cUserControl.Resources\u003e\n\t\u003cgu:ColumnDefinitions x:Key=\"Columns\" x:Shared=\"False\"\u003e\n\t\t\u003cColumnDefinition Width=\"Auto\" /\u003e\n\t\t\u003cColumnDefinition Width=\"*\" /\u003e\n\t\u003c/gu:ColumnDefinitions\u003e\n\n\t\u003cgu:RowDefinitions x:Key=\"Rows\" x:Shared=\"False\"\u003e\n\t\t\u003cRowDefinition Height=\"Auto\" /\u003e\n\t\t\u003cRowDefinition Height=\"Auto\" /\u003e\n\t\t\u003cRowDefinition Height=\"*\" /\u003e\n\t\u003c/gu:RowDefinitions\u003e\n\n\t\u003cStyle x:Key=\"GridStyle\" TargetType=\"{x:Type Grid}\"\u003e\n\t\t\u003cSetter Property=\"gu:Column.Definitions\" Value=\"{StaticResource Columns}\" /\u003e\n\t\t\u003cSetter Property=\"gu:Row.Definitions\" Value=\"{StaticResource Rows}\" /\u003e\n\t\u003c/Style\u003e\n\u003c/UserControl.Resources\u003e\n\n\u003cGrid Style=\"{StaticResource GridStyle}\"\u003e\n\t\u003cTextBlock gu:Cell.Index=\"0 0\" Text=\"0 0\" /\u003e\n\t\u003cTextBlock gu:Cell.Index=\"0 1\" Text=\"0 1\" /\u003e\n\t\u003cTextBlock gu:Cell.Index=\"2 1\" Text=\"2 1\" /\u003e\n\u003c/Grid\u003e\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fguorg%2Fgu.wpf.gridextensions","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fguorg%2Fgu.wpf.gridextensions","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fguorg%2Fgu.wpf.gridextensions/lists"}