Граф коммитов

23 Коммитов

Автор SHA1 Сообщение Дата
Pavel Yakovlev cceee9ded6 Add TabStop/TabIndex (#2795)
* [Core, UWP, Android] support TabStop/TabIndex

* removing linq

* add iOS / MacOS implementation

* add WPF implementation
fixes UWP implementation

* - addressing comments
- improve test
- optimizations
- added previous tab direction in same tab group

* addressing comments

* [Android] support tabstop for pickers

* - moving shared code to a static class
- removed reflection

* ITabStop -> changed to internal, renamed, added in to fastRenderers

* Update ITabStop to be public
2018-09-12 21:20:46 -07:00
Mohamed CHOUCHANE dab544298b [WPF] Memory leak when you pop a TabbedPage (#3372) fixes #3267
* Fix [WPF] Memory leak when you pop a TabbedPage

* Update ViewRenderer.cs

* Update ViewRenderer.cs
2018-08-31 14:08:19 +01:00
Pavel Yakovlev c7bb53cd82 [WPF] Fix ItemTapped event (#3270) fixes #3265 2018-08-07 16:13:10 +01:00
Alan Grgic 97d2f30f6b [Enhancement] Allow underline and strikethrough text decorations on labels and spans (#2221)
* Fixes #1632

* Allow underline and strikethrought text decorations on labels and spans

* revert some files

* pr feedback adjustments

* remove docs

* rename interface

* reorder enum

* clean up whitespace

* adjust tizen renderer

* add gallery demo for setting both underline and strike

* allow multiple values of enum to be set in xaml/css

* use normal null check

* use nameof

* include paragraph style

* tab alignment

* rebase from upstream

* pass control to update method on UWP

* correct text decorations type converter

* reset run text instead of label text on UWP when spans are used

* add tests for text decoration converter
2018-07-20 17:57:11 -06:00
Mohamed CHOUCHANE e352abe1dc [WPF] Add WpfLightToolkit in the Xamarin Forms WPF Backend (#3104)
* [WPF] Add WpfLightToolkit in the Xamarin Forms Wpf projet

* Delete WpfLightToolkit dependency

* [WPF] Add WpfLightToolkit in the Xamarin Forms Wpf projet

* Delete WpfLightToolkit dependency
2018-07-02 11:11:23 +01:00
Javier Suárez Ruiz 13568c1cf2 Fixed WPF Build (#2968) 2018-06-07 01:18:14 -07:00
Javier Suárez Ruiz d883edbc72 [WPF] Fixed Images from Stream (#2917) fixes #2844
* Fixed WPF Stream images

* Dispose Stream after load BitmapImage
2018-06-05 13:15:59 -07:00
Ravinder Jangra 8bf1ceddcf Placeholder in WPF (#2689) 2018-05-14 16:00:53 +01:00
Javier Suárez Ruiz 088c2f5b3b [Enhancement] Rounded corners on BoxView (#1998)
* Added CornerRadius property to BoxView

* Added CornerRadius definition

* Removed unnecessary code

* Updated macOS BoxViewRenderer

* Changed BoxView CornerRadius Property definition

* Updated CornerRadius class (added Equals, operator ==, operator !=, GetHashCode and Deconstruct)
Added CornerRadiusTypeConverter

* Fixed namespaces (removed .Core)

* Changes from PR feedback

* Changes from PR feedback

* Fixed build error
Change FormsBoxView to internal

* Fixed build error

* Fixed build errors

* Changes in MacOS BoxViewRenderer
2018-05-08 11:34:13 +02:00
Adam 500a8cda76 [All] Span GestureRecognizers (#2173)
* 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
2018-05-07 19:02:28 +01:00
Rui Marinho 9a811eaff8
Merge pull request #2211 from jsuarezruiz/feature/2189-wpf-entry-placeholder
[WPF] Entry Placeholder property
2018-04-13 11:00:28 +01:00
Mohamed CHOUCHANE b6eed669f7 Fix issue #2394 : StackLayout VerticalOptions = LayoutOptions.End is not working 2018-04-07 19:10:57 +02:00
Javier Suárez Ruiz 6e1abb5324 Changes in WPF Entry to manage the Placeholder and PlaceholderColor properties 2018-03-29 19:50:33 +02:00
Mohamed CHOUCHANE 8e6627ae6d Add test project
Fix null reference exception in WebViewRenderer
2018-03-22 20:19:53 +01:00
Mohamed CHOUCHANE 4fc59d26c3 Bug Fix : 1864 - Xamarin.Forms WPF load local html throw ArgumentException with message "Relative URIs are not allowed" 2018-03-22 19:49:30 +01:00
Alan Grgic 578c0eb23a [Enhancement] Add EvaluateJavaScript method to WebView (#2140)
* Add EvaluateJavaScript method to return string result of js calls

* add docs

* account for some quirks between platforms

* cleanup

* edge cases, standardization, and error handling

* early escape

* add null check

* fix code styles

* clarify sort

* code styles adjustment and null check
2018-03-22 10:20:47 -07:00
Brian Macomber c96640d00c [Core, iOS, Android, UWP, WPF] Hide scroll view scroll bars (#1910)
* 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
2018-02-26 13:20:39 -08:00
Gerald Versluis 1f770f6588 Implemented MaxLength property on Entry and Editor (#1880)
* 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
2018-02-19 14:27:27 -08:00
Francesco Bonacci 58d56d02c8 Add ProgressColor on ProgressBar (#1861) 2018-02-15 12:10:40 +00:00
Frank A. Krueger e07e446a27 Use GetHandlerForObject instead of GetHandler (#1713)
* Use GetHandlerForObject instead of GetHandler

This allows IReflectableTypes to be used.

* Update Registrar docs

- fixes #1712
2018-01-30 09:06:35 +01:00
BradChase2011 3c9fffddcf [WPF] Added a simplistic TimePicker. (#1500) 2018-01-05 09:12:33 +00:00
Mohamed CHOUCHANE 66b6f9f482 [WPF, GTK, TIZEN] Replace obsolete OutlineColor by BorderColor (#1443) 2017-12-21 09:18:07 +01:00
Mohamed CHOUCHANE 1bbd9dfa52 [WPF] Xamarin Forms WPF Backend - Platform Project (#1334)
* Add WPF Platform, WPF const in Device and Update Docs

* Add Settings.Designer.cs

* Remove two lines : build on iPhone configuration

* Remove lines for ios build
2017-12-06 21:15:13 +00:00