{"id":16246600,"url":"https://github.com/punker76/code-samples","last_synced_at":"2025-04-06T00:09:07.480Z","repository":{"id":23448542,"uuid":"26812238","full_name":"punker76/code-samples","owner":"punker76","description":"Just some code samples for MahApps and other experiments...","archived":false,"fork":false,"pushed_at":"2024-04-18T07:06:46.000Z","size":36442,"stargazers_count":268,"open_issues_count":3,"forks_count":161,"subscribers_count":26,"default_branch":"main","last_synced_at":"2025-03-29T22:09:43.325Z","etag":null,"topics":["c-sharp","code-samples","gui","hacktoberfest","iconpacks","mahapps","open-source","oss","ui","ui-design","windows","wpf","wpf-mahapps","xaml"],"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/punker76.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","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},"funding":{"github":["punker76"]}},"created_at":"2014-11-18T14:13:56.000Z","updated_at":"2025-03-17T08:39:00.000Z","dependencies_parsed_at":"2024-11-17T00:19:24.020Z","dependency_job_id":null,"html_url":"https://github.com/punker76/code-samples","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/punker76%2Fcode-samples","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/punker76%2Fcode-samples/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/punker76%2Fcode-samples/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/punker76%2Fcode-samples/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/punker76","download_url":"https://codeload.github.com/punker76/code-samples/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247415967,"owners_count":20935387,"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":["c-sharp","code-samples","gui","hacktoberfest","iconpacks","mahapps","open-source","oss","ui","ui-design","windows","wpf","wpf-mahapps","xaml"],"created_at":"2024-10-10T14:31:53.203Z","updated_at":"2025-04-06T00:09:07.461Z","avatar_url":"https://github.com/punker76.png","language":"C#","readme":"[![Stand With Ukraine](https://raw.githubusercontent.com/vshymanskyy/StandWithUkraine/main/banner2-direct.svg)](https://vshymanskyy.github.io/StandWithUkraine)\n\n# Just some code samples...\n\nTo build these samples you'll need at least [Visual Studio 2019 16.x Community Edition](\u003chttps://www.visualstudio.com/\u003e).\n\nYou can use the cake build script to compile all projects via powershell commandline:\n\n```ps\n.\\build.ps1\n```\n\n## IconPacksValueConverterSample\n\nSimple [MahApps.Metro.IconPacks](https://github.com/MahApps/MahApps.Metro.IconPacks) [sample](./IconPacksValueConverterSample) which shows how to produce a percantage view of a binded value together with an `IValueConverter`.\n\n![](https://user-images.githubusercontent.com/658431/33761712-4edd2e3a-dc0a-11e7-92ba-5fceae2c8a2c.gif)\n\n## ListViewSwitchItemsPanel\n\nSimple [sample](./ListViewSwitchItemsPanel) which shows how to switch the `ItemsPanel` of a `ListView`.\n\n![listview](https://user-images.githubusercontent.com/658431/30153860-4b156442-93b8-11e7-836f-226925a6a2d8.gif)\n\n## An auto moving ToolTip\n\n**[ToolTipAutoMoveSample](https://github.com/punker76/code-samples/tree/master/ToolTipAutoMoveSample)** is a sample which demonstrates my auto moving ToolTip, explained [here](http://jkarger.de/2014/11/02/how-to-make-the-tooltip-follow-the-mouse/).\n\nThis ToolTip is now also available in the [ControlzEx](https://github.com/ControlzEx/ControlzEx) library.\n\n![automove_tooltip2](https://cloud.githubusercontent.com/assets/658431/13525375/d708a9e8-e200-11e5-9bd9-035d50632b34.gif)\n\n## MahApps.Metro HamburgerMenu\n\n**[MahAppsMetroHamburgerMenu](MahAppsMetroHamburgerMenu)** showcase for [MahApps.Metro][] `HamburgerMenu`.  \n\n- Simple straight forward sample\n- Sample with `Binding` to the `SelectedItem` / `SelectedOptionsItem`\n- Sample with a custom helper class `HamburgerMenuIconItem` which uses the [MahApps.Metro.IconPacks](https://github.com/MahApps/MahApps.Metro.IconPacks)\n- Sample with Caliburn.Micro (tba)\n- Sample with some code behind (tba)\n\n![](screenshots/hamburgermenu01.png)  \n\n## MahApps.Metro blank application\n\n**[MahAppsMetroSample](https://github.com/punker76/code-samples/tree/master/MahAppsMetroSample)** is a simple blank app for [MahApps.Metro][], explained in this [blog post](http://jkarger.de/2014/11/18/modern-ui-with-mahapps-metro/).\n\n## MahApps.Metro custom WindowButtonCommands\n\n**[MahAppsMetroWindowButtonCommands](https://github.com/punker76/code-samples/tree/master/MahAppsMetroWindowButtonCommands)**\n\nA sample app to demonstrate the customization of the Min/Max/Close buttons (for the upcoming v1.3.0). It shows different background color and tooltips.\n\n![](screenshots/2016-08-17_11h10_21.png)  \n![](screenshots/2016-08-17_11h10_26.png)  \n![](screenshots/2016-08-17_11h10_30.png)  \n\n## MahApps.Metro DataGrid\n\n**[MahAppsMetroDataGridSample](https://github.com/punker76/code-samples/tree/master/MahAppsMetroDataGridSample)** showcase for [MahApps.Metro][] `DataGrid` styles.  \n\n![](screenshots/2014-11-22_16h00_23.png)  \n![](screenshots/2014-11-22_16h00_32.png)  \n\n## MahApps.Metro Themes\n\n**[MahAppsMetroThemesSample](https://github.com/punker76/code-samples/tree/master/MahAppsMetroThemesSample)** [MahApps.Metro][] `ThemeManager` example explained in this [blog post](http://jkarger.de/2014/11/27/mahapps-metro-themes/).  \n\n![mahapps_more_colors](https://cloud.githubusercontent.com/assets/658431/13557016/9d7e23a4-e3e7-11e5-839a-177c39977e8e.gif)    \n![](screenshots/2014-11-27_17h29_54.png)  \n\n## MahApps.Metro blank VB application\n\n**[MahAppsMetroVBSample](https://github.com/punker76/code-samples/tree/master/MahAppsMetroVBSample)** is a simple blank app for `Visual Basic` [MahApps.Metro][].\n\n## License\n\nThe MIT License (MIT)\n\nCopyright (c) 2014-present Jan Karger\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  [MahApps.Metro]: https://github.com/MahApps/MahApps.Metro\n","funding_links":["https://github.com/sponsors/punker76"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpunker76%2Fcode-samples","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpunker76%2Fcode-samples","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpunker76%2Fcode-samples/lists"}