{"id":14997498,"url":"https://github.com/dirkster99/msgbox","last_synced_at":"2025-08-02T11:07:39.208Z","repository":{"id":85744127,"uuid":"98583571","full_name":"Dirkster99/MsgBox","owner":"Dirkster99","description":"Implements of a custom message box service","archived":false,"fork":false,"pushed_at":"2019-09-07T13:14:23.000Z","size":274,"stargazers_count":14,"open_issues_count":0,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-02T06:31:46.624Z","etag":null,"topics":["control","dark-theme","dialog","library","light-theme","message","mit-license","msgbox","mvvm","notification-component","notifications","nuget","nuget-package","theme","wpf"],"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/Dirkster99.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":"2017-07-27T22:08:17.000Z","updated_at":"2024-08-24T18:10:49.000Z","dependencies_parsed_at":null,"dependency_job_id":"4d396ec9-9966-4513-9286-7f3e7912f92d","html_url":"https://github.com/Dirkster99/MsgBox","commit_stats":{"total_commits":25,"total_committers":1,"mean_commits":25.0,"dds":0.0,"last_synced_commit":"cb0a72ed376d80dcdc8e0794a0c656ac09bc3ee1"},"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dirkster99%2FMsgBox","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dirkster99%2FMsgBox/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dirkster99%2FMsgBox/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dirkster99%2FMsgBox/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Dirkster99","download_url":"https://codeload.github.com/Dirkster99/MsgBox/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238937493,"owners_count":19555376,"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":["control","dark-theme","dialog","library","light-theme","message","mit-license","msgbox","mvvm","notification-component","notifications","nuget","nuget-package","theme","wpf"],"created_at":"2024-09-24T17:03:41.644Z","updated_at":"2025-02-15T02:31:58.857Z","avatar_url":"https://github.com/Dirkster99.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Build status](https://ci.appveyor.com/api/projects/status/0fsqyn7spal3ir2k?svg=true)](https://ci.appveyor.com/project/Dirkster99/msgbox)\n[![Release](https://img.shields.io/github/release/Dirkster99/MsgBox.svg)](https://github.com/Dirkster99/MsgBox/releases/latest)\n[![NuGet](https://img.shields.io/nuget/dt/Dirkster.MsgBox.svg)](http://nuget.org/packages/Dirkster.MsgBox)\n\n![Net4](https://badgen.net/badge/Framework/.Net\u0026nbsp;4/blue) ![NetCore3](https://badgen.net/badge/Framework/NetCore\u0026nbsp;3/blue)\n\n\u003ch1\u003e\u003cimg src=\"https://github.com/Dirkster99/Docu/blob/master/MsgBox/ProjectIcon.png\"/\u003eOverview\u003c/h1\u003e\n\nThis project shows implements a custom message box service that is driven by a\nservice locator interface. It inlcudes a notification component that can be used to implement\npositioned pop-up messages in the vicinity of related controls. All implementation is in WPF\nand follows MVVM without compromises.\n\nSee http://www.msgbox.codeplex.com for more details.\n\n##Tip\nReview App class in the Demo application to understand the service initialization:\nhttps://github.com/Dirkster99/MsgBox/blob/master/source/MsgBoxDemo/App.xaml.cs\n\n![Basic Terminilogy Screenshot](https://github.com/Dirkster99/Docu/blob/master/MsgBox/BasicTerminology.png?raw=true)\n\n![Dark Sample Screenshot](https://github.com/Dirkster99/Docu/blob/master/MsgBox/DarkMessageBoxSample.png?raw=true)\n\n## Theming\n\nLoad *Light* or *Dark* brush resources in you resource dictionary to take advantage of existing definitions.\n\n```XAML\n    \u003cResourceDictionary.MergedDictionaries\u003e\n        \u003cResourceDictionary Source=\"/MsgBox;component/Themes/DarkBrushs.xaml\" /\u003e\n    \u003c/ResourceDictionary.MergedDictionaries\u003e\n```\n\n```XAML\n    \u003cResourceDictionary.MergedDictionaries\u003e\n        \u003cResourceDictionary Source=\"/MsgBox;component/Themes/LightBrushs.xaml\" /\u003e\n    \u003c/ResourceDictionary.MergedDictionaries\u003e\n```\n\nThese definitions do not theme all controls used within this library. You should use a standard theming library, such as:\n- [MahApps.Metro](https://github.com/MahApps/MahApps.Metro),\n- [MLib](https://github.com/Dirkster99/MLib), or\n- [MUI](https://github.com/firstfloorsoftware/mui)\n\nto also theme standard elements, such as, button and textblock etc.\n\n## Change History:\n\n- 2017-07-28\n  Removed UserNotification and replaced it with nuget Dependency:\n  https://preview.nuget.org/packages/Dirkster.UserNotifications\n  https://github.com/Dirkster99/UserNotifications\n\n- 2015-07-29\n  There are breaking changes in the way a Window Chrome is themed in WPF between .Net Version 4.0\n  and .Net Version 4.5. Namely:\n  - The System.Windows.Shell.DLL is integrated into the PresentationFramework assembly\n    (see code changes in this branch for more details).\n\n- Extracted service locator into separate ServiceLocator project and re-designed interface\n  (small breaking change that should be easy to repair see difference in demo programs)\n\n- Extended Notification project with new controls (see class files and Wiki documentation for details):\n  UserNotification.View.SimpleNotificationWindow\n  UserNotification.View.NotifyableContentControl\n\n- Bugfix Italian typo Non should be No\n  http://www.codeproject.com/Tips/682283/WPF-MessageBox-Service?msg=4707211#xx4707211xx\n\n- Small bugfix in Dialog - View focus handling\n\n- Correction in 2 Hindi translation strings\n\n## Fixed Issues:\n\n- MsgBoxDemo Project\n  Copy statement does not always work if quotes around path are missing\n\n- MsgBox\n  Cannot set Owner property to itself\n  Added code to ensure that owner of MsgBox dialog can never be the window itself\n  (which causes an exception to be thrown and the message box not to be displayed)\n\n- Notification\n  Added SimpleNotification view to support scenarios with tool tip like view\n\n# Credits\n\nImplementations in this project are based on these resources:\n\n## MsgBox Project\nSource:\nhttp://blogsprajeesh.blogspot.de/2009/12/wpf-messagebox-custom-control.html\n\nService Locator:\nhttp://www.codeproject.com/Articles/70223/Using-a-Service-Locator-to-Work-with-MessageBoxes\n\n## Notification Project\n\nThe project contains a user notification component:\nhttps://github.com/Dirkster99/UserNotifications\n\nthat pops-up user messages similar to extended tool-tips.\n\nThis component is based on a Growl Notifications project at Code Project:\nhttp://www.codeproject.com/Articles/499241/Growl-Alike-WPF-Notifications\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdirkster99%2Fmsgbox","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdirkster99%2Fmsgbox","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdirkster99%2Fmsgbox/lists"}