* Updated StatusBarBehavior to use the NavigatedTo event for setting the color and style and updated the Sample app.
* Added fact to verify expected exception on NavigatedTo event.
* Update src/CommunityToolkit.Maui.UnitTests/Behaviors/StatusBarBehaviorTests.cs
It wasn't inside the if before so forgot to remove it after wrapping it :)
Co-authored-by: Pedro Jesus <pedrojesus.cefet@gmail.com>
* Removed unit test I do not know how to trigger OnAttachedTo without using reflection.
* Added enum StatusBarApplyOn to control when the StatusBarBehavior applies its configured color and style.
* Updated sample to use the new enum
---------
Co-authored-by: Mikael Nensén <mikael.nensen@datema.se>
Co-authored-by: Pedro Jesus <pedrojesus.cefet@gmail.com>
Co-authored-by: Shaun Lawrence <shaunrlawrence@gmail.com>
* Windows Snackbar rewrite
Replaces ToastNotification with AppNotificationManager. Fixes Snackbar and Toast execute new instance of the app
* reverted to use maui-package-name-placeholder
* Update Xcode version for net8.0-maccatalyst
---------
Co-authored-by: Brandon Minnick <13558917+brminnick@users.noreply.github.com>
Co-authored-by: Pedro Jesus <pedrojesus.cefet@gmail.com>
Co-authored-by: Gerald Versluis <gerald@verslu.is>
* Fix IOS bug in media Element when using Popup
* removed unused usings
* Remove accidental IOS build info
* remove extra line added by mistake
* Add Popup Media Element
* Fix Xaml layout
* more xaml fixes
* Rework Shell detection and get Current ViewController
* Update view controller logic to fix Navigation Page CTD
* Remove unused variables and method logic
* Fix for CollectionViewController
* revert breaking changes and mark ctor as [Obsolete]
* Hides the Obsolete ctor from showing up
* Update to fix breaking changes
* fix missing close bracket
---------
Co-authored-by: Pedro Jesus <pedrojesus.cefet@gmail.com>
* Removed the transparent color that was being set on Android when the icon tint color is set to null.
* Add `null` Color to IconTintColorBehavior in Sample App
* Update Sample
---------
Co-authored-by: Brandon Minnick <13558917+brminnick@users.noreply.github.com>
* Added initial PopupService implementation
* Tweaks to allowing parameters to be passed to the view model behind a popup
* Tidy up xml docs
* Some unit tests
* Only create a view model instance if the BindingContext hasn't been set
* Remove the reliance on IQueryAttributable in favour of our own interface
* A better way to find the current Page
* Readonly dictionary and some safety checking around expected BindingContext types.
* A different attempt at passing parameters without an explicit interface
* Update src/CommunityToolkit.Maui/PopupService.cs
Co-authored-by: Pedro Jesus <pedrojesus.cefet@gmail.com>
* Now is a time for test
* Remove unnecessary changes
* Sample to perform a long running process
* Provide ability to close popup from within popup view model
* Prevent unnecessary instance being created
* Refactor `CurrentPage`, Add Default Constructor, Refactor `ValidateBindingContext`
* Update Unit Tests
---------
Co-authored-by: Pedro Jesus <pedrojesus.cefet@gmail.com>
Co-authored-by: Brandon Minnick <13558917+brminnick@users.noreply.github.com>
* Add drawing started, cancelled, and on-drawing commands
This commit adds the following changes:
- Added `DrawingStartedCommand` to handle the event when drawing starts.
- Added `DrawingCancelledCommand` to handle the event when drawing is cancelled.
- Added `OnDrawingCommand` to handle the event while drawing.
These changes allow for better control and handling of the drawing events in the `DrawingViewPage.xaml` and `DrawingViewViewModel.cs`.
* Refactor drawing view event handling methods
- Renamed `DrawingStarted` to `OnDrawingStarted`
- Renamed `DrawingCancelled` to `OnDrawingCancelled`
These changes were made to improve consistency and clarity in the code.
* Rename methods
* Implement IDrawingView.OnDrawingLineCompleted
* Add `Mode=OneTime` to ICommand Bindings
* Use `is true`
* `dotnet format`
* Remove Whitespace
* Reverse IDrawingView Default Interface Method
---------
Co-authored-by: Brandon Minnick <13558917+brminnick@users.noreply.github.com>
* Add consideration of FlowDirection on Windows
* Add FlowDirection as an option to CustomSizeAndPositionPopupPage
* Add support for FlowDirection for Android, iOS, MacCatalyst
* Add support for Tizen
* Fix IsFillVerticalOptionSelected Radio Button Position
* Fix FlowDirection Sample Bugs
* Reuse validation method
* Upate Formatting
* Use fully-qualified namespace
---------
Co-authored-by: Brandon Minnick <13558917+brminnick@users.noreply.github.com>
Co-authored-by: Jay Cho <chojoong@gmail.com>
* Updated the StaticResource set for the border, since it was preventing to navigate to the page from macOS
* Updated the naming of a color static resource.
---------
Co-authored-by: Brandon Minnick <13558917+brminnick@users.noreply.github.com>
* Updated the validation to allow the image button to apply the tint color when the source changed.
* Remove namespace
---------
Co-authored-by: Gerald Versluis <gerald@verslu.is>
Co-authored-by: Pedro Jesus <pedrojesus.cefet@gmail.com>
Co-authored-by: Brandon Minnick <13558917+brminnick@users.noreply.github.com>
* Resolves issue on Windows where the splash screen icon is not found.
* Resolves an issue with the 'Ratings' sample for AvatarView.
* Spaces and not tabs
* Spaces and not tabs
* Changed MauiImage to point to Images folder.
* Changed splash for Windows to be Resize=False
* Typo in name of MauiImage
* Try to prevent locking.