The Completed event should be invoked when the user presses the return key only. Using NSTextField DidEndEditing is not favorable because pressing the Tab key will cause this method as well
* Fix mac os standard button events
Pressed, Released, Clicked, and Command all fire appropriately
* Rename / improve mac os button event pressed / released actions
* Improve FormsNSTextField.FocusChanged behavior
Unfocused no longer fires immediately after first focus. Unfocused will fire with Return key or Tab key press. Unfocused will fire when window loses key while the Entry is was focused. Focused will fire when window becomes key and the Entry was previously first responder.
* Add UI test for macOS Entry focused/unfocused test
* Update test class to reflect github issue
* Unsubscribe from window events in FormsNSTextField
* Remove single line conditional braces
* Remove single line conditional braces
* Bindable Text Property on Span
* Minor fix and cleanup
* Cleanup of code after review
* Android TapGestureRecognizer for Span
* iOS Span TapGestureRecognizer enabled
* Corrected Android issue with LineHeights
* UWP code cleanup for new Span properties
* WPF Span GestureRecognizers added
* Set Parent and reduce calls to Text property
* Add gesture recognizer to label if not present.
* Label Changed to handle Span and GestureRecognizer changes.
iOS updated to accomodate new CompositeGestureRecognizer
* Move Android to new Label structure
* Overridden Collection Clear events
* Refactoring code
* Refactor to extensions for span position calculations
* Further refactor and cleanup after rebase
* Fixed rebase issues
* Bug fixes, refactoring and performance improvements
* Moved to region and supported triggering overlapping regions, including inflation
* Inflation added
* Region inflate, and GestureElement
* Refactoring
* Refactoring of naming and loops
* Cleanup
* Removed command
* UWP tap span fix
* Detect child gesture recognizers in Android
* BackgroundColor support on span for WPF
* Remove trailing tabs
* Region UnitTests
* Refactor based on review
* Further code cleanup
* Initial Commit
* Initial Commit
Added setting the initial state of H and V Scroll bar visibility on Android
Added WPF support
Fixed a copy/paste of Upw that should be Wpf
Added GTK and MacOS.
Plus a minor addition to iOS
Added Tizen support
I am unable to test as I can not get Tizen working in my envrionment at the moment
* Added setting the initial state of H and V Scroll bar visibility on Android
* Added WPF support
* Fixed a copy/paste of Upw that should be Wpf
* Added GTK and MacOS.
Plus a minor addition to iOS
* Added Tizen support
I am unable to test as I can not get Tizen working in my envrionment at the moment
* Changes from review
* Update ScrollViewRenderer.cs
* add small WPF performance improvement
* add docs
* fix bad merge
* light refactor (macOS)
* spaces -> tabs
* more spaces -> tabs
* account for Android styles when setting default behavior
* Implemented UAP and WPF
* Revert "Implemented UAP and WPF"
This reverts commit e17a66236756021e2b66503281ee3c1cf463e5da.
* Started implementation of #1663
Added MaxLength property on InputView and implemented iOS and Android
Entry and Android Editor
* Implemented iOS Editor
* Improved Android MaxLength
First check to see if there is a LengthFilter in there already and
remove that first
* Implemented GTK naming enhancement for iOS
* Implemented UAP and WPF
* Implemented Tizen
* Removed Linq and implemented forgotten method 😅
* Fixed whitespaces -> tabs
Except GTK, seems everything is spaces there, so kept it for consistency
* Added null guard for iOS
* Implemented Mac OS
* Added samples to gallery
* Polished Tizen implementation
* Tizen EditorRenderer updated and converted more whitespaces to tabs
* Fixed spaces to tabs and usage of nameof
* Added trimming of current text when MaxLength is less than current value length
* Reference right Entry for Tizen
* Trimming on MaxLength change for Tizen
* Trimming on MaxLength change for GTK
* Removed redundant GetValue calls and whitespace fiesta
* And the ones I missed
* Updated the docs
* Revert "Updated the docs"
This reverts commit 416e28706ab921d72e72ebc6488d4b3c4651a384.
* Updated docs just for InputView
* [macOS] DatePicker & TimePicker dont report IsFocused and use old DateTime.
* [macOS] DatePicker & TimePicker dont report IsFocused and use old DateTime. (Missing File)
* Revert "Revert "Fix border on android buttons (#941)""
This reverts commit a4c7f31d1215174aa86d7647bcbce0dd5e719a9a.
* Add repro for 1436
Fix typo
* [Core] Use 2dp for Android default Button BorderRadius
* [Android] Add shadow & padding to ButtonDrawable
* [Android] Set BackgroundDrawable on Button when BorderWidth, BorderRadius, and BorderColor are changed
Also add RippleDrawable when supported for the nice ripple effect on press, and set the PaddingTop for the ButtonDrawable. fixes#1436
* [Android] Default Color for Button is specified for AppCompat and AppAct
* [Android] Check BorderRadius value against proper default
* Fix test case number
* grumble grumble this branch is still vs2015 grumble
* [Android] Get button color from resources
* [Core] Obsolete Button.BorderRadius in favor of CornerRadius
* [Core] Added VisualElement.DefaultBackgroundColor
* Update tests to ignore obsolete prop warning
* [Android] Use Button.CornerRadius instead of BorderRadius
* [iOS] Use Button.CornerRadius instead of BorderRadius
* [macOS] Use Button.CornerRadius instead of BorderRadius
* [UWP] Use Button.CornerRadius instead of BorderRadius
* Update docs
* Fix more cases of BorderRadius obsolete warnings
* [UWP] Use BP.DefaultValue instead of abstracted const
* [Android] Use BP.DefaultValue instead of abstracted const
* [Core] Remove unnecessary abstracted consts from Button
* [Android] Fix default corner radius on ButtonDrawable
* Unit tests for Button.CornerRadius/BorderRadius
* [iOS] Restore default Button.CornerRadius
* [UWP] Add todo
* make OnElementChanged and OnElementPropertyChanged protected virtual like all other renderers
* raise ElementChanged outside virtual OnElementChanged method
* [Controls] Improve sample for MacOS control gallery, add a storyboard for the menu
* [Core] Add QuitApp to platform services
* [Core] Add ClickedGestureREcognizer
* [MacOS] Implement ClickGestureRecognizer
* [Core] Add MainMenu
* [MacOS] Implement Main top menu
* [Controls] Add desktop support test page
* [MacOS] Update menu items if they change
* [MacOS] Refactor to make it build for iOS
* [Core] Add Menu attached property to Element
* [MacOS] Implement MacOS context menu
* [Core] Fix type of ADP
* [Core] Add Accelerators to MenuItem
* [ControlGallery] Add example for Accelerator MenuItems
* [Core,iOS] Update ClickedEventArgs to ButtonMask enum
* [Docs] Update docs
* [Core]Fix build error
* [WP8] Implement QuitApp
* [WP8] Log warning instead of throw
* [Tests] Add unit tests for menu and menuitem
* [Docs]Update docs
* Update build submodule
* [Core,MacOS,Docs] Use Attached Property for MainMenu
* [Core] Update ButtonsMask, reduce calls to GetValue getting parameter
* [All] Use Accelerator class
* [Core] Add tests for accelerator
* [All] Move QuitApp to QuitApplication
* [Core, Tests] Add more tests for Accelerator
* [Core]Parse win modifier also
* [UnitTests] Fix TestCaseSource
* [MacOS,Core] Fix typo on Modifiers
* [MacOS] Fix typo
* [WinRT] Fix build
* [Docs] Update docs
* [Core] Add GetHandlerForObject and GetHandlerTypeForObject to Registrar
These new methods first try to use IReflectableType in order to support
dynamic objects. If that fails, GetType is used.
* [Platforms] Switch to query the Registrar using GetHandlerForObject
This enables dynamic objects to be used as renderers and other
points of extensibility.
* Take into account dynamic type info when comparing cell renderers
* Fix null renderer object type
* Update Registrar`1.xml
* Update Registrar`1.xml
* Add test for B58779 - DisplayActionSheet bug on MacOS
When there are a large number of items in the list (eg 15) the list goes off the bottom of the Mac desktop
* Add test for B58799 to project
* Fix for B58799
If the list of buttons has a height > 400 then put the list in a NSScrollView
* Fix whitespace for Bugzilla 58779
* Add vertical scrollbar
* Set height of scrollview to 60% of the screen height
* MacOS Image Aspect Fix
* FormsNSImageView internal
* Fixed: Renderers/ImageRenderer.cs(9,15,9,28): error CS0060: Inconsistent accessibility: base class 'ViewRenderer<Image, FormsNSImageView>' is less accessible than class 'ImageRenderer'
* FormsNSImage internal fix