* 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
In scenarios where you want to keep track of pages as they are
appearing on screen, it's useful to be able to subscribe to a
global event from the `Application` to track those pages for
later processing (i.e. showing a timeline for the app, reloading
XAML for some of those pages, maybe replaying the timeline, etc.)
The new events are automatically raised from the Page base class
right after sending the page-level Appearing/Disappearing events.
* Add repro for 1909
* [Android] Get PaddingLeft from native button
* [Core] Add PS for removing the native padding from Android buttons
* [Android] Implement UseNativePadding
* Adjust test to show the new UseNativePadding results
* Update docs
fixes#1909
* Update docs again
* Add button styles for testing
* [Core] Add UseDefaultShadow and UseDefaultPadding platform specifics
* Use new PS in tests
* [Android] Button uses new Platform Specifics
* Update docs
* Fix test case
* 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
* Let user set delegate to resolve handlers, effects, and services; closes#1739
* Remove old comments
* Move dependency-resolution-specific code to a separate class;
Remove Reset method; simplify internal API;
* Update docs to reflect new changes
* Add type checks closer to resolution; rename ForceResolve; remove public delegate type;
* Update docs
* Fixes#1665 by adding `SeparatorStyle` property
to iOS specific ListViews. ListViewRenderer will check
this property when cells are retrieved in the ListViewDataSource
and set SeparatorInset and LayoutMargins to zero.
* 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.
* 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
* Removed rounding in AbsoluteLayout to ensure Android devices with certain sizes can still use proportional sizes to fill the device screen.
* doc updates
* [C/XamlC] BindingMode.OneTime
Bindings with mode == OneTime:
- are only applied when the BindingContext changes
- do not subscribe to INPC
if the Binding is compiled and the mode explicitely set in the
`{Binding}` Markup extension, the setters and handlers aren't even
created.
- fixes#1686
* update docs
* [C] FlexLayout, with managed engine
* [C] add type converter and attributes for CSS
* [C] fix flex-order
* [C] fix typo and margin in Flex
* [Flex] relative value for Basis, padding on the layout
* fix docs
* [Flex] fix NRE on empty layout
* [flex] fix layout measuring
* 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
* [Xaml] let the previewer know the asm
in addition to the resourcePath, tell the previewer the assembly in
which we're looking for the resource.
* fix docs
* 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