Allows the customization of a ListView's selection mode. Either
ListViewSelectionMode.Single (the default) or ListViewSelectionMode.None can
be set.
Fixes#1801.
* Add demo/test pages for new properties
* Test attributes for new Slider properties
* Implement slider thumb color and thumb image on UWP
* Use nameof for ThumbImage property
* Bindable Text Property on Span
* Style applied to Span
* Added style property
* Unit tests added
* Minor fix and cleanup
* Cleanup of code after review
* Updated docs
* Set Parent and reduce calls to Text property
* OneTime Binding
* Allow OneTime Binding as a default
* Updated docs
* [Enhancement] Icon on TabbedPage UWP.
Fixes issue #1705.
* Update documentation for issue 1705.
* Smaller adjustments to make sure we still have same fixed header size
when icons are collapsed as before.
* Updated with review feedback.
TabbedPageRenderer.cs has also been updated to use tabs instead of spaces.
* Fix problem to restore back previous alignments on tabbed paged header text block.
When showing images in tabbed paged headers we store old alignment of text block
to be able to restore when hiding images (getting back original alignment of text block).
If sizes where changed for images while showed, the old values where lost.
Fix makes sure only the old values are stored, if current alignment is not the
default (center) when displaying images in tabbed paged header.
* Implementation for #1690
* Updated default(Color) -> Color.Default
* Added UWP + default
* Revert "Merge branch 'Slider' into master"
This reverts commit 0aa3d01b68, reversing
changes made to 8961c28315.
* Update SliderRenderer.cs
* Updated Doc
* Updated Slider
Removed Comment.
Formated Code
now building fine for android.
* Slider Renderer for iOS
Reuploding
* Reuploading SliderRenderer for UWP
* Checking and enabling For API >19
* 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
* Fixes#1717 by adding property DetectReadingOrderFromContentProperty
to InputView and Label and updating EntryRenderer, EditorRenderer and LabelRenderer
for Windows.
* Test created
* Round out test page;
Add InputTransparentInherited to VisualElement;
Handle InputTransparentInherited for Android;
* Handle InputTransparentInherited for iOS
* Move InputTransparentInherited to Layout
* Handle InputTransparentInherited for UWP
* Handle changes to InputTransparentInherited
* Automate tests
* Make property style consistent
* Fix some formatting issues
* Fix build
* Fix automation NRE during hit testing; fix transparency test
* [UWP] Fixed inconsistency on UWP's DatePicker and the other OS's.
* [UWP] bz60001 Test case.
* * [UWP] Fixed inconsistency on UWP's DatePicker and the other OS's. (Build fix)
On UWP, if you click around an app quickly, you can get it crash with this error:
> Xamarin.Forms.Platform.UAP.dll!Xamarin.Forms.Platform.UWP.ButtonRenderer.UpdateContent.AnonymousMethod__0(object sender, Windows.UI.Xaml.RoutedEventArgs args)
Since image loading is deferred, if you navigate quickly (or if you load the image from a slow source), the Xamarin.Forms element may no longer be present when `ImageOpened` is raised. The null check in this PR should fix that.
* Port from old VSM branch
* Add PS and notes
* Checkpoint: entry text UWP mostly working, need to check on background colors
* Remove irrelevant samples from the EntryDisabledStatesGallery
Make Background color work on UWP Entry with VSM
* Add platform specific for disabling legacy colors on Android
* Add OnPlatform example to visual state manager gallery
* Add example OnIdiom in Visual State Manager
* Add platform specific for disabling legacy color mode on iOS Entry
* Add gallery for Button disabled states
Handling legacy colors for Buttons on Android
* Split out disabled states galleries; disabled legacy handling for Picker
* TimePicker disabled states
* DatePicker color management on Android
* Color management for pre-AppCompat button
* Button legacy color handling on iOS
* Consolidate Platform Specifics;
legacy colors working for iOS Picker and DatePicker
* Fix broken search bar color management
SearchBar color management working with VSM
Add test page for SearchBar disabled color management
Consolidate legacy color management check code into extension method on Android
* Legacy color management for Editor on Android
* Fix legacy color stuff for SearchBar Cancel button on iOS
* C# 7 cleanup
* Add colors for Cancel Button
* Make sure VisualStateGroup collections set by styles are distinct objects
* Validation example
* Make common state names consts
* Make the Windows VSM and Forms VSM work together
* Update galleries for Windows
* Make new methods internal
* Split gallery classes and add more explanation to validation example
* Remove debugging statements
* Add a quick code-only example
* Make legacy color management work for fast button renderer
* Remove old TODO
* Update docs
* Move RunTimeNamePropertyAttribute to Xamarin.Forms.Xaml namespace
* Verify XF namespace when looking for VisualState
* Use nameof
* Make common states constants public
* Cast VisualElement directly so it crashes if the property is set on the wrong type
* Collection -> IList for VisualStateManager
* Setting fromStyle to true
* Remove extraneous `private set`
* Seal VSM classes
* Use constraints instead of ==
* Add teardown method; use constraints rather than ==
* Remove null checking with GetVisualStateGroups
* Don't explicitly initialize collections on elements
* Actually, turns out that fromStyle:false *was* correct
* Direct casts
* Use GetIsDefault check in GoToState
* Validate parents in FindTypeForVisualState
* Validate group and state names on Add
* Fixed check for setter collection
* Fix issues with "duplicate" names when VisualStateGroups declared directly on VisualElements
* Add gallery example for VSGs directly on VisualElements
* Update docs
* Fix bug where initial TextColor isn't set for FastRenderer Button
* Move to explicit VisualStateGroupList in Setter
* Fix return types for unit tests
* Using string.CompareOrdinal in GetState
* Update docs
* Add check for null/empty VisualState Name properties
* [UWP] Optimized ZIndexing for a thirty-nine percent speed boot on loading views.
* [UWP] Optimized ZIndexing for a thirty-nine percent speed boot on loading views.
* Starting repro
* Stop CellControl from creating extra unnecessary Cells
* Update repro
* Add missing calls to SuppressFinalize
* Update test
* Possible fix
* Repro for Xaml case with group header
* Consolidate event handler removal
* Clean up outdated todo in PlatformQueries
* Remove Loaded/Unloaded handlers to avoid leaking renderer
* Unparent previous page when popping so resource changed handlers are cleaned up
* When clearing nav stack on MainPage set, also clear modal stack
* Tests for grouped and ungrouped lists
* Prevent list item duplication and leaking
* PR cleanup
* Fix possible exception when ViewCell View measure returns negative height