53 Commits

Author SHA1 Message Date
Daniel Clark 10499366d6 further work to get placement in a multi mon setup working properly 2021-03-02 20:36:14 +00:00
Daniel Clark 24bdc3caa2 Continue to tweak offset 2021-03-01 20:36:31 +00:00
Daniel Clark ab7ea6415d Remove test code for resizing until a better solution comes up 2021-03-01 17:20:10 +00:00
Daniel Clark 0a6b227fc6 fixed issue with DPI not updating 2021-03-01 16:02:58 +00:00
Daniel Clark dd92d25d23 Amend how we hide the xaml window 2021-02-28 18:48:49 +00:00
Daniel Clark b815985963 fix issue with DPI 2021-02-28 18:45:12 +00:00
Daniel Clark 04de82cda0 Allow placement to be updated at run time 2021-02-27 20:27:56 +00:00
Daniel Clark efc2f75d85 implemented FullRight placement mode 2021-02-27 20:19:58 +00:00
Daniel Clark 47540457b8 show popup first and then set the placement... this is to ensure we are getting the correct size 2021-02-27 17:40:05 +00:00
Daniel Clark 1800eefd5a Amend how we hide via deactivation as the user may still want to call Hide explicitly while having IsLightDismissedEnabled set to false 2021-02-27 15:38:09 +00:00
Daniel Clark f9c688aa02 Added ability to keep the flyout open on the desktop which can be set via IsLightDismissEnabled DP 2021-02-27 15:24:47 +00:00
Daniel Clark 8e334912b9 Added offset value to offset the popup position by 1px 2021-02-27 14:18:32 +00:00
Daniel Clark 5db230c83c re-wired opened and closed events 2021-02-27 12:03:36 +00:00
Daniel Clark 240609270e fixed issue with margin 2021-02-27 11:57:23 +00:00
Daniel Clark 737dbe9b32 Major refactor to use Popup replacing the Flyout. This will allow for future enhancements. 2021-02-26 20:48:10 +00:00
Daniel Clark c408eafdde [WIP] Positioning of popup 2021-02-26 16:21:23 +00:00
Daniel Clark f0b42d1551 [WIP] Move over to a popup 2021-02-26 14:34:13 +00:00
Daniel Clark d25744a9f4 Added ability to set Auto or Right flyout placement 2021-02-25 17:39:19 +00:00
Daniel Clark 36f2953fd4 Added NotificationFlyoutPlacement enum 2021-02-25 15:08:45 +00:00
Daniel Clark bc42e0cff1 Remove max width and height from flyout style 2021-02-25 15:02:42 +00:00
Daniel Clark 9fa476e57d Update version 2021-02-15 21:21:50 +00:00
Daniel Clark b96155be73 Moved EntranceThemeTransition and ThemeShadow to the Presenter style, this allows the margin to be set around the content of the shadow thus allowing you to offset the flyout via the margin property 2021-02-15 15:19:57 +00:00
Daniel Clark 68107307b0 Updated reference in sample 2021-02-15 14:38:51 +00:00
Daniel Clark 30b04b1fcc Project changes meaning the UWP stuff cannot relay on .Common stuff, this all has all happen in the host and then referred up to the UWP control, or else the UWP project would of had to carry a boat load of unsupported packages!! 2021-02-15 13:00:32 +00:00
Daniel Clark 36259ccb6b accidental blowout of the project files 2021-02-15 12:21:59 +00:00
Daniel Clark b920a4622a Support setting notification tray icon as a png 2021-02-14 22:03:12 +00:00
Daniel Clark 50033d9aa3 Added notification icon fallback support 2021-02-14 20:59:45 +00:00
Daniel Clark 9869470c24 Use ThemeResource for resolving AccentBrush 2021-02-14 16:04:28 +00:00
Daniel Clark 2ace378529 Added support for switching to Accent background color if the user requests this via Windows theme settings 2021-02-14 15:58:39 +00:00
Daniel Clark 8dce9f882b It's no or never... remap Namespaces with TheXamlGuy.* prefix 2021-02-14 15:31:07 +00:00
Daniel Clark 2d74e40948 Rename namespaces with TheGuyXaml prefix 2021-02-14 15:21:14 +00:00
Daniel Clark cadf8f9ec0 Reorg project folders 2021-02-14 15:19:33 +00:00
Daniel Clark 266f1938c3 Rename projects 2021-02-14 15:17:01 +00:00
Daniel Clark 2401235aca Rename solution 2021-02-14 15:11:34 +00:00
Daniel Clark cef6e99e74 clean up wpf.ui some more 2021-02-13 17:18:45 +00:00
Daniel Clark ce314678b5 Moved all PInvokes to a lower class without any relianceon WPF, NotificationIconHelper, TaskbarHelper, SystemPersonalisationHelper are WPF window no more 2021-02-13 17:08:00 +00:00
Daniel Clark 20441d5749 Tunnel flyout events to top level notificationflyout so users can handle events accordingly. 2021-02-13 11:47:55 +00:00
Daniel Clark c7b80cc997 Remove unnecessary flyout style setters 2021-02-13 00:10:26 +00:00
Daniel Clark af1800e725 fixed scrolling issue 2021-02-13 00:08:11 +00:00
Daniel Clark ee7530b8b5 Added support common styling properties via NotificationFlyout 2021-02-12 23:44:52 +00:00
Daniel Clark 84afcf0be3 refactoring for the next stage 2021-02-12 23:23:41 +00:00
Daniel Clark 6ba358963b update assembly infos 2021-02-11 17:27:09 +00:00
Daniel Clark 4a6c6ca4a5 Added API for opening a window from flyout w/ sample 2021-02-11 15:09:20 +00:00
Daniel Clark fd46a44988 Added API for closing FlyoutApplication from the Flyout control in two seperate projects. 2021-02-11 10:44:07 +00:00
Daniel Clark c01af45f7f Added ContextMenu support 2021-02-11 00:56:52 +00:00
Daniel Clark 91b4f94e3f [WIP] Add context menu support 2021-02-10 22:44:19 +00:00
Daniel Clark 72983bef6a Suppress benign MSBuild warning NU1702 + use MSBuild.Sdk.Extras throughout 2021-02-10 16:27:44 +00:00
Daniel Clark 822627a87d update sample 2021-02-10 14:21:50 +00:00
Daniel Clark 993e9c5d6d Added sample packaged project and added app context based on whether you are running the app natively or thru an app package 2021-02-10 13:53:16 +00:00
Daniel Clark f7abdbc465 added requested theme dp to NotificationFlyout control since it is just a normal DependencyObject 2021-02-10 12:11:56 +00:00