Xamarin.Forms/Xamarin.Forms.Platform.UAP/Resources.xaml

445 строки
26 KiB
Plaintext
Исходник Обычный вид История

2016-03-22 23:02:25 +03:00
<ResourceDictionary
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:uwp="using:Xamarin.Forms.Platform.UWP"
x:Class="Xamarin.Forms.Platform.UWP.Resources">
<ResourceDictionary.MergedDictionaries>
<ResourceDictionary Source="FormsCommandBarStyle.xaml" />
Platform Specifics (#301) * Playing around with how the platform specifics interfaces etc. might work * Sample implementation of iOS navigation translucency * Very slightly reduced code * Better vendor stuff * Drop single-implemenation interfaces * Generics on NavigationPage * On-demand vendor stuff * Remove functionally duplicate classes and make ControlGallery work again * Namespace all the things. XAML test. * Can use Effect to attach platform specific * Attach Effect on PropertyChanging for XAML support! * Rename IConfigPlatform interfaces for readability * Some renaming to match the documents * Split class files * Clear out test-only code * Re-namespace * Added On method to rendered Elements * Allow for removal of platform suffix, convenience methods on specific platforms * Creating a gallery page for specifics * Add rudimentary Platform Specifics gallery; make CollapseStyle work on UWP; Add CollapsedPaneWidth specific property * Toolbar now working with both collapse styles * MDP now displaying Content title; toolbar routing around title * Add a gallery for the iOS NavigationPage stuff * Add Navigation Page as detail page to verify it works with new Toolbar options * Make titlebar/toolbar background colors consistent * ToolbarPlacement now working on NavigationPage * Toolbar Placement working for tabbed and nav pages * Fix bug where phone doesn't get default toolbar placement on start * [Core] Add PS WindowSoftInputModeAdjust [Core] Make Application extendable * Toolbar placement now working on Nav, Tabbed, and Master pages on desktop/phone Remove unnecessary style indirection Fix build errors * [A] Add PlatformConfigurationExtensions * SetSoftInputMode test page * [A] SetSoftInputMode Known issue: Status bar color does not work in AdjustResize mode * [Core] Add PS Blur * [iOS] Configure renderer for blur * Add test page * Move to blur VisualElement for broader support * Move test pages to gallery * Update docs * Use lazy initializer for PlatformConfigurationRegistry
2016-08-30 20:46:14 +03:00
<ResourceDictionary Source="PageControlStyle.xaml" />
<ResourceDictionary Source="FormsProgressBarStyle.xaml" />
2016-03-22 23:02:25 +03:00
<ResourceDictionary Source="FormsTextBoxStyle.xaml" />
<ResourceDictionary Source="FormsCheckBoxStyle.xaml" />
<ResourceDictionary Source="FormsAutoSuggestBoxStyle.xaml" />
<ResourceDictionary Source="MasterDetailControlStyle.xaml" />
<ResourceDictionary Source="FlyoutPageControlStyle.xaml" />
Platform Specifics (#301) * Playing around with how the platform specifics interfaces etc. might work * Sample implementation of iOS navigation translucency * Very slightly reduced code * Better vendor stuff * Drop single-implemenation interfaces * Generics on NavigationPage * On-demand vendor stuff * Remove functionally duplicate classes and make ControlGallery work again * Namespace all the things. XAML test. * Can use Effect to attach platform specific * Attach Effect on PropertyChanging for XAML support! * Rename IConfigPlatform interfaces for readability * Some renaming to match the documents * Split class files * Clear out test-only code * Re-namespace * Added On method to rendered Elements * Allow for removal of platform suffix, convenience methods on specific platforms * Creating a gallery page for specifics * Add rudimentary Platform Specifics gallery; make CollapseStyle work on UWP; Add CollapsedPaneWidth specific property * Toolbar now working with both collapse styles * MDP now displaying Content title; toolbar routing around title * Add a gallery for the iOS NavigationPage stuff * Add Navigation Page as detail page to verify it works with new Toolbar options * Make titlebar/toolbar background colors consistent * ToolbarPlacement now working on NavigationPage * Toolbar Placement working for tabbed and nav pages * Fix bug where phone doesn't get default toolbar placement on start * [Core] Add PS WindowSoftInputModeAdjust [Core] Make Application extendable * Toolbar placement now working on Nav, Tabbed, and Master pages on desktop/phone Remove unnecessary style indirection Fix build errors * [A] Add PlatformConfigurationExtensions * SetSoftInputMode test page * [A] SetSoftInputMode Known issue: Status bar color does not work in AdjustResize mode * [Core] Add PS Blur * [iOS] Configure renderer for blur * Add test page * Move to blur VisualElement for broader support * Move test pages to gallery * Update docs * Use lazy initializer for PlatformConfigurationRegistry
2016-08-30 20:46:14 +03:00
<ResourceDictionary Source="TabbedPageStyle.xaml" />
<ResourceDictionary Source="SliderStyle.xaml" />
<ResourceDictionary Source="CollectionView/ItemsViewStyles.xaml" />
<ResourceDictionary Source="PickerStyle.xaml" />
Adds UWP support to Shell (#6015) * Some basics to get started * more renderers * Fix titlebar color * More shell stuff working * Hacked some more UI in * Fix null ref issue * Move renderer registration outside common code (for now) * Re-write of the renderers to better use a cleaner UWP approach * Moved functionality around, bug fixesetc * Added null check * Added null-check on appearance and use default colors as fallback * Handle change in flyout behavior to correctly turn the flyout on/off * Handle the TabBarIsVisible property * code formatting * Ensure FlyoutHeader isn't show if the app starts up with a minimal pane * Throw if used on versions lower than Windows 10 1809 * Added null-check for when ShellContent isn't set * Support tabs in FlyoutItems with Display AsMultipleItems by using the generated FlyoutGroupings instead * Improve pane behavior and styling * Undo Android change used during testing * Fix platform support check * Use FileImageSourcePathConverter on NavigationViewItem instead of a custom control (so I deleted ShellNavigationViewItemRenderer which is no longer needed). Ensure `FileImageSourcePathConverter` won't throw if it didn't get a FileImageSource. Move the flyout data templates into a resource so they can be overridden and compiled. * Delete renamed file * Use a resource instead of parsing a string template * Handle search box property changes * Update page title on property change * Update bottombar when shellitems change * Guard against API usage not present * Platform check comments * Fix problem running in release mode (use Bindable to generate XamlMetadata * Trigger rebind of menu items source when collection changes * Added support for Toolbar * Fix searchbox behavior (still lacks expand/collapse feature) * Add overload for defining the navigation transition * Use different navigation transitions based on navigatin direction * Hides header with show / hide nav command * collapses header area on hide nav * Move to use WinUI * Fix runtime issues after merge. * - rebase fixes * - rebase fixes * - fix spaces/tabs * - flags, hide apis, delete assembly info * - set flag on UWP CG * - expose renderer creations and make them all public * - formatting fixes * - address PR comments * - fix header so it's full width and swappable
2019-09-18 01:26:56 +03:00
</ResourceDictionary.MergedDictionaries>
<uwp:CaseConverter x:Key="LowerConverter" ConvertToUpper="False" />
2016-03-22 23:02:25 +03:00
<uwp:CaseConverter x:Key="UpperConverter" ConvertToUpper="True" />
<uwp:HeightConverter x:Key="HeightConverter" />
<uwp:CollapseWhenEmptyConverter x:Key="CollapseWhenEmpty" />
<uwp:BoolToVisibilityConverter x:Key="BoolVisibilityConverter" />
[Enhancement] Brushes (#9220) * Added brushes to Core, Core Gallery and the iOS implementation * Implemented brushes on UWP * Improved UWP brushes implementation * Changes to improve the brushes Core Gallery samples * Added default SolidColorBrush colors * Improved brushes samples adding more options * Implement brushes on Android * Fixed Brush Background on Android ImageButton * Initial code to add support to brushes using CSS * Support more CSS gradient options Added more unit tests * Changes in Core Gallery brushes samples * Reuse same ColorTypeConverter in the GradientBrushParser * Fixed brush issues on specific controles (Android: Page) (iOS: Label, ImageButton, NavBar) * Updated brushes unit tests * Added new sample in Core Gallery Fixed angle issue in UWP LinearGradientBrush * Fixed UWP issue updating brushes in Buttons * Improved UWP UpdateBackground logic in VisualElementRenderer * Fixed UWP build errors Fixed some UWP brushes issues * Added WPF implementation * Fixed issue verifying brushes in iOS VisualElementRenderer * Fixed iOS brushes in BoxView * Added scroll to LinearGradientPointsGallery sample * Fixed iOS brushes size issue * Implemented brushes in macOS * Uncommented wrong method to update image brushes resizing the App Window * Fixed Windows Build * Fixed broken unit tests * Added more comments in UWP RadialGradientBrush * Added BrushExperimental flag * Notify VisualElement Background changes if some Brush property have changed * Fixed brush issue in Android Button using CornerRadius * Fixed unnecessary border color issue applying brushes to Layouts in Android * Fixed brushes unit tests * Removed EditorBrowsable label in BackgroundColor until deprecate it * - fix whitespace * Changed IsEmpty Brush property to be abstract and implemented it in every brush. * Changed IGradientShader to GradientShader * Fixed BindableBrushGallery issue on iOS/macOS * Fixed wrong iOS right RadialGradientBrush * Fixed Brush in iOS NavBar iOS < 13 * Fixed iOS Brush on Button and Label * Fixed Build errors * Replace UWP Community Toolkit RadialGradientBrush class by WinUI 2.4 RadialGradientBrush * Fixed broken unit test * Fixed brushes issues on macOS resizing the Window or on iOS rotation, etc. * Added the option to choose the BorderColor in the Brushes Playground * Removed duplicated ShapeRenderer Compile line in Platform iOS csproj * Removed unnecessary changes * Added Visual Brush samples * Implemented Brushes in iOS Visual Renderers * Only show the access to the Brushes Visual sample in Android and iOS * Added brushes support to shapes * Fixed Build error * Removed unnecessary changes * Added Brushes support to Android Material ActivityIndicator * Added brushes support to Android Visual Frame * Updated Visual Android Renderers * Fixed BoxView Brush issue * Updated brush views sample to add more BoxView cases * Added brushes tests classes * More Brushes unit tests * Added more controls to test in the BrushesViewGallery * Added new Brushes sample * Fixed build error * Updated AnimateShapeGallery to use a Brush * Fixed CoreGallery Core samples allowing to use the Background property * Added Brushes platform unit tests * - apply background color if solid brush is empty * - fix visual checkbox * Fixed the build * Fixed issue on Shapes * Updated MaterialButtonRenderer to use IsOneOf with several properties * Removed unnecesary change in UWP Styles * Use IsOneOf in UWP BackgroundTracker * Added IsNullOrEmpty Brush method * Removed unnecessary brush updates * Added more constructors to LinearGradientBrush and RadialGradientBrush * Fixed UWP NavBar BarBackgroundColor issue * Removed unnecessary line in UWP BoxViewRenderer * Fixed NRE in iOS ButtonRenderer * Updated iOS Button SetBackground logic * Implemented Shell FlyoutBackground Co-authored-by: Shane Neuville <shneuvil@microsoft.com> Co-authored-by: Samantha Houts <samhouts@users.noreply.github.com>
2020-07-17 17:44:13 +03:00
<uwp:BrushConverter x:Key="BrushConverter" />
2016-03-22 23:02:25 +03:00
<uwp:BoolToVisibilityConverter x:Key="InvertedBoolVisibilityConverter" FalseIsVisible="True" />
<uwp:PageToRenderedElementConverter x:Key="PageToRenderer" />
<uwp:ImageConverter x:Key="ImageConverter" />
<uwp:ViewToRendererConverter x:Key="ViewToRenderer" />
<uwp:ColorConverter x:Key="ColorConverter" />
[Core, iOS, Android, UWP, WPF, GTK, Tizen] Implement TextColor on TableSection (#4379) fixes #2910 * Update from origin (#8) * [C] VisibilityConverter Trims input (#3581) For CSS purposes, the VisibilityConverter was added, and actually replaced the `Boolean.Parse(str)` call for parsing Visibility. `Boolean.Parse()` trims input, and the converter was not, so this was a regression. This changes Trim() the input, to be fully backward compatible. - fixes #3554 * Ensure ConstructorCountId and TimeId elements are available before querying them (#3588) * For consistency with ResourceDictionary, expose the Source for a StyleSheet (#2589) This would allow previewer/designer/reloader to determine the source of a stylesheet and refresh its content when appropriate. * Revert "For consistency with ResourceDictionary, expose the Source for a StyleSheet (#2589)" This reverts commit f66a72de5b475a6a8387a80e418997b38dc40d4c. * Fix NRE; Ret 0 if Text null (#3594) fixes #3579 * [UWP, WPF] Fixes rendering of the main page (#2896) fixes #2704 * [Core] Ignore Shamehat target when running DesignTimeBuild (#3605) * [XamlC] Fix binding compilation fo value types (#3551) properly load valuetype arguments of generated setters, using ldarg, instead of ldarga. - fixes #3539 * Update PULL_REQUEST_TEMPLATE.md * Update PULL_REQUEST_TEMPLATE.md * [Android] Fix Label LineHeight (#3452) * fix line height android * Make UAP respect initial LineHeight * update .create-nuget.bat (#3638) * Add Null Check to GetRenderer (#3575) - fix #3563 * Fix 3562 Null Reference Exception (#3576) - fixes #3562 * Fix 3564 Null Reference Exception (#3578) - fixes #3564 * [iOS] AutomationProperty support for cells (#3313) fixes #3296 * [iOS] AutomationProperty support for cells * Add test case to AutomationProperties gallery * [UWP] Fix crash app when create navigation/tabbed page without children pages fixes #3188 (#3514) * [Android] Use height when determining ScaledScreenSize; fixes #3609 (#3641) * [C] Set binding context on Span Gestures (#3639) * [Core] Set binding context on Span Gestures * [Core] Simplify loop setting child binding context - fixes #3524 * Update PULL_REQUEST_TEMPLATE.md * [Android] remove deprecated AndroidUseLatestPlatformSdk (#3672) * [iOS] iPad ActionSheet should always have a Cancel method (#3636) * Add repro for #3049 * [iOS] iPad ActionSheet should always have a Cancel method fixes #3049 * [Android] fixes #3675 - set initial ScrollView Scroll values when RTL (#3676) * [Android] API check for Shadow properties on Button (#3617) fixes #2702 * [Android] API check for Shadow properties on Button * Fix swapped shadow values * [iOS] fixes #3525 - add epsilon for float compare (#3654) * [iOS] fixes #3525 - add epsilon for float compare and make region immutable * [ControlGallery] spread out spans to account for click slop * [ControlGallery] - adjust span slightly for android test * [Core] remove private * Fix text wrapping (#3671) fixes #3634 * [GTK] Fix navigation bar visibility updates (#3651) * Fix partially #3585 (#3592) * Make webkit-sharp.dll.config cross-platform * Update webkit-sharp.dll with missing signals bindings see: https://github.com/ylatuya/webkit-sharp/tree/fluendo * [iOS, UWP] fixes #2894 - Gestures collection changes weren't correctly propagating (#3643) * [iOS, UWP] fixes #2894 - Gestures weren't wiring up to spans in all cases * [Core] remove ChildGestureRecognizers when spans get removed * [iOS] removed incorrect return from null * Fixes #3663 (#3684) * Fix ScrollView Padding issue (#3685) * [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 * [Android,iOS,UWP] Allow Entry CursorPosition/SelectionLength to be set in ctor (#3402) fixes #3343 fixes #3633 * Add repro for #3343 + unit tests * [Core] Disallow negative values for CursorPosition/SelectionLength * [All] CursorPosition/SelectionLength can bindin ctor & clear value fixes #3343 * typo * cleanup * [iOS] Cursor snaps to end * try/catch * [CSS] add more properties (#3466) map new CSS properties: - `color` on `IColorElement` (`ActivityIndicator`, `BoxView`), `ProgressBar` and `Switch` - `row-gap` and `column-gap` on `Grid` - `transform` and `transform-origin` on `VisualElement` - `vertical-align` on `Label` add new XF-specific CSS properties - `-xf-placeholder` and `-xf-placeholder-color` on `Editor`, `Entry`, `SearchBar` - `-xf-max-length` on `InputView` (`Editor` and `Entry`) - `-xf-bar-background-color` and `-xf-bar-text-color` on `NavigationPage` and `TabbedPage` - `-xf-orientation` on `ScrollView` and `StackLayout` - `-xf-horizontal-scroll-bar-visibility` and `-xf-vertical-scroll-bar-visibility` on `ScrollView` - `-xf-min-track-color`, `-xf-max-track-color` and `("-xf-thumb-color` on `Slider` - `-xf-spacing` on `StackLayout` This PR replaces and closes #3276 - fixes #2891 * [iOS] Specify a default size for UISearchBar width if needed (#3635) fixes #3413 fixes #2139 * [Controls] Add reproduction and test case for issue #3413 * [iOS] Don't use max value for iOS UISearchbar breaks on iOS 11.3 * [iOS] Force width value so we can renderer UISearchBar on iOS10 with infinite width * [Controls] Fix spelling and add Manual Review to the test of #3413 * [iOS] Simplify code for UISearchBar width * [iOS] Return always some width from measure the UISearchBar on IOS * [Controls] Add reproduction case for issue #2139 * [UWP] Fixed double set margins in Layouts (#3570) fixes #3398 fixes #3616 * [Android] Support multiple clipping settings in single layout (#3559) * Repro * Fix for API 18+ * [iOS] Unsubscribe CellPropertyChanged when SwitchCellRenderer is disposed (#3518) * [Controls] Add repo of issue #3408 * [iOS] Unsubscribe CellPropertyChanged when cell is disposed * [Controls] Add issue to project * [iOS] Introduce CellPropertyChange to CellTableViewCell to used by all other cell renderers * [Controls] Simplify Issue * [iOS] Remove PropertyChanged that was not used * [Controls] add check for null binding on template, add notes about issues * [Controls] added reference to Android crash * [iOS]Use existing PropertyChanged on ViewCelRenderer * [iOS] Keep the existing override so we don't break users * Update TextCellRenderer.cs * update submodule * 24H Mode (#3701) The 24h mode for the pickerdialog was not working. Version 3.1 was working fine. Here is an updated file. * [UWP] uncomment tests that are now passing for 3188 (#3723) * [UITest] Update Xamarin.UITest nuget package (#3632) * [UITests] Update Xamarin.UITest 2.2.5 * [UITests] Try fix Toolbaritems * [UITest] Update to 2.2.5-1606 * [UITests] Small Fixes and workarounds to make uitest happy * [UITests ] Add delay to 1733 for API28 * [Android] Revert bad merge (#3746) fixes #3705 * [Android, iOS] Fixes layout compression causes (#3698) fixes #3624 * [Android, iOS] Fixes layout compression causes * [iOS] improve UpdateNewElement method * Fix build error hopefully * [UWP] Fixes CollectionChanged events in ListView (#3323) * fixes #3273 * [UWP] Fixes CollectionChanged events in ListView * a wrapped collection is used only if the SourceItem is not ObservableCollection * improve uitest * fixed NRE in empty ListView * added a sortable custom renderer for UItest * minor refactoring * fixed reset of not wrapped collections * addressing comments * [UWP] remove WinRT hack * [UWP] add missing using and cleanup additional resources * [Android] Update Forms to remove API28 deprecated API (#3653) fixes #2128 fixes #3629 * [Build] Update provisioning * [Controls] Ignore deprecated Android API usage * [Android] Remove use of obsolete color usage * [Android] Remove app fragment usage * [android] Rollback changes to EntryCellRenderer * [Android] Better way to get the default color for the label text * [Android] Obsolete message for ContentPage.CreateFragment() * [ControlGallery] - create bitmap from Drawable to use for pixel location * [Android] Use textcolor resource * Update submodule * Fix tests (#3771) * [ControlGallery] Wait for element and add timing to tests * [iOS] Fix NRE on RenderPool * 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 * Fix : Binding Icon in ToolbarItem in TabbedPage doesn't refresh (#3761) fixes #3756 * [iOS] Fix NRE on ContextCell (#3714) fixes #3275 * [Controls] Add repo for issue #3275 * [iOS] Fix NRE when no gestures exist on table * [iOS] Null check outside loop * [iOS]Make sure to dispose/unhook when we are removed from UITableView. * Update submodule * [iOS] Don't double dispose ContextActionCell * WPF - Fix Width and Height measurement when GetDesiredSize (#3750) * WPF - Reset Width and Height when GetDesiredSize * Some formatting changes * Add APP directive * [WPF]Fix build * [Android Maps] Make markers available to subclasses (#3751) * Make markers available to subclasses * Fix build * Use Find instead of FirstOrDefault * [UITests] wait for element before querying for it (#3791) * [UITests] wait for element before querying for it * [Controls] generalize and better represent intended behavior * WPF - Fix Local store not persistant when restarting App (#3752) -fixes #3541 * WPF - Fix Local store not persistant when restarting App * Add UITest * [Controls] Add automated UI Test * [UITests] Isolate test 3408 * [UITest] Update Xamarin UITest packages * [UWP] implement Replace without reloading ListView (#3792) -fixes #3788 * [UWP] implement Replace without reloading ListView * [UWP] extract bindingcontext of new item for replace * [iOS] Use UIApperance default color for UISwitch (#3819) * [Controls] Set default color of UISwitch to Red * [iOS] Use default color from Apperance API * [UITests] replace awaits with more reliable WaitForElement (#3835) * [Core] Propagate BindingContext changes to TitleView (#3823) * [Core] Propagate BindingContext changes to TitleView * [Tests] Move UI test to Core Unit Test * [A] do not draw gradient for empty CornerRadius (#3786) Drawing CornerRadius (introduce by #1998) when the CornerRadii are actually 0 causes scaling artifacts on API < 25. This fixes the regression when no CornerRadius is set. Expect blurry border scaling with CornerRadius not empty and API < 25 - fixes #3781 * [Android] Fix WebView.Navigating event, make WebViewClient inheritable (#3780) * Extracted WebViewRenderer.WebClient to FormsWebViewClient, moved SendNavigating call from ShouldOverrideUrlLoading to OnPageStarted * Changed _webViewClient and GetWebViewClient() method to return base class * Changed public things to protected internal * Fix spaces to tabs indentation to match the coding style (#3745) * [Build] Fix merge * Fix #3097 swipe gesture not being handled in VisualElementTracker. (#3098) Fixes #3097 * Update from origin (#9) * [C] VisibilityConverter Trims input (#3581) For CSS purposes, the VisibilityConverter was added, and actually replaced the `Boolean.Parse(str)` call for parsing Visibility. `Boolean.Parse()` trims input, and the converter was not, so this was a regression. This changes Trim() the input, to be fully backward compatible. - fixes #3554 * Ensure ConstructorCountId and TimeId elements are available before querying them (#3588) * For consistency with ResourceDictionary, expose the Source for a StyleSheet (#2589) This would allow previewer/designer/reloader to determine the source of a stylesheet and refresh its content when appropriate. * Revert "For consistency with ResourceDictionary, expose the Source for a StyleSheet (#2589)" This reverts commit f66a72de5b475a6a8387a80e418997b38dc40d4c. * Fix NRE; Ret 0 if Text null (#3594) fixes #3579 * [UWP, WPF] Fixes rendering of the main page (#2896) fixes #2704 * [Core] Ignore Shamehat target when running DesignTimeBuild (#3605) * [XamlC] Fix binding compilation fo value types (#3551) properly load valuetype arguments of generated setters, using ldarg, instead of ldarga. - fixes #3539 * Update PULL_REQUEST_TEMPLATE.md * Update PULL_REQUEST_TEMPLATE.md * [Android] Fix Label LineHeight (#3452) * fix line height android * Make UAP respect initial LineHeight * update .create-nuget.bat (#3638) * Add Null Check to GetRenderer (#3575) - fix #3563 * Fix 3562 Null Reference Exception (#3576) - fixes #3562 * Fix 3564 Null Reference Exception (#3578) - fixes #3564 * [iOS] AutomationProperty support for cells (#3313) fixes #3296 * [iOS] AutomationProperty support for cells * Add test case to AutomationProperties gallery * [UWP] Fix crash app when create navigation/tabbed page without children pages fixes #3188 (#3514) * [Android] Use height when determining ScaledScreenSize; fixes #3609 (#3641) * [C] Set binding context on Span Gestures (#3639) * [Core] Set binding context on Span Gestures * [Core] Simplify loop setting child binding context - fixes #3524 * Update PULL_REQUEST_TEMPLATE.md * [Android] remove deprecated AndroidUseLatestPlatformSdk (#3672) * [iOS] iPad ActionSheet should always have a Cancel method (#3636) * Add repro for #3049 * [iOS] iPad ActionSheet should always have a Cancel method fixes #3049 * [Android] fixes #3675 - set initial ScrollView Scroll values when RTL (#3676) * [Android] API check for Shadow properties on Button (#3617) fixes #2702 * [Android] API check for Shadow properties on Button * Fix swapped shadow values * [iOS] fixes #3525 - add epsilon for float compare (#3654) * [iOS] fixes #3525 - add epsilon for float compare and make region immutable * [ControlGallery] spread out spans to account for click slop * [ControlGallery] - adjust span slightly for android test * [Core] remove private * Fix text wrapping (#3671) fixes #3634 * [GTK] Fix navigation bar visibility updates (#3651) * Fix partially #3585 (#3592) * Make webkit-sharp.dll.config cross-platform * Update webkit-sharp.dll with missing signals bindings see: https://github.com/ylatuya/webkit-sharp/tree/fluendo * [iOS, UWP] fixes #2894 - Gestures collection changes weren't correctly propagating (#3643) * [iOS, UWP] fixes #2894 - Gestures weren't wiring up to spans in all cases * [Core] remove ChildGestureRecognizers when spans get removed * [iOS] removed incorrect return from null * Fixes #3663 (#3684) * Fix ScrollView Padding issue (#3685) * [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 * [Android,iOS,UWP] Allow Entry CursorPosition/SelectionLength to be set in ctor (#3402) fixes #3343 fixes #3633 * Add repro for #3343 + unit tests * [Core] Disallow negative values for CursorPosition/SelectionLength * [All] CursorPosition/SelectionLength can bindin ctor & clear value fixes #3343 * typo * cleanup * [iOS] Cursor snaps to end * try/catch * [CSS] add more properties (#3466) map new CSS properties: - `color` on `IColorElement` (`ActivityIndicator`, `BoxView`), `ProgressBar` and `Switch` - `row-gap` and `column-gap` on `Grid` - `transform` and `transform-origin` on `VisualElement` - `vertical-align` on `Label` add new XF-specific CSS properties - `-xf-placeholder` and `-xf-placeholder-color` on `Editor`, `Entry`, `SearchBar` - `-xf-max-length` on `InputView` (`Editor` and `Entry`) - `-xf-bar-background-color` and `-xf-bar-text-color` on `NavigationPage` and `TabbedPage` - `-xf-orientation` on `ScrollView` and `StackLayout` - `-xf-horizontal-scroll-bar-visibility` and `-xf-vertical-scroll-bar-visibility` on `ScrollView` - `-xf-min-track-color`, `-xf-max-track-color` and `("-xf-thumb-color` on `Slider` - `-xf-spacing` on `StackLayout` This PR replaces and closes #3276 - fixes #2891 * [iOS] Specify a default size for UISearchBar width if needed (#3635) fixes #3413 fixes #2139 * [Controls] Add reproduction and test case for issue #3413 * [iOS] Don't use max value for iOS UISearchbar breaks on iOS 11.3 * [iOS] Force width value so we can renderer UISearchBar on iOS10 with infinite width * [Controls] Fix spelling and add Manual Review to the test of #3413 * [iOS] Simplify code for UISearchBar width * [iOS] Return always some width from measure the UISearchBar on IOS * [Controls] Add reproduction case for issue #2139 * [UWP] Fixed double set margins in Layouts (#3570) fixes #3398 fixes #3616 * [Android] Support multiple clipping settings in single layout (#3559) * Repro * Fix for API 18+ * [iOS] Unsubscribe CellPropertyChanged when SwitchCellRenderer is disposed (#3518) * [Controls] Add repo of issue #3408 * [iOS] Unsubscribe CellPropertyChanged when cell is disposed * [Controls] Add issue to project * [iOS] Introduce CellPropertyChange to CellTableViewCell to used by all other cell renderers * [Controls] Simplify Issue * [iOS] Remove PropertyChanged that was not used * [Controls] add check for null binding on template, add notes about issues * [Controls] added reference to Android crash * [iOS]Use existing PropertyChanged on ViewCelRenderer * [iOS] Keep the existing override so we don't break users * Update TextCellRenderer.cs * update submodule * 24H Mode (#3701) The 24h mode for the pickerdialog was not working. Version 3.1 was working fine. Here is an updated file. * [UWP] uncomment tests that are now passing for 3188 (#3723) * [UITest] Update Xamarin.UITest nuget package (#3632) * [UITests] Update Xamarin.UITest 2.2.5 * [UITests] Try fix Toolbaritems * [UITest] Update to 2.2.5-1606 * [UITests] Small Fixes and workarounds to make uitest happy * [UITests ] Add delay to 1733 for API28 * [Android] Revert bad merge (#3746) fixes #3705 * [Android, iOS] Fixes layout compression causes (#3698) fixes #3624 * [Android, iOS] Fixes layout compression causes * [iOS] improve UpdateNewElement method * Fix build error hopefully * [UWP] Fixes CollectionChanged events in ListView (#3323) * fixes #3273 * [UWP] Fixes CollectionChanged events in ListView * a wrapped collection is used only if the SourceItem is not ObservableCollection * improve uitest * fixed NRE in empty ListView * added a sortable custom renderer for UItest * minor refactoring * fixed reset of not wrapped collections * addressing comments * [UWP] remove WinRT hack * [UWP] add missing using and cleanup additional resources * [Android] Update Forms to remove API28 deprecated API (#3653) fixes #2128 fixes #3629 * [Build] Update provisioning * [Controls] Ignore deprecated Android API usage * [Android] Remove use of obsolete color usage * [Android] Remove app fragment usage * [android] Rollback changes to EntryCellRenderer * [Android] Better way to get the default color for the label text * [Android] Obsolete message for ContentPage.CreateFragment() * [ControlGallery] - create bitmap from Drawable to use for pixel location * [Android] Use textcolor resource * Update submodule * Fix tests (#3771) * [ControlGallery] Wait for element and add timing to tests * [iOS] Fix NRE on RenderPool * 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 * Fix : Binding Icon in ToolbarItem in TabbedPage doesn't refresh (#3761) fixes #3756 * [iOS] Fix NRE on ContextCell (#3714) fixes #3275 * [Controls] Add repo for issue #3275 * [iOS] Fix NRE when no gestures exist on table * [iOS] Null check outside loop * [iOS]Make sure to dispose/unhook when we are removed from UITableView. * Update submodule * [iOS] Don't double dispose ContextActionCell * WPF - Fix Width and Height measurement when GetDesiredSize (#3750) * WPF - Reset Width and Height when GetDesiredSize * Some formatting changes * Add APP directive * [WPF]Fix build * [Android Maps] Make markers available to subclasses (#3751) * Make markers available to subclasses * Fix build * Use Find instead of FirstOrDefault * [UITests] wait for element before querying for it (#3791) * [UITests] wait for element before querying for it * [Controls] generalize and better represent intended behavior * WPF - Fix Local store not persistant when restarting App (#3752) -fixes #3541 * WPF - Fix Local store not persistant when restarting App * Add UITest * [Controls] Add automated UI Test * [UITests] Isolate test 3408 * [UITest] Update Xamarin UITest packages * [UWP] implement Replace without reloading ListView (#3792) -fixes #3788 * [UWP] implement Replace without reloading ListView * [UWP] extract bindingcontext of new item for replace * [iOS] Use UIApperance default color for UISwitch (#3819) * [Controls] Set default color of UISwitch to Red * [iOS] Use default color from Apperance API * [UITests] replace awaits with more reliable WaitForElement (#3835) * [Core] Propagate BindingContext changes to TitleView (#3823) * [Core] Propagate BindingContext changes to TitleView * [Tests] Move UI test to Core Unit Test * [A] do not draw gradient for empty CornerRadius (#3786) Drawing CornerRadius (introduce by #1998) when the CornerRadii are actually 0 causes scaling artifacts on API < 25. This fixes the regression when no CornerRadius is set. Expect blurry border scaling with CornerRadius not empty and API < 25 - fixes #3781 * [Android] Fix WebView.Navigating event, make WebViewClient inheritable (#3780) * Extracted WebViewRenderer.WebClient to FormsWebViewClient, moved SendNavigating call from ShouldOverrideUrlLoading to OnPageStarted * Changed _webViewClient and GetWebViewClient() method to return base class * Changed public things to protected internal * Fix spaces to tabs indentation to match the coding style (#3745) * [Build] Fix merge * Fix #3097 swipe gesture not being handled in VisualElementTracker. (#3098) Fixes #3097 * Ensure that the ListViewAdapter is no longer being used by the ListVi… (#3848) fixes #3603 * Ensure that the ListViewAdapter is no longer being used by the ListView before disposing it * Remove `RemoveAllViews` from `Dispose` * Update from origin (#11) * [Android] Enable MaxLines and TextDecorations on fast renderers (#3878) * enable MaxLines on fast renderers * added text decoration functionality * include test in project * [Enhancement] Create a bindable property for AutomationId (#3879) * create a bindable property for automationId * make ClassId and AutomationId properties of Element * add comments to .create-nuget.bat * added preserve attribute (#3876) fixes #2306 * [Core] Moving Command's CanExecuteChanged to use the WeakEventManager (#3852) fixes #3656 * [Core] Use WeakEventManager on CanExecuteChanged * [Core]Add unit test for remove event handler with WeakEventManager * [Core] Fix remove the correct handler * [CSS] accept 'oblique' for 'font-style' (#3815) fixes #3808 - fixes #3808 * Prevent double time/date picker dialogs on Android when setting focus (#3899) * Prevent double time/date picker dialogs on Android when setting focus (#3899) * [Controls] Fix merge remove duplciated issue 3788 * WPF - Fix Unable to intercept back button (#3762) * WPF - Fix Unable to intercept back button * WPF - Improve OnBackButtonPressed -fixes #3689 * Fix Bugzilla38723 (#3812) fixes #2302 * [C] fix css mapping (#3919) * [Android] Fix UI test 1851 (#3882) * add preserve attribute - fixes #2255 * added using System * fixed spacing * use TestContentPage * fixed scope issues * [Android] Make native Android Platforms accessible via Context (#3364) * Make native Android Platforms accessible via Context * Add null checks * Added a disabled look to Android Toolbar Item images. (#3773) * Added a disabled look to Android Toolbar Item images. * Update NavigationPageRenderer.cs Refactored DisabledToolbarAlpha into a constant as requested. * [UWP] fixes tabstops of TimePicker, DatePiker. SearchBar, Stepper (#3896) * [UWP] fixes tabstops of TimePicker, DatePiker. SearchBar, Stepper * common code moved to VisualElementRenderer * rename interface fixes #3872 * [UWP] For the Slider default value of step is set to 1000 to match Android. (#3141) * WPF - Ctrl+A does not select all in WPF password Entry (#3908) * [WPF] Fix Height of items not consistent (#3925) fixes #3913 * Fix StartTimer and Ticker for UWP (#3911) - fixes #1937 * Apply font fix for button and span (#3907) * added instructions (#3891) - fixes #2361 * [Android] Convert corner radius with correct pixel density (#3893) fixes #3884 * [Controls] Add Issue #3884 repo * [Android] Convert corner radius with correct pixel density fixes #3884 * [Controls] Update test message * WPF - Fix TimePicker with short time pattern shows verbose time (#3924) * Fix UI test 39378 (#3928) fixes #2305 * Update ClipBounds when View bounds changes (#3909) fixes #3717 * [C] catch AmbiguousMatchException on GetProps (#3915) - fixes #3870 * Automate UI test B45702 (#3914) fixes #2389 * automate 45702 * fix indentation * Fix bugzilla60787 (#3933) * [Android]Fix for frame renderer's bug (bugzilla 60787). #3902 https://bugzilla.xamarin.com/show_bug.cgi?id=60787 https://github.com/xamarin/Xamarin.Forms/issues/3902 * Add control to repro * PR fix * Build fix * Build fix for Xamarin.Forms.Core.Android.UITests * added instructions (#3926) * [UWP] fixes flyout menu on cell item (#3682) * Fix UI test B41424 needs instructions (#3942) * Add manual test steps and checks for ui test * step4Label text fix * [iOS] fix full width issues for TitleView (#3939) * [iOS] fix full width issues for TitleView * [iOS] simplified iOS 10 fixes #3881 fixes #3679 * Changes in TableView GTK Control to allow refresh the content (#3941) - fixes #3725 * Only set the Page Padding via SafeAreaInset on iOS (#3811) * only set the Page Padding via SafeAreaInset on iOS -fixes #3809 * [Controls] add waits for clicks in ui tests * [Controls] remove wrong category * [iOS] Move inset logic down into ios renderer * Added logic to allow set the ListView SelectedIndex (#3948) fixes #3766 * Automate UI test 35127 (#3927) * automate test - fixes #2262 * indentation fix * indentation fix 2 * Make GetIconDrawable virtual (#3967) By making GetIconDrawable virtual for the Android TabbedPageRenderer it allows for the icon to come from other sources (like glyph fonts). This will work for both top and bottom tabs. * [GTK] Fix visibility of hidden pages in the stack (#3904) When navigating to a new page, we should hide the previous content and show the new one so that the previous page renderer is not taken in account for redraws and resizes * [Android] If MaxLines is not explicitly set, let LineBreakMode handle it (#3936) * [Android] If MaxLines is not explicitly set, all LineBreakMode to set it; if MaxLines is explicitly set, MaxLines setting wins. Use a more reasonable default for native MaxLines when handling it via LineBreakMode. Consolidate MaxLines handling code between legacy and fast renderers. Remove unnecessary setting of SingleLine (which only applies to input). - fixes #3772 * Remove unnecessary maxLines setting * Handle resetting MaxLines to -1/default * Reinstate workaround for array bounds exception in older Android APIs * Fix UI test B43941 (#3889) * Add all platforms and remove non-deterministic behaviour * Return back correct check of counter * Endline fix * remove childPages list * [XamlC] avoid multiple subscription (#3969) Avoid multiple subscription to PropertyChanged on TypedBindings - fixes #3613 - fixes #3650 * Fix typos (mainly 'toogle' becoming 'toggle') (#3975) * Fix Issue2597 Needs UI Test (#3966) * Add test for issue 2597 * Fix space * Add CODEOWNERS * Fix PanGesture inside scroll issue https://github.com/xamarin/Xamarin… (#3842) * Fix PanGesture inside scroll issue https://github.com/xamarin/Xamarin.Forms/issues/3840 - fixes #3840 * fixe formatting * [UITest] added UI Test * [Controls] adjusted UI Test button positions * [UITEST] simplify UI tests * [C] add CSS mapping for max-lines (#3991) - fixes #3982 * [iOS] Add ability to turn off updates to native controls from another thread (#3774) * [iOS] Add ability to turn off updates to native controls from another thread * Flip evaluation order fixes #1755 * Fixed NotImplementedException refreshing items in WPF ListView (#3962) * Fixed NotImplementedException refreshing items in WPF ListView * Small changes in ListView events subscription fixes #3309 fixes #3737 fixes #3648 * [GTK] Fix transparent background in visual elements (#3744) * Fix ActivityIndicator.IsRunning state (#4007) * add pdb for uap into nuget (#4015) * update GitInfo * [XamlC] don't compile bindings with Source (#3978) Sources are usually x:reference that can't be resolved at compilation time. - fixes #3606 * [Xaml[C]] resolve Extensions first (#3977) XamlLoader should first look for type with the Extension suffix. It used to be the case, but somehow regressed. - fixes https://github.com/xamarin/Xamarin.Forms/issues/3606#issuecomment-422377338 * [UWP] Document in the README.md the steps required to run UI Tests (#4014) fixes #3984 * [Tizen] Add TabIndex implement for Tizen renderer (#4046) * [Tasks] multitarget the build tasks (#3895) - fixes #2690 - closes #2706 * [UITests] Update TestCloud.Agent (#4055) * [Tizen] Fix ProjectGuid for Forwarders (#4063) * [Tizen] Fix ProjectGuid for Forwarders * [Tizen] Make sure not to generate dependency file * Correct minor typo (#4068) * Added WebView Reload (#4013) fixes #3776 * Added WebView Reload * WebView Reload Added Tizen suport * [Tizen] Cleanup Code (#4080) * fixed ios editor placeholder font (#4009) * Prevented crash https://github.com/xamarin/Xamarin.Forms/issues/2291 (#4072) - fixes #2291 * [Xaml] Allow OnPlat markup in Styles (#3995) - fixes #3862 * [Xaml] fix Namescope being different than tree (#4089) As part of #2556, the namescoping tree was assumed to be equiv to the object tree, which is obviously wrong. This fixes it, while keeping the old behavior as a fallback. We might go further, but I can't come up with a reasonable scenario failing. - fixes #3821 * [Sample] [Android] Fixed PagesGallery.Droid build (#3999) * fixed PagesGallery.Droid build * Moved Xamarin.Forms.Platform.Android (Forwarders) reference to previous place * updated project guid to lower case * Fix typeface reset issue (#4019) * Use ViewCompat to set and get label for view (#3996) * Removing LineBreakMode support from WindowsResourcesProvider (#4024) * Repro test page for 3979 * Removes LineBreakMode support from WindowsResourcesProvider as it is inconsistent with other platforms and caused issues when setting Span style to the default Device Styles * [macOS] Fix NRE on Mojave when aligning the tile (#4086) fixes #3031 * [GTK] Add support for ClickGestureRecognizer (#3971) * [GTK] Add support for ClickGestureRecognizer * Add ClickGestureGalleryPage to test ClickGestureRecognizer * [iOS] Label TextColor has no effect with FormattedString (#4043) * https://github.com/xamarin/Xamarin.Forms/issues/4040 fix default font/color for formatted string * https://github.com/xamarin/Xamarin.Forms/pull/4043 fixed naming, added test case * Moved field and property to top - fixes #4040 * fix build, tentatively (#4117) * [Xaml] don't swallow exceptions from converters (#4100) Compiled converters are invoked, by reflection, at compile time. Any exception thrown there will be wrapped in a TargetInvocationException. When that happens, we still want to expose the inner XamlParseException to the user. - fixes #4099 * housekeeping ended with https://github.com/xamarin/Xamarin.Forms/pull/3999 (#4105) * Bump minimum Microsoft.NETCore.UniversalWindowsPlatform version to 6.0.12 (#4106) * [Tizen] Fix Window alpha update timing (#4119) * [UWP] fixed `MinimumDate` and `MaximumDate` properties of DatePicker (#3683) fixes #3331 * [WPF] Fixes `ControlTemplate` sizing issue (#2656) - fixes #2642 * Remove BOM from nuspec (#4128) * Navigation Page double Popped event Workaround (#3851) fixes #3509 * Navigation Page double Popped event Workaround * [UITest] Add UI Test * [Core] fix formatting * revert formatting fix * implemented workaround suggested by PureWeen * removed whitespace * moved ignorePopCall to a better location * [Enhancements] Toolbar a11y (#3974) fixes #1742 fixes #3795 * [Controls] Add automation id to icon * [iOS] Add AutomationId support to MDP tooggle button * [Android] Add support for AutomationId to ActionBarDrawerToggle and MasterDetailPage * [IOS] Refactor and add Accessibility to ToolbarItems * [iOS] Fix typos * [Android] Add accessibility to ToolbarItems * [UWP] Refactor A11y to extensions * [UWP] Set Accessibility properties on ToolbarItems * [UWP] Set accessibility to MDP button * [ControlGallery] Add accessibility toolbaritems to gallery * Comment test out * [iOS] Fix NRE when Control is being disposed * [UITests] Remove not used UITests file * Implementation of method ForceUpdateSize for Cell on macOS (#4104) * Implemented Cell ForceUpdateSize on macOS * Tab Styling * Prevent crash during setting NULL to element via interface method (#4179) - fixes #4178 - fixes #4146 * https://github.com/xamarin/Xamarin.Forms/issues/4076 fix (#4161) * [iOS] Rapidly clicking span (6 times at least) on UITest 3525 throws a null exception (#4109) * https://github.com/xamarin/Xamarin.Forms/issues/3930 fix * following convention * [Android] Fixes AutomationProperties.Name on Button (#4094) * [Android] Fixes AutomationProperties.Name on Button * [Android] Fixes for Switch control * UWP Toolbar dynamic overflow (#4022) * Adding Windows specific ToolbarDynamicOverflowEnabled configuration * Enabled ToolbarDynamicOverflowEnabled (pun intended) on page controls and renderers * Issue 3988 sample * Removed obsolete comment, cleaned up private and whitespace * Added toolbar dynamic overflow examples for master detail page and tabbed page - fixes #2057 - fixes #3988 * Add missing initial call to UpdateLineHeight; fixes #4136 (#4147) * Added UI test to B45027 (#4079) * Add UI test to B45027 * Changed execution of current UI test to Android platform * Added iOS UI test to B45027 * Refactored UI test execution * Fix https://github.com/xamarin/Xamarin.Forms/issues/3301 (#4164) - fixes #3301 * [UWP] fixes entering text into SearchBar with UI Tests (#4173) * [UWP] fixes entering text into SearchBar with UI Tests * [UWP] ITabStopOnDescendants - fixed selection when setting focus from Selenium * [UWP] Fix TitleView Width and MDP rendering quirks (#3987) * [UWP] Fix TitleView Width and MDP rendering quirks * [UWP] fix load timing for pushed pages and titleview * [UWP] move renderer check * [UWP] remove re-measure until 4116 fixed - fixes #3828 - fixes #3834 * [macOS] NRE in WebViewRenderer (#4188) fixes #4001 * https://github.com/xamarin/Xamarin.Forms/issues/4001 * fixed build * https://github.com/xamarin/Xamarin.Forms/issues/2831 fixes #2831 (#4111) * [msbuild] use portable pdb files (#4201) Currently, on the first build of a "Hello World" Xamarin.Forms app, you will see this in the build log: ConvertDebuggingFiles Parameters Files C:\Users\myuser\.nuget\packages\xamarin.forms\3.1.0.697729\lib\MonoAndroid10\FormsViewGroup.pdb C:\Users\myuser\.nuget\packages\xamarin.forms\3.1.0.697729\lib\MonoAndroid10\Xamarin.Forms.Platform.Android.pdb OutputItems _ConvertedDebuggingFiles C:\Users\myuser\.nuget\packages\xamarin.forms\3.1.0.697729\lib\MonoAndroid10\FormsViewGroup.dll C:\Users\myuser\.nuget\packages\xamarin.forms\3.1.0.697729\lib\MonoAndroid10\Xamarin.Forms.Platform.Android.dll The logging is a little weird here, but this `ConvertDebuggingFiles` MSBuild task takes about 100ms on my machine. What is it doing? The Mono debugger can support two types of debugging files: - `mdb` files - "portable" `pdb` files If Xamarin.Android's build finds a "non-portable" `pdb` file, we have to run it through this task to convert to an `mdb` file... This gives us proper stacktraces for `FormsViewGroup.dll` and `Xamarin.Forms.Platform.Android.dll`. You can change the type of debugging symbols in your project with the `DebugType` setting, which has these options: - Blank or `None`: don't generate symbols. (Although Xamarin.Android has funny behavior here, see: https://github.com/xamarin/xamarin-android/issues/2282) - `Full` generates an `mdb` file, this is a Windows-proprietary format for debug builds - `PdbOnly` generates a "non-portable" `pdb` file, a Windows-proprietary format for release builds - `Portable` generates a "portable" pdb file, which is the new standard that works for debug and release builds. New SDK-style MSBuild projects use this option by default. These values are not case sensitive, I have mostly seen them lower case in newer projects. So what does Xamarin.Forms need to do? Use `<DebugType>portable</DebugType>` in any Android class library or app project. Other platforms, this is optional, not as much benefit. I have heard that `DebugType=portable` might cause a problem on UWP. * Xamarin.Forms will ship "portable" `pdbs` in its NuGet package for `FormsViewGroup.dll` and `Xamarin.Forms.*.Android.dll`. Developers won't pay the 100ms on initial build. * Initial build times for `Xamarin.Forms.sln` will be slightly better for development, although I didn't measure the difference here. * [XamlC] fix the argument match check for events (#4134) Well, it looks like the order of arguments of InheritOrImplements was reversed... a totally fine and normal Friday so far - fixes #4130 * Add UI Test. Add instructions. Move to correct namespace (#4170) fixes #2251 * Add uitest for 2794 (#4110) fixes #2293 * Fix PropagateEvent value properly on Cells (#4191) * bump gitinfo * [Core, iOS, MacOS, Android, UWP, WPF] ListView hide scroll view scroll bars (#3897) fixes #3843 * Update from origin (#8) * [C] VisibilityConverter Trims input (#3581) For CSS purposes, the VisibilityConverter was added, and actually replaced the `Boolean.Parse(str)` call for parsing Visibility. `Boolean.Parse()` trims input, and the converter was not, so this was a regression. This changes Trim() the input, to be fully backward compatible. - fixes #3554 * Ensure ConstructorCountId and TimeId elements are available before querying them (#3588) * For consistency with ResourceDictionary, expose the Source for a StyleSheet (#2589) This would allow previewer/designer/reloader to determine the source of a stylesheet and refresh its content when appropriate. * Revert "For consistency with ResourceDictionary, expose the Source for a StyleSheet (#2589)" This reverts commit f66a72de5b475a6a8387a80e418997b38dc40d4c. * Fix NRE; Ret 0 if Text null (#3594) fixes #3579 * [UWP, WPF] Fixes rendering of the main page (#2896) fixes #2704 * [Core] Ignore Shamehat target when running DesignTimeBuild (#3605) * [XamlC] Fix binding compilation fo value types (#3551) properly load valuetype arguments of generated setters, using ldarg, instead of ldarga. - fixes #3539 * Update PULL_REQUEST_TEMPLATE.md * Update PULL_REQUEST_TEMPLATE.md * [Android] Fix Label LineHeight (#3452) * fix line height android * Make UAP respect initial LineHeight * update .create-nuget.bat (#3638) * Add Null Check to GetRenderer (#3575) - fix #3563 * Fix 3562 Null Reference Exception (#3576) - fixes #3562 * Fix 3564 Null Reference Exception (#3578) - fixes #3564 * [iOS] AutomationProperty support for cells (#3313) fixes #3296 * [iOS] AutomationProperty support for cells * Add test case to AutomationProperties gallery * [UWP] Fix crash app when create navigation/tabbed page without children pages fixes #3188 (#3514) * [Android] Use height when determining ScaledScreenSize; fixes #3609 (#3641) * [C] Set binding context on Span Gestures (#3639) * [Core] Set binding context on Span Gestures * [Core] Simplify loop setting child binding context - fixes #3524 * Update PULL_REQUEST_TEMPLATE.md * [Android] remove deprecated AndroidUseLatestPlatformSdk (#3672) * [iOS] iPad ActionSheet should always have a Cancel method (#3636) * Add repro for #3049 * [iOS] iPad ActionSheet should always have a Cancel method fixes #3049 * [Android] fixes #3675 - set initial ScrollView Scroll values when RTL (#3676) * [Android] API check for Shadow properties on Button (#3617) fixes #2702 * [Android] API check for Shadow properties on Button * Fix swapped shadow values * [iOS] fixes #3525 - add epsilon for float compare (#3654) * [iOS] fixes #3525 - add epsilon for float compare and make region immutable * [ControlGallery] spread out spans to account for click slop * [ControlGallery] - adjust span slightly for android test * [Core] remove private * Fix text wrapping (#3671) fixes #3634 * [GTK] Fix navigation bar visibility updates (#3651) * Fix partially #3585 (#3592) * Make webkit-sharp.dll.config cross-platform * Update webkit-sharp.dll with missing signals bindings see: https://github.com/ylatuya/webkit-sharp/tree/fluendo * [iOS, UWP] fixes #2894 - Gestures collection changes weren't correctly propagating (#3643) * [iOS, UWP] fixes #2894 - Gestures weren't wiring up to spans in all cases * [Core] remove ChildGestureRecognizers when spans get removed * [iOS] removed incorrect return from null * Fixes #3663 (#3684) * Fix ScrollView Padding issue (#3685) * [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 * [Android,iOS,UWP] Allow Entry CursorPosition/SelectionLength to be set in ctor (#3402) fixes #3343 fixes #3633 * Add repro for #3343 + unit tests * [Core] Disallow negative values for CursorPosition/SelectionLength * [All] CursorPosition/SelectionLength can bindin ctor & clear value fixes #3343 * typo * cleanup * [iOS] Cursor snaps to end * try/catch * [CSS] add more properties (#3466) map new CSS properties: - `color` on `IColorElement` (`ActivityIndicator`, `BoxView`), `ProgressBar` and `Switch` - `row-gap` and `column-gap` on `Grid` - `transform` and `transform-origin` on `VisualElement` - `vertical-align` on `Label` add new XF-specific CSS properties - `-xf-placeholder` and `-xf-placeholder-color` on `Editor`, `Entry`, `SearchBar` - `-xf-max-length` on `InputView` (`Editor` and `Entry`) - `-xf-bar-background-color` and `-xf-bar-text-color` on `NavigationPage` and `TabbedPage` - `-xf-orientation` on `ScrollView` and `StackLayout` - `-xf-horizontal-scroll-bar-visibility` and `-xf-vertical-scroll-bar-visibility` on `ScrollView` - `-xf-min-track-color`, `-xf-max-track-color` and `("-xf-thumb-color` on `Slider` - `-xf-spacing` on `StackLayout` This PR replaces and closes #3276 - fixes #2891 * [iOS] Specify a default size for UISearchBar width if needed (#3635) fixes #3413 fixes #2139 * [Controls] Add reproduction and test case for issue #3413 * [iOS] Don't use max value for iOS UISearchbar breaks on iOS 11.3 * [iOS] Force width value so we can renderer UISearchBar on iOS10 with infinite width * [Controls] Fix spelling and add Manual Review to the test of #3413 * [iOS] Simplify code for UISearchBar width * [iOS] Return always some width from measure the UISearchBar on IOS * [Controls] Add reproduction case for issue #2139 * [UWP] Fixed double set margins in Layouts (#3570) fixes #3398 fixes #3616 * [Android] Support multiple clipping settings in single layout (#3559) * Repro * Fix for API 18+ * [iOS] Unsubscribe CellPropertyChanged when SwitchCellRenderer is disposed (#3518) * [Controls] Add repo of issue #3408 * [iOS] Unsubscribe CellPropertyChanged when cell is disposed * [Controls] Add issue to project * [iOS] Introduce CellPropertyChange to CellTableViewCell to used by all other cell renderers * [Controls] Simplify Issue * [iOS] Remove PropertyChanged that was not used * [Controls] add check for null binding on template, add notes about issues * [Controls] added reference to Android crash * [iOS]Use existing PropertyChanged on ViewCelRenderer * [iOS] Keep the existing override so we don't break users * Update TextCellRenderer.cs * update submodule * 24H Mode (#3701) The 24h mode for the pickerdialog was not working. Version 3.1 was working fine. Here is an updated file. * [UWP] uncomment tests that are now passing for 3188 (#3723) * [UITest] Update Xamarin.UITest nuget package (#3632) * [UITests] Update Xamarin.UITest 2.2.5 * [UITests] Try fix Toolbaritems * [UITest] Update to 2.2.5-1606 * [UITests] Small Fixes and workarounds to make uitest happy * [UITests ] Add delay to 1733 for API28 * [Android] Revert bad merge (#3746) fixes #3705 * [Android, iOS] Fixes layout compression causes (#3698) fixes #3624 * [Android, iOS] Fixes layout compression causes * [iOS] improve UpdateNewElement method * Fix build error hopefully * [UWP] Fixes CollectionChanged events in ListView (#3323) * fixes #3273 * [UWP] Fixes CollectionChanged events in ListView * a wrapped collection is used only if the SourceItem is not ObservableCollection * improve uitest * fixed NRE in empty ListView * added a sortable custom renderer for UItest * minor refactoring * fixed reset of not wrapped collections * addressing comments * [UWP] remove WinRT hack * [UWP] add missing using and cleanup additional resources * [Android] Update Forms to remove API28 deprecated API (#3653) fixes #2128 fixes #3629 * [Build] Update provisioning * [Controls] Ignore deprecated Android API usage * [Android] Remove use of obsolete color usage * [Android] Remove app fragment usage * [android] Rollback changes to EntryCellRenderer * [Android] Better way to get the default color for the label text * [Android] Obsolete message for ContentPage.CreateFragment() * [ControlGallery] - create bitmap from Drawable to use for pixel location * [Android] Use textcolor resource * Update submodule * Fix tests (#3771) * [ControlGallery] Wait for element and add timing to tests * [iOS] Fix NRE on RenderPool * 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 * Fix : Binding Icon in ToolbarItem in TabbedPage doesn't refresh (#3761) fixes #3756 * [iOS] Fix NRE on ContextCell (#3714) fixes #3275 * [Controls] Add repo for issue #3275 * [iOS] Fix NRE when no gestures exist on table * [iOS] Null check outside loop * [iOS]Make sure to dispose/unhook when we are removed from UITableView. * Update submodule * [iOS] Don't double dispose ContextActionCell * WPF - Fix Width and Height measurement when GetDesiredSize (#3750) * WPF - Reset Width and Height when GetDesiredSize * Some formatting changes * Add APP directive * [WPF]Fix build * [Android Maps] Make markers available to subclasses (#3751) * Make markers available to subclasses * Fix build * Use Find instead of FirstOrDefault * [UITests] wait for element before querying for it (#3791) * [UITests] wait for element before querying for it * [Controls] generalize and better represent intended behavior * WPF - Fix Local store not persistant when restarting App (#3752) -fixes #3541 * WPF - Fix Local store not persistant when restarting App * Add UITest * [Controls] Add automated UI Test * [UITests] Isolate test 3408 * [UITest] Update Xamarin UITest packages * [UWP] implement Replace without reloading ListView (#3792) -fixes #3788 * [UWP] implement Replace without reloading ListView * [UWP] extract bindingcontext of new item for replace * [iOS] Use UIApperance default color for UISwitch (#3819) * [Controls] Set default color of UISwitch to Red * [iOS] Use default color from Apperance API * [UITests] replace awaits with more reliable WaitForElement (#3835) * [Core] Propagate BindingContext changes to TitleView (#3823) * [Core] Propagate BindingContext changes to TitleView * [Tests] Move UI test to Core Unit Test * [A] do not draw gradient for empty CornerRadius (#3786) Drawing CornerRadius (introduce by #1998) when the CornerRadii are actually 0 causes scaling artifacts on API < 25. This fixes the regression when no CornerRadius is set. Expect blurry border scaling with CornerRadius not empty and API < 25 - fixes #3781 * [Android] Fix WebView.Navigating event, make WebViewClient inheritable (#3780) * Extracted WebViewRenderer.WebClient to FormsWebViewClient, moved SendNavigating call from ShouldOverrideUrlLoading to OnPageStarted * Changed _webViewClient and GetWebViewClient() method to return base class * Changed public things to protected internal * Fix spaces to tabs indentation to match the coding style (#3745) * [Build] Fix merge * Fix #3097 swipe gesture not being handled in VisualElementTracker. (#3098) Fixes #3097 * Implemented for iOS, Android and MacOS * Implemented UAP and WPF * Refactored duplicate code and removed typo in method name * Update from origin (#9) * [C] VisibilityConverter Trims input (#3581) For CSS purposes, the VisibilityConverter was added, and actually replaced the `Boolean.Parse(str)` call for parsing Visibility. `Boolean.Parse()` trims input, and the converter was not, so this was a regression. This changes Trim() the input, to be fully backward compatible. - fixes #3554 * Ensure ConstructorCountId and TimeId elements are available before querying them (#3588) * For consistency with ResourceDictionary, expose the Source for a StyleSheet (#2589) This would allow previewer/designer/reloader to determine the source of a stylesheet and refresh its content when appropriate. * Revert "For consistency with ResourceDictionary, expose the Source for a StyleSheet (#2589)" This reverts commit f66a72de5b475a6a8387a80e418997b38dc40d4c. * Fix NRE; Ret 0 if Text null (#3594) fixes #3579 * [UWP, WPF] Fixes rendering of the main page (#2896) fixes #2704 * [Core] Ignore Shamehat target when running DesignTimeBuild (#3605) * [XamlC] Fix binding compilation fo value types (#3551) properly load valuetype arguments of generated setters, using ldarg, instead of ldarga. - fixes #3539 * Update PULL_REQUEST_TEMPLATE.md * Update PULL_REQUEST_TEMPLATE.md * [Android] Fix Label LineHeight (#3452) * fix line height android * Make UAP respect initial LineHeight * update .create-nuget.bat (#3638) * Add Null Check to GetRenderer (#3575) - fix #3563 * Fix 3562 Null Reference Exception (#3576) - fixes #3562 * Fix 3564 Null Reference Exception (#3578) - fixes #3564 * [iOS] AutomationProperty support for cells (#3313) fixes #3296 * [iOS] AutomationProperty support for cells * Add test case to AutomationProperties gallery * [UWP] Fix crash app when create navigation/tabbed page without children pages fixes #3188 (#3514) * [Android] Use height when determining ScaledScreenSize; fixes #3609 (#3641) * [C] Set binding context on Span Gestures (#3639) * [Core] Set binding context on Span Gestures * [Core] Simplify loop setting child binding context - fixes #3524 * Update PULL_REQUEST_TEMPLATE.md * [Android] remove deprecated AndroidUseLatestPlatformSdk (#3672) * [iOS] iPad ActionSheet should always have a Cancel method (#3636) * Add repro for #3049 * [iOS] iPad ActionSheet should always have a Cancel method fixes #3049 * [Android] fixes #3675 - set initial ScrollView Scroll values when RTL (#3676) * [Android] API check for Shadow properties on Button (#3617) fixes #2702 * [Android] API check for Shadow properties on Button * Fix swapped shadow values * [iOS] fixes #3525 - add epsilon for float compare (#3654) * [iOS] fixes #3525 - add epsilon for float compare and make region immutable * [ControlGallery] spread out spans to account for click slop * [ControlGallery] - adjust span slightly for android test * [Core] remove private * Fix text wrapping (#3671) fixes #3634 * [GTK] Fix navigation bar visibility updates (#3651) * Fix partially #3585 (#3592) * Make webkit-sharp.dll.config cross-platform * Update webkit-sharp.dll with missing signals bindings see: https://github.com/ylatuya/webkit-sharp/tree/fluendo * [iOS, UWP] fixes #2894 - Gestures collection changes weren't correctly propagating (#3643) * [iOS, UWP] fixes #2894 - Gestures weren't wiring up to spans in all cases * [Core] remove ChildGestureRecognizers when spans get removed * [iOS] removed incorrect return from null * Fixes #3663 (#3684) * Fix ScrollView Padding issue (#3685) * [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 * [Android,iOS,UWP] Allow Entry CursorPosition/SelectionLength to be set in ctor (#3402) fixes #3343 fixes #3633 * Add repro for #3343 + unit tests * [Core] Disallow negative values for CursorPosition/SelectionLength * [All] CursorPosition/SelectionLength can bindin ctor & clear value fixes #3343 * typo * cleanup * [iOS] Cursor snaps to end * try/catch * [CSS] add more properties (#3466) map new CSS properties: - `color` on `IColorElement` (`ActivityIndicator`, `BoxView`), `ProgressBar` and `Switch` - `row-gap` and `column-gap` on `Grid` - `transform` and `transform-origin` on `VisualElement` - `vertical-align` on `Label` add new XF-specific CSS properties - `-xf-placeholder` and `-xf-placeholder-color` on `Editor`, `Entry`, `SearchBar` - `-xf-max-length` on `InputView` (`Editor` and `Entry`) - `-xf-bar-background-color` and `-xf-bar-text-color` on `NavigationPage` and `TabbedPage` - `-xf-orientation` on `ScrollView` and `StackLayout` - `-xf-horizontal-scroll-bar-visibility` and `-xf-vertical-scroll-bar-visibility` on `ScrollView` - `-xf-min-track-color`, `-xf-max-track-color` and `("-xf-thumb-color` on `Slider` - `-xf-spacing` on `StackLayout` This PR replaces and closes #3276 - fixes #2891 * [iOS] Specify a default size for UISearchBar width if needed (#3635) fixes #3413 fixes #2139 * [Controls] Add reproduction and test case for issue #3413 * [iOS] Don't use max value for iOS UISearchbar breaks on iOS 11.3 * [iOS] Force width value so we can renderer UISearchBar on iOS10 with infinite width * [Controls] Fix spelling and add Manual Review to the test of #3413 * [iOS] Simplify code for UISearchBar width * [iOS] Return always some width from measure the UISearchBar on IOS * [Controls] Add reproduction case for issue #2139 * [UWP] Fixed double set margins in Layouts (#3570) fixes #3398 fixes #3616 * [Android] Support multiple clipping settings in single layout (#3559) * Repro * Fix for API 18+ * [iOS] Unsubscribe CellPropertyChanged when SwitchCellRenderer is disposed (#3518) * [Controls] Add repo of issue #3408 * [iOS] Unsubscribe CellPropertyChanged when cell is disposed * [Controls] Add issue to project * [iOS] Introduce CellPropertyChange to CellTableViewCell to used by all other cell renderers * [Controls] Simplify Issue * [iOS] Remove PropertyChanged that was not used * [Controls] add check for null binding on template, add notes about issues * [Controls] added reference to Android crash * [iOS]Use existing PropertyChanged on ViewCelRenderer * [iOS] Keep the existing override so we don't break users * Update TextCellRenderer.cs * update submodule * 24H Mode (#3701) The 24h mode for the pickerdialog was not working. Version 3.1 was working fine. Here is an updated file. * [UWP] uncomment tests that are now passing for 3188 (#3723) * [UITest] Update Xamarin.UITest nuget package (#3632) * [UITests] Update Xamarin.UITest 2.2.5 * [UITests] Try fix Toolbaritems * [UITest] Update to 2.2.5-1606 * [UITests] Small Fixes and workarounds to make uitest happy * [UITests ] Add delay to 1733 for API28 * [Android] Revert bad merge (#3746) fixes #3705 * [Android, iOS] Fixes layout compression causes (#3698) fixes #3624 * [Android, iOS] Fixes layout compression causes * [iOS] improve UpdateNewElement method * Fix build error hopefully * [UWP] Fixes CollectionChanged events in ListView (#3323) * fixes #3273 * [UWP] Fixes CollectionChanged events in ListView * a wrapped collection is used only if the SourceItem is not ObservableCollection * improve uitest * fixed NRE in empty ListView * added a sortable custom renderer for UItest * minor refactoring * fixed reset of not wrapped collections * addressing comments * [UWP] remove WinRT hack * [UWP] add missing using and cleanup additional resources * [Android] Update Forms to remove API28 deprecated API (#3653) fixes #2128 fixes #3629 * [Build] Update provisioning * [Controls] Ignore deprecated Android API usage * [Android] Remove use of obsolete color usage * [Android] Remove app fragment usage * [android] Rollback changes to EntryCellRenderer * [Android] Better way to get the default color for the label text * [Android] Obsolete message for ContentPage.CreateFragment() * [ControlGallery] - create bitmap from Drawable to use for pixel location * [Android] Use textcolor resource * Update submodule * Fix tests (#3771) * [ControlGallery] Wait for element and add timing to tests * [iOS] Fix NRE on RenderPool * 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 * Fix : Binding Icon in ToolbarItem in TabbedPage doesn't refresh (#3761) fixes #3756 * [iOS] Fix NRE on ContextCell (#3714) fixes #3275 * [Controls] Add repo for issue #3275 * [iOS] Fix NRE when no gestures exist on table * [iOS] Null check outside loop * [iOS]Make sure to dispose/unhook when we are removed from UITableView. * Update submodule * [iOS] Don't double dispose ContextActionCell * WPF - Fix Width and Height measurement when GetDesiredSize (#3750) * WPF - Reset Width and Height when GetDesiredSize * Some formatting changes * Add APP directive * [WPF]Fix build * [Android Maps] Make markers available to subclasses (#3751) * Make markers available to subclasses * Fix build * Use Find instead of FirstOrDefault * [UITests] wait for element before querying for it (#3791) * [UITests] wait for element before querying for it * [Controls] generalize and better represent intended behavior * WPF - Fix Local store not persistant when restarting App (#3752) -fixes #3541 * WPF - Fix Local store not persistant when restarting App * Add UITest * [Controls] Add automated UI Test * [UITests] Isolate test 3408 * [UITest] Update Xamarin UITest packages * [UWP] implement Replace without reloading ListView (#3792) -fixes #3788 * [UWP] implement Replace without reloading ListView * [UWP] extract bindingcontext of new item for replace * [iOS] Use UIApperance default color for UISwitch (#3819) * [Controls] Set default color of UISwitch to Red * [iOS] Use default color from Apperance API * [UITests] replace awaits with more reliable WaitForElement (#3835) * [Core] Propagate BindingContext changes to TitleView (#3823) * [Core] Propagate BindingContext changes to TitleView * [Tests] Move UI test to Core Unit Test * [A] do not draw gradient for empty CornerRadius (#3786) Drawing CornerRadius (introduce by #1998) when the CornerRadii are actually 0 causes scaling artifacts on API < 25. This fixes the regression when no CornerRadius is set. Expect blurry border scaling with CornerRadius not empty and API < 25 - fixes #3781 * [Android] Fix WebView.Navigating event, make WebViewClient inheritable (#3780) * Extracted WebViewRenderer.WebClient to FormsWebViewClient, moved SendNavigating call from ShouldOverrideUrlLoading to OnPageStarted * Changed _webViewClient and GetWebViewClient() method to return base class * Changed public things to protected internal * Fix spaces to tabs indentation to match the coding style (#3745) * [Build] Fix merge * Fix #3097 swipe gesture not being handled in VisualElementTracker. (#3098) Fixes #3097 * Ensure that the ListViewAdapter is no longer being used by the ListVi… (#3848) fixes #3603 * Ensure that the ListViewAdapter is no longer being used by the ListView before disposing it * Remove `RemoveAllViews` from `Dispose` * Fixed code review comments * Removed obsolete convert method * Making sure default platform functionality is intact iOS and Android As er code review comments * Making sure default platform functionality is intact MacOS * Making sure default platform functionality is intact UWP and WPF * Code review comments for iOS, Android and MacOS Default platform value is now preserved and applied when setting is set to default * Code review comments UWP and WPF * Fix build * [UITest] - add ui test to test scroll permutations * [Uwp] fix bad merge * [wpf] fix spacing * Adding instructions and UI tests for Bugzilla44461 (#4144) * Adding instructions and UI tests for Bugzilla44461 * Update Xamarin.Forms.Controls.Issues/Xamarin.Forms.Controls.Issues.Shared/Bugzilla44461.cs Co-Authored-By: mikescandy <michele.scandura@outlook.com> * Fix assert * [C] avoid AmbiguousMatchexception in Bindings (#4216) fixes #4215 if a type defines multiple op_implicit from the same type to different ones, trying to retrieve it with GetMethod() throws an AmbiguousMatchException. If this happens, we have to do the resolution ourself. - fixes #4215 * https://github.com/xamarin/Xamarin.Forms/issues/4076 fix (#4161) * [Enhancement] Possibility to change IsPassword for MacOS (#4175) fixes #2223 * https://github.com/xamarin/Xamarin.Forms/issues/2223 added possibility to change IsPassword for mac * added test case * [Core] Fix layout padding update issue (#4166) - Update PaddingPropertyChanged handler - Add UnitTest for Padding - Update ControlGallery - fixes #4165 * Bindable layouts (#4052) - fixes #1718 * [GTK] Do not show a label in gtk slider renderer (#4098) * Remove unnecessary ToArray to reduce number of BindableObject[] allocations (#4101) * [Mac] Fixes crash after changing main page (#4228) - fixes #4156 * Enforce clipping on fast renderer ImageRenderer when using AspectFill; fixes #4133 (#4218) - fixes #4133 * notify me of changes to XamlC * [MacOs] Image from file not getting searched in the bundle fixes #2322 (#4247) * [GTK] Fix several memory leaks in the GTK backend (#4112) * [GTK] Don't recreate master or detail if it didn't change * [GTK] Fix several memory leaks using the Destroy pattern Gtk objects must be disposed using the Destroy function that will automatically iterate over the children and destroy them too: https://developer.gnome.org/gtk2/stable/GtkWidget.html#gtk-widget-destroy The gtk-sharp bindings discourage the use of Dispose and don't even call the base class, leaving it without effect: https://github.com/mono/gtk-sharp/blob/gtk-sharp-2-12-branch/gtk/Object.custom#L98 In the Controls, that inherits directly from native Gtk objects, the overrides of the Dispose function are changed to override the Destroy function. In the Renderers, that inherit from VisualElementRenderer, the Destroy funtion is called in the dispose implementation so subclasses only have to override Dispose (bool disposing) as they do now. * [GTK] Don't recreate the toolbar on each change * [GTK] Fix leak connecting to the PropertyChanged event twice * [UWP] Fix ActivityIndicator width in absolutelayout (#3224) * [Core] Fix autosize elements in absolute layout * revert the Hasflag extension * - refactoring to the local UWP fix for Activity Indicator - fixes #1399 * [iOS] Fix issue where entry would emit a change notification without a user triggered change (#3433) * [iOS] Fix issue where entry would emit a change notification without a user triggered change * Add repro * [iOS] Change CALayer.Transform in MainThread (#4160) * fixes #1480 * Added test case * Update Xamarin.Forms.Platform.iOS/VisualElementTracker.cs Co-Authored-By: AndreiMisiukevich <andrei.misiukevich@gmail.com> * updated test case * Move GetNativeSize to PlatformServices, remove IPlatform (#4235) * [UnitTest] Remove UnitPlatform * Add Editor.IsTextPredictionEnabled property (#4023) * Add Editor.IsTextPredictionEnabled property * simplfy UpdateInputType logic * modify IsTextPredictionEnabledProperty BindingMode to Default * undo changes of commit 5db2456d * [UITests] update namespace for UI Tests - Fixes #3555 * ListView should convert item to string when ItemTemplate is not specified (#4016) * Convert item to string, when ListView has no ItemTemplate * ToStringValueConverter tests * Format value using parameter in ToStringValueConverter - fixes #3715 * Removed custom entitlements entry for iOS simulator builds (#4257) * [UITests] fix dismiss page crash (#4251) * ImageButton (#1974) * ImageButton Implementation * [Android] rename BorderBackgroundManager * [Android] copy AspectFill changes to ImageButton * [UITests] fix order of gallery pages to work with tests * [Android] Account for changing image region with border/shadows * [Android] check for api 18 and add setpadding call back in * [Android] throw exception instead of crash when image fails to load * Addressing issue comments and adding additional test cases to Issue demo - fixes #1724 * [C] Add Default value to OnIdiom (#4225) * [C] Add Default value to OnIdiom - fixes #4006 - closes #4025 * add test * xamarin/Xamarin.Forms/issues/2315 (#4190) fixes #2315 * [iOS] make button constructor public (#4313) * fix merge issues * Added UI test to B44338 (#4307) fixes #2379 * Move github files to .github dir (#4288) This change is completely non-functional, the files moved will function identically in the .github dir, but don't cruft up the root dir. * [GTK] Fix synchronization context fairness (#4237) GLib.Idle.Add enqueues functions in the main loop with the lowest priority, so while the UI is updating tasks will be queued in the main loop. Using Gtk.Application.Invoke they are interleaved with UI updates and handled with more fairness. * Implemented Core and iOS * Implemented Android * Fixed bug on iOS where default color would cause heading to disappear * Implemented UWP * Implemented WPF * Implemented GTK * Implemented Tizen
2018-11-27 22:26:34 +03:00
<uwp:HorizontalTextAlignmentConverter x:Key="HorizontalTextAlignmentConverter" />
2016-03-22 23:02:25 +03:00
<uwp:TextAlignmentToHorizontalAlignmentConverter x:Key="AlignmentConverter" />
<uwp:KeyboardConverter x:Key="KeyboardConverter" />
<uwp:MasterBackgroundConverter x:Key="MasterBackgroundConverter" />
[WIP] Unify the image handling (#4915) * Initial code to get unifiied image handling - not yet tested - still using FileImageSource in some areas * Updated the button renderers and added tests for Android * Updated a few more of the Android renderers - also added an `IsEmpty` property to the ImageSource to indicate if this source actually contains data that can be used to try and load an image - added a few more "tests" - includes the changes for #4916 * A few more changes * Keep the default page for the sample app * Changing everything to ImageSource and going from there - Android, iOS, UWP and WPF are compiling - GTK, Mac and Tizen are not yet finished - Added a new interface for UWP to return an IconElement in addition to ImageSource (for app bar buttons) - not tested yet, nor are there any tests * Renamed the property to be more useful * All of Android is now async - still only minimal tests - also removed the bits that are in https://github.com/xamarin/Xamarin.Forms/pull/4948 * Update Xamarin.Forms.Platform.cs * A few fixes to whitespace and nameof() * Updated iOS and UWP wirth async image sources * A few fixes and WPF support * A few fixes for Android after the big merge * Updated a few more loaders: - ios - macos - tizen - gtk * Fix a few things after the merge * - cast type to FileImageSource * fix setting of title content if icon doesn't load * fix IButtonLayoutManager to return correct control * remove cast and add pack api * - fix timing issues with layout/invalidation * - remove aggresive element invalidations for now * first set of api changes * obsolete old apis and create new ones for ImageSource * obsolete messages and static ordering fix * add tests * switch default on windows to show images on tabs * - XStatic obsolete fix * fix NPC test and bring back alert check on uwp Fixes #3207 Fixes #4689
2019-04-26 23:46:13 +03:00
<uwp:ImageSourceIconElementConverter x:Key="ImageSourceIconElementConverter" />
<!-- We probably want to keep this in sync with AppBarThemeCompactHeight in FlyoutPageControlStyle.xaml (in uwp:FormsCommandBar.Resources) -->
2016-03-22 23:02:25 +03:00
<x:Double x:Key="TitleBarHeight">48</x:Double>
<x:Double x:Key="ListViewHeaderItemMinHeight">0</x:Double>
2016-03-22 23:02:25 +03:00
<DataTemplate x:Key="PushPinTemplate">
2016-03-22 23:02:25 +03:00
<Path Data="M 50.7361,983.661 C 44.1895,983.661 38.8369,988.97 38.8369,995.517 39.8649,1003.3 45.246,1008.1 49.8547,1014.12 50.2838,1014.66 51.2336,1014.66 51.6619,1014.12 52.1384,1013.48 52.7575,1012.73 53.4248,1011.91 55.0322,1012.07 56.4727,1012.32 57.5676,1012.71 58.407,1013 59.06,1013.33 59.4192,1013.63 59.7784,1013.93 59.7716,1014.11 59.7716,1014.16 59.7716,1014.21 59.7716,1014.39 59.4192,1014.69 59.06,1014.99 58.407,1015.32 57.5676,1015.61 55.8888,1016.2 53.4519,1016.63 50.7361,1016.63 48.0204,1016.63 45.5399,1016.2 43.8611,1015.61 43.0218,1015.32 42.3695,1014.99 42.0103,1014.69 41.6504,1014.39 41.6135,1014.21 41.6135,1014.16 41.6135,1014.11 41.6511,1013.93 42.0103,1013.63 42.3695,1013.33 43.0218,1013 43.8611,1012.71 44.3158,1012.55 44.8455,1012.35 45.4039,1012.22 L 43.8611,1010.33 C 43.6124,1010.4 43.3441,1010.46 43.1119,1010.55 42.1005,1010.9 41.2318,1011.31 40.5555,1011.87 39.8799,1012.43 39.3216,1013.22 39.3216,1014.16 39.3216,1015.1 39.8799,1015.85 40.5555,1016.41 41.2318,1016.97 42.1005,1017.42 43.1119,1017.77 45.1356,1018.48 47.8025,1018.92 50.7362,1018.92 54.437,1018.81 57.9892,1018.36 60.8733,1016.41 62.5084,1014.79 62.0756,1013.4 60.8733,1011.87 60.1969,1011.31 59.3726,1010.9 58.3612,1010.55 57.4331,1010.22 56.3503,1009.94 55.1878,1009.75 56.1992,1008.51 57.2362,1007.18 58.2289,1005.79 60.5599,1002.51 62.5918,998.968 62.5918,995.517 62.5918,988.97 57.2836,983.661 50.7362,983.661 Z M 50.7361,989.655 C 47.571,989.655 44.9627,992.219 44.9627,995.385 44.9627,998.55 47.571,1001.16 50.7361,1001.16 53.902,1001.16 56.4659,998.55 56.4659,995.385 56.4659,992.219 53.902,989.655 50.7361,989.655 Z M 50.7361,991.947 C 52.6591,991.947 54.174,993.462 54.174,995.385 54.174,997.307 52.6591,998.866 50.7361,998.866 48.8139,998.866 47.2546,997.307 47.2546,995.385 47.2546,993.462 48.8139,991.947 50.7361,991.947 Z" Fill="#000000" Height="74" Stretch="Fill" Margin="0" Width="50"/>
</DataTemplate>
<Style x:Key="PageTitleStyle" TargetType="TextBlock">
2016-03-22 23:02:25 +03:00
<Setter Property="FontWeight" Value="Bold" />
</Style>
<Style x:Key="RootContainerStyle" TargetType="Canvas">
<Setter Property="Background" Value="{ThemeResource ApplicationPageBackgroundThemeBrush}" />
</Style>
<Style x:Key="FormsFlyoutPresenterStyle" TargetType="FlyoutPresenter">
<Setter Property="MaxHeight" Value="300"/>
<Setter Property="MaxWidth" Value="350"/>
<Setter Property="BorderBrush" Value="{ThemeResource SystemControlForegroundAccentBrush}"/>
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="FlyoutPresenter">
<Border Background="{TemplateBinding Background}"
BorderBrush="{TemplateBinding BorderBrush}"
BorderThickness="{TemplateBinding BorderThickness}"
VerticalAlignment="Center">
<ContentPresenter Content="{TemplateBinding Content}"
ContentTemplate="{TemplateBinding ContentTemplate}"
ContentTransitions="{TemplateBinding ContentTransitions}"
Margin="{TemplateBinding Padding}"
HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}"
VerticalAlignment="Top" />
</Border>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
2016-03-22 23:02:25 +03:00
<Style x:Key="JumpListGrid" TargetType="GridView">
<Setter Property="ItemTemplate">
<Setter.Value>
<DataTemplate>
<Border Background="{ThemeResource SystemColorControlAccentBrush}" Padding="5" Margin="3" MinHeight="80" MinWidth="80">
<TextBlock Text="{Binding}" Style="{ThemeResource SubheaderTextBlockStyle}" VerticalAlignment="Bottom" />
</Border>
</DataTemplate>
</Setter.Value>
</Setter>
</Style>
<Style TargetType="Button" x:Key="PaneButton">
<Setter Property="FontFamily" Value="{ThemeResource SymbolThemeFontFamily}" />
<Setter Property="FontSize" Value="20" />
<Setter Property="Height" Value="48" />
<Setter Property="Width" Value="48" />
<Setter Property="Content" Value="" />
</Style>
<DataTemplate x:Key="CellTemplate">
<uwp:CellControl HorizontalContentAlignment="Stretch" Height="{Binding Cell.RenderHeight,RelativeSource={RelativeSource Mode=Self},Converter={StaticResource HeightConverter}}" />
2016-03-22 23:02:25 +03:00
</DataTemplate>
<DataTemplate x:Key="TableRoot">
<TextBlock Margin="0,20,0,0" Text="{Binding Title,Converter={StaticResource LowerConverter}}" Style="{ThemeResource TitleTextBlockStyle}" Visibility="{Binding Text,RelativeSource={RelativeSource Mode=Self},Converter={StaticResource CollapseWhenEmpty}}" />
</DataTemplate>
<DataTemplate x:Key="TableSection">
[Core, iOS, Android, UWP, WPF, GTK, Tizen] Implement TextColor on TableSection (#4379) fixes #2910 * Update from origin (#8) * [C] VisibilityConverter Trims input (#3581) For CSS purposes, the VisibilityConverter was added, and actually replaced the `Boolean.Parse(str)` call for parsing Visibility. `Boolean.Parse()` trims input, and the converter was not, so this was a regression. This changes Trim() the input, to be fully backward compatible. - fixes #3554 * Ensure ConstructorCountId and TimeId elements are available before querying them (#3588) * For consistency with ResourceDictionary, expose the Source for a StyleSheet (#2589) This would allow previewer/designer/reloader to determine the source of a stylesheet and refresh its content when appropriate. * Revert "For consistency with ResourceDictionary, expose the Source for a StyleSheet (#2589)" This reverts commit f66a72de5b475a6a8387a80e418997b38dc40d4c. * Fix NRE; Ret 0 if Text null (#3594) fixes #3579 * [UWP, WPF] Fixes rendering of the main page (#2896) fixes #2704 * [Core] Ignore Shamehat target when running DesignTimeBuild (#3605) * [XamlC] Fix binding compilation fo value types (#3551) properly load valuetype arguments of generated setters, using ldarg, instead of ldarga. - fixes #3539 * Update PULL_REQUEST_TEMPLATE.md * Update PULL_REQUEST_TEMPLATE.md * [Android] Fix Label LineHeight (#3452) * fix line height android * Make UAP respect initial LineHeight * update .create-nuget.bat (#3638) * Add Null Check to GetRenderer (#3575) - fix #3563 * Fix 3562 Null Reference Exception (#3576) - fixes #3562 * Fix 3564 Null Reference Exception (#3578) - fixes #3564 * [iOS] AutomationProperty support for cells (#3313) fixes #3296 * [iOS] AutomationProperty support for cells * Add test case to AutomationProperties gallery * [UWP] Fix crash app when create navigation/tabbed page without children pages fixes #3188 (#3514) * [Android] Use height when determining ScaledScreenSize; fixes #3609 (#3641) * [C] Set binding context on Span Gestures (#3639) * [Core] Set binding context on Span Gestures * [Core] Simplify loop setting child binding context - fixes #3524 * Update PULL_REQUEST_TEMPLATE.md * [Android] remove deprecated AndroidUseLatestPlatformSdk (#3672) * [iOS] iPad ActionSheet should always have a Cancel method (#3636) * Add repro for #3049 * [iOS] iPad ActionSheet should always have a Cancel method fixes #3049 * [Android] fixes #3675 - set initial ScrollView Scroll values when RTL (#3676) * [Android] API check for Shadow properties on Button (#3617) fixes #2702 * [Android] API check for Shadow properties on Button * Fix swapped shadow values * [iOS] fixes #3525 - add epsilon for float compare (#3654) * [iOS] fixes #3525 - add epsilon for float compare and make region immutable * [ControlGallery] spread out spans to account for click slop * [ControlGallery] - adjust span slightly for android test * [Core] remove private * Fix text wrapping (#3671) fixes #3634 * [GTK] Fix navigation bar visibility updates (#3651) * Fix partially #3585 (#3592) * Make webkit-sharp.dll.config cross-platform * Update webkit-sharp.dll with missing signals bindings see: https://github.com/ylatuya/webkit-sharp/tree/fluendo * [iOS, UWP] fixes #2894 - Gestures collection changes weren't correctly propagating (#3643) * [iOS, UWP] fixes #2894 - Gestures weren't wiring up to spans in all cases * [Core] remove ChildGestureRecognizers when spans get removed * [iOS] removed incorrect return from null * Fixes #3663 (#3684) * Fix ScrollView Padding issue (#3685) * [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 * [Android,iOS,UWP] Allow Entry CursorPosition/SelectionLength to be set in ctor (#3402) fixes #3343 fixes #3633 * Add repro for #3343 + unit tests * [Core] Disallow negative values for CursorPosition/SelectionLength * [All] CursorPosition/SelectionLength can bindin ctor & clear value fixes #3343 * typo * cleanup * [iOS] Cursor snaps to end * try/catch * [CSS] add more properties (#3466) map new CSS properties: - `color` on `IColorElement` (`ActivityIndicator`, `BoxView`), `ProgressBar` and `Switch` - `row-gap` and `column-gap` on `Grid` - `transform` and `transform-origin` on `VisualElement` - `vertical-align` on `Label` add new XF-specific CSS properties - `-xf-placeholder` and `-xf-placeholder-color` on `Editor`, `Entry`, `SearchBar` - `-xf-max-length` on `InputView` (`Editor` and `Entry`) - `-xf-bar-background-color` and `-xf-bar-text-color` on `NavigationPage` and `TabbedPage` - `-xf-orientation` on `ScrollView` and `StackLayout` - `-xf-horizontal-scroll-bar-visibility` and `-xf-vertical-scroll-bar-visibility` on `ScrollView` - `-xf-min-track-color`, `-xf-max-track-color` and `("-xf-thumb-color` on `Slider` - `-xf-spacing` on `StackLayout` This PR replaces and closes #3276 - fixes #2891 * [iOS] Specify a default size for UISearchBar width if needed (#3635) fixes #3413 fixes #2139 * [Controls] Add reproduction and test case for issue #3413 * [iOS] Don't use max value for iOS UISearchbar breaks on iOS 11.3 * [iOS] Force width value so we can renderer UISearchBar on iOS10 with infinite width * [Controls] Fix spelling and add Manual Review to the test of #3413 * [iOS] Simplify code for UISearchBar width * [iOS] Return always some width from measure the UISearchBar on IOS * [Controls] Add reproduction case for issue #2139 * [UWP] Fixed double set margins in Layouts (#3570) fixes #3398 fixes #3616 * [Android] Support multiple clipping settings in single layout (#3559) * Repro * Fix for API 18+ * [iOS] Unsubscribe CellPropertyChanged when SwitchCellRenderer is disposed (#3518) * [Controls] Add repo of issue #3408 * [iOS] Unsubscribe CellPropertyChanged when cell is disposed * [Controls] Add issue to project * [iOS] Introduce CellPropertyChange to CellTableViewCell to used by all other cell renderers * [Controls] Simplify Issue * [iOS] Remove PropertyChanged that was not used * [Controls] add check for null binding on template, add notes about issues * [Controls] added reference to Android crash * [iOS]Use existing PropertyChanged on ViewCelRenderer * [iOS] Keep the existing override so we don't break users * Update TextCellRenderer.cs * update submodule * 24H Mode (#3701) The 24h mode for the pickerdialog was not working. Version 3.1 was working fine. Here is an updated file. * [UWP] uncomment tests that are now passing for 3188 (#3723) * [UITest] Update Xamarin.UITest nuget package (#3632) * [UITests] Update Xamarin.UITest 2.2.5 * [UITests] Try fix Toolbaritems * [UITest] Update to 2.2.5-1606 * [UITests] Small Fixes and workarounds to make uitest happy * [UITests ] Add delay to 1733 for API28 * [Android] Revert bad merge (#3746) fixes #3705 * [Android, iOS] Fixes layout compression causes (#3698) fixes #3624 * [Android, iOS] Fixes layout compression causes * [iOS] improve UpdateNewElement method * Fix build error hopefully * [UWP] Fixes CollectionChanged events in ListView (#3323) * fixes #3273 * [UWP] Fixes CollectionChanged events in ListView * a wrapped collection is used only if the SourceItem is not ObservableCollection * improve uitest * fixed NRE in empty ListView * added a sortable custom renderer for UItest * minor refactoring * fixed reset of not wrapped collections * addressing comments * [UWP] remove WinRT hack * [UWP] add missing using and cleanup additional resources * [Android] Update Forms to remove API28 deprecated API (#3653) fixes #2128 fixes #3629 * [Build] Update provisioning * [Controls] Ignore deprecated Android API usage * [Android] Remove use of obsolete color usage * [Android] Remove app fragment usage * [android] Rollback changes to EntryCellRenderer * [Android] Better way to get the default color for the label text * [Android] Obsolete message for ContentPage.CreateFragment() * [ControlGallery] - create bitmap from Drawable to use for pixel location * [Android] Use textcolor resource * Update submodule * Fix tests (#3771) * [ControlGallery] Wait for element and add timing to tests * [iOS] Fix NRE on RenderPool * 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 * Fix : Binding Icon in ToolbarItem in TabbedPage doesn't refresh (#3761) fixes #3756 * [iOS] Fix NRE on ContextCell (#3714) fixes #3275 * [Controls] Add repo for issue #3275 * [iOS] Fix NRE when no gestures exist on table * [iOS] Null check outside loop * [iOS]Make sure to dispose/unhook when we are removed from UITableView. * Update submodule * [iOS] Don't double dispose ContextActionCell * WPF - Fix Width and Height measurement when GetDesiredSize (#3750) * WPF - Reset Width and Height when GetDesiredSize * Some formatting changes * Add APP directive * [WPF]Fix build * [Android Maps] Make markers available to subclasses (#3751) * Make markers available to subclasses * Fix build * Use Find instead of FirstOrDefault * [UITests] wait for element before querying for it (#3791) * [UITests] wait for element before querying for it * [Controls] generalize and better represent intended behavior * WPF - Fix Local store not persistant when restarting App (#3752) -fixes #3541 * WPF - Fix Local store not persistant when restarting App * Add UITest * [Controls] Add automated UI Test * [UITests] Isolate test 3408 * [UITest] Update Xamarin UITest packages * [UWP] implement Replace without reloading ListView (#3792) -fixes #3788 * [UWP] implement Replace without reloading ListView * [UWP] extract bindingcontext of new item for replace * [iOS] Use UIApperance default color for UISwitch (#3819) * [Controls] Set default color of UISwitch to Red * [iOS] Use default color from Apperance API * [UITests] replace awaits with more reliable WaitForElement (#3835) * [Core] Propagate BindingContext changes to TitleView (#3823) * [Core] Propagate BindingContext changes to TitleView * [Tests] Move UI test to Core Unit Test * [A] do not draw gradient for empty CornerRadius (#3786) Drawing CornerRadius (introduce by #1998) when the CornerRadii are actually 0 causes scaling artifacts on API < 25. This fixes the regression when no CornerRadius is set. Expect blurry border scaling with CornerRadius not empty and API < 25 - fixes #3781 * [Android] Fix WebView.Navigating event, make WebViewClient inheritable (#3780) * Extracted WebViewRenderer.WebClient to FormsWebViewClient, moved SendNavigating call from ShouldOverrideUrlLoading to OnPageStarted * Changed _webViewClient and GetWebViewClient() method to return base class * Changed public things to protected internal * Fix spaces to tabs indentation to match the coding style (#3745) * [Build] Fix merge * Fix #3097 swipe gesture not being handled in VisualElementTracker. (#3098) Fixes #3097 * Update from origin (#9) * [C] VisibilityConverter Trims input (#3581) For CSS purposes, the VisibilityConverter was added, and actually replaced the `Boolean.Parse(str)` call for parsing Visibility. `Boolean.Parse()` trims input, and the converter was not, so this was a regression. This changes Trim() the input, to be fully backward compatible. - fixes #3554 * Ensure ConstructorCountId and TimeId elements are available before querying them (#3588) * For consistency with ResourceDictionary, expose the Source for a StyleSheet (#2589) This would allow previewer/designer/reloader to determine the source of a stylesheet and refresh its content when appropriate. * Revert "For consistency with ResourceDictionary, expose the Source for a StyleSheet (#2589)" This reverts commit f66a72de5b475a6a8387a80e418997b38dc40d4c. * Fix NRE; Ret 0 if Text null (#3594) fixes #3579 * [UWP, WPF] Fixes rendering of the main page (#2896) fixes #2704 * [Core] Ignore Shamehat target when running DesignTimeBuild (#3605) * [XamlC] Fix binding compilation fo value types (#3551) properly load valuetype arguments of generated setters, using ldarg, instead of ldarga. - fixes #3539 * Update PULL_REQUEST_TEMPLATE.md * Update PULL_REQUEST_TEMPLATE.md * [Android] Fix Label LineHeight (#3452) * fix line height android * Make UAP respect initial LineHeight * update .create-nuget.bat (#3638) * Add Null Check to GetRenderer (#3575) - fix #3563 * Fix 3562 Null Reference Exception (#3576) - fixes #3562 * Fix 3564 Null Reference Exception (#3578) - fixes #3564 * [iOS] AutomationProperty support for cells (#3313) fixes #3296 * [iOS] AutomationProperty support for cells * Add test case to AutomationProperties gallery * [UWP] Fix crash app when create navigation/tabbed page without children pages fixes #3188 (#3514) * [Android] Use height when determining ScaledScreenSize; fixes #3609 (#3641) * [C] Set binding context on Span Gestures (#3639) * [Core] Set binding context on Span Gestures * [Core] Simplify loop setting child binding context - fixes #3524 * Update PULL_REQUEST_TEMPLATE.md * [Android] remove deprecated AndroidUseLatestPlatformSdk (#3672) * [iOS] iPad ActionSheet should always have a Cancel method (#3636) * Add repro for #3049 * [iOS] iPad ActionSheet should always have a Cancel method fixes #3049 * [Android] fixes #3675 - set initial ScrollView Scroll values when RTL (#3676) * [Android] API check for Shadow properties on Button (#3617) fixes #2702 * [Android] API check for Shadow properties on Button * Fix swapped shadow values * [iOS] fixes #3525 - add epsilon for float compare (#3654) * [iOS] fixes #3525 - add epsilon for float compare and make region immutable * [ControlGallery] spread out spans to account for click slop * [ControlGallery] - adjust span slightly for android test * [Core] remove private * Fix text wrapping (#3671) fixes #3634 * [GTK] Fix navigation bar visibility updates (#3651) * Fix partially #3585 (#3592) * Make webkit-sharp.dll.config cross-platform * Update webkit-sharp.dll with missing signals bindings see: https://github.com/ylatuya/webkit-sharp/tree/fluendo * [iOS, UWP] fixes #2894 - Gestures collection changes weren't correctly propagating (#3643) * [iOS, UWP] fixes #2894 - Gestures weren't wiring up to spans in all cases * [Core] remove ChildGestureRecognizers when spans get removed * [iOS] removed incorrect return from null * Fixes #3663 (#3684) * Fix ScrollView Padding issue (#3685) * [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 * [Android,iOS,UWP] Allow Entry CursorPosition/SelectionLength to be set in ctor (#3402) fixes #3343 fixes #3633 * Add repro for #3343 + unit tests * [Core] Disallow negative values for CursorPosition/SelectionLength * [All] CursorPosition/SelectionLength can bindin ctor & clear value fixes #3343 * typo * cleanup * [iOS] Cursor snaps to end * try/catch * [CSS] add more properties (#3466) map new CSS properties: - `color` on `IColorElement` (`ActivityIndicator`, `BoxView`), `ProgressBar` and `Switch` - `row-gap` and `column-gap` on `Grid` - `transform` and `transform-origin` on `VisualElement` - `vertical-align` on `Label` add new XF-specific CSS properties - `-xf-placeholder` and `-xf-placeholder-color` on `Editor`, `Entry`, `SearchBar` - `-xf-max-length` on `InputView` (`Editor` and `Entry`) - `-xf-bar-background-color` and `-xf-bar-text-color` on `NavigationPage` and `TabbedPage` - `-xf-orientation` on `ScrollView` and `StackLayout` - `-xf-horizontal-scroll-bar-visibility` and `-xf-vertical-scroll-bar-visibility` on `ScrollView` - `-xf-min-track-color`, `-xf-max-track-color` and `("-xf-thumb-color` on `Slider` - `-xf-spacing` on `StackLayout` This PR replaces and closes #3276 - fixes #2891 * [iOS] Specify a default size for UISearchBar width if needed (#3635) fixes #3413 fixes #2139 * [Controls] Add reproduction and test case for issue #3413 * [iOS] Don't use max value for iOS UISearchbar breaks on iOS 11.3 * [iOS] Force width value so we can renderer UISearchBar on iOS10 with infinite width * [Controls] Fix spelling and add Manual Review to the test of #3413 * [iOS] Simplify code for UISearchBar width * [iOS] Return always some width from measure the UISearchBar on IOS * [Controls] Add reproduction case for issue #2139 * [UWP] Fixed double set margins in Layouts (#3570) fixes #3398 fixes #3616 * [Android] Support multiple clipping settings in single layout (#3559) * Repro * Fix for API 18+ * [iOS] Unsubscribe CellPropertyChanged when SwitchCellRenderer is disposed (#3518) * [Controls] Add repo of issue #3408 * [iOS] Unsubscribe CellPropertyChanged when cell is disposed * [Controls] Add issue to project * [iOS] Introduce CellPropertyChange to CellTableViewCell to used by all other cell renderers * [Controls] Simplify Issue * [iOS] Remove PropertyChanged that was not used * [Controls] add check for null binding on template, add notes about issues * [Controls] added reference to Android crash * [iOS]Use existing PropertyChanged on ViewCelRenderer * [iOS] Keep the existing override so we don't break users * Update TextCellRenderer.cs * update submodule * 24H Mode (#3701) The 24h mode for the pickerdialog was not working. Version 3.1 was working fine. Here is an updated file. * [UWP] uncomment tests that are now passing for 3188 (#3723) * [UITest] Update Xamarin.UITest nuget package (#3632) * [UITests] Update Xamarin.UITest 2.2.5 * [UITests] Try fix Toolbaritems * [UITest] Update to 2.2.5-1606 * [UITests] Small Fixes and workarounds to make uitest happy * [UITests ] Add delay to 1733 for API28 * [Android] Revert bad merge (#3746) fixes #3705 * [Android, iOS] Fixes layout compression causes (#3698) fixes #3624 * [Android, iOS] Fixes layout compression causes * [iOS] improve UpdateNewElement method * Fix build error hopefully * [UWP] Fixes CollectionChanged events in ListView (#3323) * fixes #3273 * [UWP] Fixes CollectionChanged events in ListView * a wrapped collection is used only if the SourceItem is not ObservableCollection * improve uitest * fixed NRE in empty ListView * added a sortable custom renderer for UItest * minor refactoring * fixed reset of not wrapped collections * addressing comments * [UWP] remove WinRT hack * [UWP] add missing using and cleanup additional resources * [Android] Update Forms to remove API28 deprecated API (#3653) fixes #2128 fixes #3629 * [Build] Update provisioning * [Controls] Ignore deprecated Android API usage * [Android] Remove use of obsolete color usage * [Android] Remove app fragment usage * [android] Rollback changes to EntryCellRenderer * [Android] Better way to get the default color for the label text * [Android] Obsolete message for ContentPage.CreateFragment() * [ControlGallery] - create bitmap from Drawable to use for pixel location * [Android] Use textcolor resource * Update submodule * Fix tests (#3771) * [ControlGallery] Wait for element and add timing to tests * [iOS] Fix NRE on RenderPool * 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 * Fix : Binding Icon in ToolbarItem in TabbedPage doesn't refresh (#3761) fixes #3756 * [iOS] Fix NRE on ContextCell (#3714) fixes #3275 * [Controls] Add repo for issue #3275 * [iOS] Fix NRE when no gestures exist on table * [iOS] Null check outside loop * [iOS]Make sure to dispose/unhook when we are removed from UITableView. * Update submodule * [iOS] Don't double dispose ContextActionCell * WPF - Fix Width and Height measurement when GetDesiredSize (#3750) * WPF - Reset Width and Height when GetDesiredSize * Some formatting changes * Add APP directive * [WPF]Fix build * [Android Maps] Make markers available to subclasses (#3751) * Make markers available to subclasses * Fix build * Use Find instead of FirstOrDefault * [UITests] wait for element before querying for it (#3791) * [UITests] wait for element before querying for it * [Controls] generalize and better represent intended behavior * WPF - Fix Local store not persistant when restarting App (#3752) -fixes #3541 * WPF - Fix Local store not persistant when restarting App * Add UITest * [Controls] Add automated UI Test * [UITests] Isolate test 3408 * [UITest] Update Xamarin UITest packages * [UWP] implement Replace without reloading ListView (#3792) -fixes #3788 * [UWP] implement Replace without reloading ListView * [UWP] extract bindingcontext of new item for replace * [iOS] Use UIApperance default color for UISwitch (#3819) * [Controls] Set default color of UISwitch to Red * [iOS] Use default color from Apperance API * [UITests] replace awaits with more reliable WaitForElement (#3835) * [Core] Propagate BindingContext changes to TitleView (#3823) * [Core] Propagate BindingContext changes to TitleView * [Tests] Move UI test to Core Unit Test * [A] do not draw gradient for empty CornerRadius (#3786) Drawing CornerRadius (introduce by #1998) when the CornerRadii are actually 0 causes scaling artifacts on API < 25. This fixes the regression when no CornerRadius is set. Expect blurry border scaling with CornerRadius not empty and API < 25 - fixes #3781 * [Android] Fix WebView.Navigating event, make WebViewClient inheritable (#3780) * Extracted WebViewRenderer.WebClient to FormsWebViewClient, moved SendNavigating call from ShouldOverrideUrlLoading to OnPageStarted * Changed _webViewClient and GetWebViewClient() method to return base class * Changed public things to protected internal * Fix spaces to tabs indentation to match the coding style (#3745) * [Build] Fix merge * Fix #3097 swipe gesture not being handled in VisualElementTracker. (#3098) Fixes #3097 * Ensure that the ListViewAdapter is no longer being used by the ListVi… (#3848) fixes #3603 * Ensure that the ListViewAdapter is no longer being used by the ListView before disposing it * Remove `RemoveAllViews` from `Dispose` * Update from origin (#11) * [Android] Enable MaxLines and TextDecorations on fast renderers (#3878) * enable MaxLines on fast renderers * added text decoration functionality * include test in project * [Enhancement] Create a bindable property for AutomationId (#3879) * create a bindable property for automationId * make ClassId and AutomationId properties of Element * add comments to .create-nuget.bat * added preserve attribute (#3876) fixes #2306 * [Core] Moving Command's CanExecuteChanged to use the WeakEventManager (#3852) fixes #3656 * [Core] Use WeakEventManager on CanExecuteChanged * [Core]Add unit test for remove event handler with WeakEventManager * [Core] Fix remove the correct handler * [CSS] accept 'oblique' for 'font-style' (#3815) fixes #3808 - fixes #3808 * Prevent double time/date picker dialogs on Android when setting focus (#3899) * Prevent double time/date picker dialogs on Android when setting focus (#3899) * [Controls] Fix merge remove duplciated issue 3788 * WPF - Fix Unable to intercept back button (#3762) * WPF - Fix Unable to intercept back button * WPF - Improve OnBackButtonPressed -fixes #3689 * Fix Bugzilla38723 (#3812) fixes #2302 * [C] fix css mapping (#3919) * [Android] Fix UI test 1851 (#3882) * add preserve attribute - fixes #2255 * added using System * fixed spacing * use TestContentPage * fixed scope issues * [Android] Make native Android Platforms accessible via Context (#3364) * Make native Android Platforms accessible via Context * Add null checks * Added a disabled look to Android Toolbar Item images. (#3773) * Added a disabled look to Android Toolbar Item images. * Update NavigationPageRenderer.cs Refactored DisabledToolbarAlpha into a constant as requested. * [UWP] fixes tabstops of TimePicker, DatePiker. SearchBar, Stepper (#3896) * [UWP] fixes tabstops of TimePicker, DatePiker. SearchBar, Stepper * common code moved to VisualElementRenderer * rename interface fixes #3872 * [UWP] For the Slider default value of step is set to 1000 to match Android. (#3141) * WPF - Ctrl+A does not select all in WPF password Entry (#3908) * [WPF] Fix Height of items not consistent (#3925) fixes #3913 * Fix StartTimer and Ticker for UWP (#3911) - fixes #1937 * Apply font fix for button and span (#3907) * added instructions (#3891) - fixes #2361 * [Android] Convert corner radius with correct pixel density (#3893) fixes #3884 * [Controls] Add Issue #3884 repo * [Android] Convert corner radius with correct pixel density fixes #3884 * [Controls] Update test message * WPF - Fix TimePicker with short time pattern shows verbose time (#3924) * Fix UI test 39378 (#3928) fixes #2305 * Update ClipBounds when View bounds changes (#3909) fixes #3717 * [C] catch AmbiguousMatchException on GetProps (#3915) - fixes #3870 * Automate UI test B45702 (#3914) fixes #2389 * automate 45702 * fix indentation * Fix bugzilla60787 (#3933) * [Android]Fix for frame renderer's bug (bugzilla 60787). #3902 https://bugzilla.xamarin.com/show_bug.cgi?id=60787 https://github.com/xamarin/Xamarin.Forms/issues/3902 * Add control to repro * PR fix * Build fix * Build fix for Xamarin.Forms.Core.Android.UITests * added instructions (#3926) * [UWP] fixes flyout menu on cell item (#3682) * Fix UI test B41424 needs instructions (#3942) * Add manual test steps and checks for ui test * step4Label text fix * [iOS] fix full width issues for TitleView (#3939) * [iOS] fix full width issues for TitleView * [iOS] simplified iOS 10 fixes #3881 fixes #3679 * Changes in TableView GTK Control to allow refresh the content (#3941) - fixes #3725 * Only set the Page Padding via SafeAreaInset on iOS (#3811) * only set the Page Padding via SafeAreaInset on iOS -fixes #3809 * [Controls] add waits for clicks in ui tests * [Controls] remove wrong category * [iOS] Move inset logic down into ios renderer * Added logic to allow set the ListView SelectedIndex (#3948) fixes #3766 * Automate UI test 35127 (#3927) * automate test - fixes #2262 * indentation fix * indentation fix 2 * Make GetIconDrawable virtual (#3967) By making GetIconDrawable virtual for the Android TabbedPageRenderer it allows for the icon to come from other sources (like glyph fonts). This will work for both top and bottom tabs. * [GTK] Fix visibility of hidden pages in the stack (#3904) When navigating to a new page, we should hide the previous content and show the new one so that the previous page renderer is not taken in account for redraws and resizes * [Android] If MaxLines is not explicitly set, let LineBreakMode handle it (#3936) * [Android] If MaxLines is not explicitly set, all LineBreakMode to set it; if MaxLines is explicitly set, MaxLines setting wins. Use a more reasonable default for native MaxLines when handling it via LineBreakMode. Consolidate MaxLines handling code between legacy and fast renderers. Remove unnecessary setting of SingleLine (which only applies to input). - fixes #3772 * Remove unnecessary maxLines setting * Handle resetting MaxLines to -1/default * Reinstate workaround for array bounds exception in older Android APIs * Fix UI test B43941 (#3889) * Add all platforms and remove non-deterministic behaviour * Return back correct check of counter * Endline fix * remove childPages list * [XamlC] avoid multiple subscription (#3969) Avoid multiple subscription to PropertyChanged on TypedBindings - fixes #3613 - fixes #3650 * Fix typos (mainly 'toogle' becoming 'toggle') (#3975) * Fix Issue2597 Needs UI Test (#3966) * Add test for issue 2597 * Fix space * Add CODEOWNERS * Fix PanGesture inside scroll issue https://github.com/xamarin/Xamarin… (#3842) * Fix PanGesture inside scroll issue https://github.com/xamarin/Xamarin.Forms/issues/3840 - fixes #3840 * fixe formatting * [UITest] added UI Test * [Controls] adjusted UI Test button positions * [UITEST] simplify UI tests * [C] add CSS mapping for max-lines (#3991) - fixes #3982 * [iOS] Add ability to turn off updates to native controls from another thread (#3774) * [iOS] Add ability to turn off updates to native controls from another thread * Flip evaluation order fixes #1755 * Fixed NotImplementedException refreshing items in WPF ListView (#3962) * Fixed NotImplementedException refreshing items in WPF ListView * Small changes in ListView events subscription fixes #3309 fixes #3737 fixes #3648 * [GTK] Fix transparent background in visual elements (#3744) * Fix ActivityIndicator.IsRunning state (#4007) * add pdb for uap into nuget (#4015) * update GitInfo * [XamlC] don't compile bindings with Source (#3978) Sources are usually x:reference that can't be resolved at compilation time. - fixes #3606 * [Xaml[C]] resolve Extensions first (#3977) XamlLoader should first look for type with the Extension suffix. It used to be the case, but somehow regressed. - fixes https://github.com/xamarin/Xamarin.Forms/issues/3606#issuecomment-422377338 * [UWP] Document in the README.md the steps required to run UI Tests (#4014) fixes #3984 * [Tizen] Add TabIndex implement for Tizen renderer (#4046) * [Tasks] multitarget the build tasks (#3895) - fixes #2690 - closes #2706 * [UITests] Update TestCloud.Agent (#4055) * [Tizen] Fix ProjectGuid for Forwarders (#4063) * [Tizen] Fix ProjectGuid for Forwarders * [Tizen] Make sure not to generate dependency file * Correct minor typo (#4068) * Added WebView Reload (#4013) fixes #3776 * Added WebView Reload * WebView Reload Added Tizen suport * [Tizen] Cleanup Code (#4080) * fixed ios editor placeholder font (#4009) * Prevented crash https://github.com/xamarin/Xamarin.Forms/issues/2291 (#4072) - fixes #2291 * [Xaml] Allow OnPlat markup in Styles (#3995) - fixes #3862 * [Xaml] fix Namescope being different than tree (#4089) As part of #2556, the namescoping tree was assumed to be equiv to the object tree, which is obviously wrong. This fixes it, while keeping the old behavior as a fallback. We might go further, but I can't come up with a reasonable scenario failing. - fixes #3821 * [Sample] [Android] Fixed PagesGallery.Droid build (#3999) * fixed PagesGallery.Droid build * Moved Xamarin.Forms.Platform.Android (Forwarders) reference to previous place * updated project guid to lower case * Fix typeface reset issue (#4019) * Use ViewCompat to set and get label for view (#3996) * Removing LineBreakMode support from WindowsResourcesProvider (#4024) * Repro test page for 3979 * Removes LineBreakMode support from WindowsResourcesProvider as it is inconsistent with other platforms and caused issues when setting Span style to the default Device Styles * [macOS] Fix NRE on Mojave when aligning the tile (#4086) fixes #3031 * [GTK] Add support for ClickGestureRecognizer (#3971) * [GTK] Add support for ClickGestureRecognizer * Add ClickGestureGalleryPage to test ClickGestureRecognizer * [iOS] Label TextColor has no effect with FormattedString (#4043) * https://github.com/xamarin/Xamarin.Forms/issues/4040 fix default font/color for formatted string * https://github.com/xamarin/Xamarin.Forms/pull/4043 fixed naming, added test case * Moved field and property to top - fixes #4040 * fix build, tentatively (#4117) * [Xaml] don't swallow exceptions from converters (#4100) Compiled converters are invoked, by reflection, at compile time. Any exception thrown there will be wrapped in a TargetInvocationException. When that happens, we still want to expose the inner XamlParseException to the user. - fixes #4099 * housekeeping ended with https://github.com/xamarin/Xamarin.Forms/pull/3999 (#4105) * Bump minimum Microsoft.NETCore.UniversalWindowsPlatform version to 6.0.12 (#4106) * [Tizen] Fix Window alpha update timing (#4119) * [UWP] fixed `MinimumDate` and `MaximumDate` properties of DatePicker (#3683) fixes #3331 * [WPF] Fixes `ControlTemplate` sizing issue (#2656) - fixes #2642 * Remove BOM from nuspec (#4128) * Navigation Page double Popped event Workaround (#3851) fixes #3509 * Navigation Page double Popped event Workaround * [UITest] Add UI Test * [Core] fix formatting * revert formatting fix * implemented workaround suggested by PureWeen * removed whitespace * moved ignorePopCall to a better location * [Enhancements] Toolbar a11y (#3974) fixes #1742 fixes #3795 * [Controls] Add automation id to icon * [iOS] Add AutomationId support to MDP tooggle button * [Android] Add support for AutomationId to ActionBarDrawerToggle and MasterDetailPage * [IOS] Refactor and add Accessibility to ToolbarItems * [iOS] Fix typos * [Android] Add accessibility to ToolbarItems * [UWP] Refactor A11y to extensions * [UWP] Set Accessibility properties on ToolbarItems * [UWP] Set accessibility to MDP button * [ControlGallery] Add accessibility toolbaritems to gallery * Comment test out * [iOS] Fix NRE when Control is being disposed * [UITests] Remove not used UITests file * Implementation of method ForceUpdateSize for Cell on macOS (#4104) * Implemented Cell ForceUpdateSize on macOS * Tab Styling * Prevent crash during setting NULL to element via interface method (#4179) - fixes #4178 - fixes #4146 * https://github.com/xamarin/Xamarin.Forms/issues/4076 fix (#4161) * [iOS] Rapidly clicking span (6 times at least) on UITest 3525 throws a null exception (#4109) * https://github.com/xamarin/Xamarin.Forms/issues/3930 fix * following convention * [Android] Fixes AutomationProperties.Name on Button (#4094) * [Android] Fixes AutomationProperties.Name on Button * [Android] Fixes for Switch control * UWP Toolbar dynamic overflow (#4022) * Adding Windows specific ToolbarDynamicOverflowEnabled configuration * Enabled ToolbarDynamicOverflowEnabled (pun intended) on page controls and renderers * Issue 3988 sample * Removed obsolete comment, cleaned up private and whitespace * Added toolbar dynamic overflow examples for master detail page and tabbed page - fixes #2057 - fixes #3988 * Add missing initial call to UpdateLineHeight; fixes #4136 (#4147) * Added UI test to B45027 (#4079) * Add UI test to B45027 * Changed execution of current UI test to Android platform * Added iOS UI test to B45027 * Refactored UI test execution * Fix https://github.com/xamarin/Xamarin.Forms/issues/3301 (#4164) - fixes #3301 * [UWP] fixes entering text into SearchBar with UI Tests (#4173) * [UWP] fixes entering text into SearchBar with UI Tests * [UWP] ITabStopOnDescendants - fixed selection when setting focus from Selenium * [UWP] Fix TitleView Width and MDP rendering quirks (#3987) * [UWP] Fix TitleView Width and MDP rendering quirks * [UWP] fix load timing for pushed pages and titleview * [UWP] move renderer check * [UWP] remove re-measure until 4116 fixed - fixes #3828 - fixes #3834 * [macOS] NRE in WebViewRenderer (#4188) fixes #4001 * https://github.com/xamarin/Xamarin.Forms/issues/4001 * fixed build * https://github.com/xamarin/Xamarin.Forms/issues/2831 fixes #2831 (#4111) * [msbuild] use portable pdb files (#4201) Currently, on the first build of a "Hello World" Xamarin.Forms app, you will see this in the build log: ConvertDebuggingFiles Parameters Files C:\Users\myuser\.nuget\packages\xamarin.forms\3.1.0.697729\lib\MonoAndroid10\FormsViewGroup.pdb C:\Users\myuser\.nuget\packages\xamarin.forms\3.1.0.697729\lib\MonoAndroid10\Xamarin.Forms.Platform.Android.pdb OutputItems _ConvertedDebuggingFiles C:\Users\myuser\.nuget\packages\xamarin.forms\3.1.0.697729\lib\MonoAndroid10\FormsViewGroup.dll C:\Users\myuser\.nuget\packages\xamarin.forms\3.1.0.697729\lib\MonoAndroid10\Xamarin.Forms.Platform.Android.dll The logging is a little weird here, but this `ConvertDebuggingFiles` MSBuild task takes about 100ms on my machine. What is it doing? The Mono debugger can support two types of debugging files: - `mdb` files - "portable" `pdb` files If Xamarin.Android's build finds a "non-portable" `pdb` file, we have to run it through this task to convert to an `mdb` file... This gives us proper stacktraces for `FormsViewGroup.dll` and `Xamarin.Forms.Platform.Android.dll`. You can change the type of debugging symbols in your project with the `DebugType` setting, which has these options: - Blank or `None`: don't generate symbols. (Although Xamarin.Android has funny behavior here, see: https://github.com/xamarin/xamarin-android/issues/2282) - `Full` generates an `mdb` file, this is a Windows-proprietary format for debug builds - `PdbOnly` generates a "non-portable" `pdb` file, a Windows-proprietary format for release builds - `Portable` generates a "portable" pdb file, which is the new standard that works for debug and release builds. New SDK-style MSBuild projects use this option by default. These values are not case sensitive, I have mostly seen them lower case in newer projects. So what does Xamarin.Forms need to do? Use `<DebugType>portable</DebugType>` in any Android class library or app project. Other platforms, this is optional, not as much benefit. I have heard that `DebugType=portable` might cause a problem on UWP. * Xamarin.Forms will ship "portable" `pdbs` in its NuGet package for `FormsViewGroup.dll` and `Xamarin.Forms.*.Android.dll`. Developers won't pay the 100ms on initial build. * Initial build times for `Xamarin.Forms.sln` will be slightly better for development, although I didn't measure the difference here. * [XamlC] fix the argument match check for events (#4134) Well, it looks like the order of arguments of InheritOrImplements was reversed... a totally fine and normal Friday so far - fixes #4130 * Add UI Test. Add instructions. Move to correct namespace (#4170) fixes #2251 * Add uitest for 2794 (#4110) fixes #2293 * Fix PropagateEvent value properly on Cells (#4191) * bump gitinfo * [Core, iOS, MacOS, Android, UWP, WPF] ListView hide scroll view scroll bars (#3897) fixes #3843 * Update from origin (#8) * [C] VisibilityConverter Trims input (#3581) For CSS purposes, the VisibilityConverter was added, and actually replaced the `Boolean.Parse(str)` call for parsing Visibility. `Boolean.Parse()` trims input, and the converter was not, so this was a regression. This changes Trim() the input, to be fully backward compatible. - fixes #3554 * Ensure ConstructorCountId and TimeId elements are available before querying them (#3588) * For consistency with ResourceDictionary, expose the Source for a StyleSheet (#2589) This would allow previewer/designer/reloader to determine the source of a stylesheet and refresh its content when appropriate. * Revert "For consistency with ResourceDictionary, expose the Source for a StyleSheet (#2589)" This reverts commit f66a72de5b475a6a8387a80e418997b38dc40d4c. * Fix NRE; Ret 0 if Text null (#3594) fixes #3579 * [UWP, WPF] Fixes rendering of the main page (#2896) fixes #2704 * [Core] Ignore Shamehat target when running DesignTimeBuild (#3605) * [XamlC] Fix binding compilation fo value types (#3551) properly load valuetype arguments of generated setters, using ldarg, instead of ldarga. - fixes #3539 * Update PULL_REQUEST_TEMPLATE.md * Update PULL_REQUEST_TEMPLATE.md * [Android] Fix Label LineHeight (#3452) * fix line height android * Make UAP respect initial LineHeight * update .create-nuget.bat (#3638) * Add Null Check to GetRenderer (#3575) - fix #3563 * Fix 3562 Null Reference Exception (#3576) - fixes #3562 * Fix 3564 Null Reference Exception (#3578) - fixes #3564 * [iOS] AutomationProperty support for cells (#3313) fixes #3296 * [iOS] AutomationProperty support for cells * Add test case to AutomationProperties gallery * [UWP] Fix crash app when create navigation/tabbed page without children pages fixes #3188 (#3514) * [Android] Use height when determining ScaledScreenSize; fixes #3609 (#3641) * [C] Set binding context on Span Gestures (#3639) * [Core] Set binding context on Span Gestures * [Core] Simplify loop setting child binding context - fixes #3524 * Update PULL_REQUEST_TEMPLATE.md * [Android] remove deprecated AndroidUseLatestPlatformSdk (#3672) * [iOS] iPad ActionSheet should always have a Cancel method (#3636) * Add repro for #3049 * [iOS] iPad ActionSheet should always have a Cancel method fixes #3049 * [Android] fixes #3675 - set initial ScrollView Scroll values when RTL (#3676) * [Android] API check for Shadow properties on Button (#3617) fixes #2702 * [Android] API check for Shadow properties on Button * Fix swapped shadow values * [iOS] fixes #3525 - add epsilon for float compare (#3654) * [iOS] fixes #3525 - add epsilon for float compare and make region immutable * [ControlGallery] spread out spans to account for click slop * [ControlGallery] - adjust span slightly for android test * [Core] remove private * Fix text wrapping (#3671) fixes #3634 * [GTK] Fix navigation bar visibility updates (#3651) * Fix partially #3585 (#3592) * Make webkit-sharp.dll.config cross-platform * Update webkit-sharp.dll with missing signals bindings see: https://github.com/ylatuya/webkit-sharp/tree/fluendo * [iOS, UWP] fixes #2894 - Gestures collection changes weren't correctly propagating (#3643) * [iOS, UWP] fixes #2894 - Gestures weren't wiring up to spans in all cases * [Core] remove ChildGestureRecognizers when spans get removed * [iOS] removed incorrect return from null * Fixes #3663 (#3684) * Fix ScrollView Padding issue (#3685) * [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 * [Android,iOS,UWP] Allow Entry CursorPosition/SelectionLength to be set in ctor (#3402) fixes #3343 fixes #3633 * Add repro for #3343 + unit tests * [Core] Disallow negative values for CursorPosition/SelectionLength * [All] CursorPosition/SelectionLength can bindin ctor & clear value fixes #3343 * typo * cleanup * [iOS] Cursor snaps to end * try/catch * [CSS] add more properties (#3466) map new CSS properties: - `color` on `IColorElement` (`ActivityIndicator`, `BoxView`), `ProgressBar` and `Switch` - `row-gap` and `column-gap` on `Grid` - `transform` and `transform-origin` on `VisualElement` - `vertical-align` on `Label` add new XF-specific CSS properties - `-xf-placeholder` and `-xf-placeholder-color` on `Editor`, `Entry`, `SearchBar` - `-xf-max-length` on `InputView` (`Editor` and `Entry`) - `-xf-bar-background-color` and `-xf-bar-text-color` on `NavigationPage` and `TabbedPage` - `-xf-orientation` on `ScrollView` and `StackLayout` - `-xf-horizontal-scroll-bar-visibility` and `-xf-vertical-scroll-bar-visibility` on `ScrollView` - `-xf-min-track-color`, `-xf-max-track-color` and `("-xf-thumb-color` on `Slider` - `-xf-spacing` on `StackLayout` This PR replaces and closes #3276 - fixes #2891 * [iOS] Specify a default size for UISearchBar width if needed (#3635) fixes #3413 fixes #2139 * [Controls] Add reproduction and test case for issue #3413 * [iOS] Don't use max value for iOS UISearchbar breaks on iOS 11.3 * [iOS] Force width value so we can renderer UISearchBar on iOS10 with infinite width * [Controls] Fix spelling and add Manual Review to the test of #3413 * [iOS] Simplify code for UISearchBar width * [iOS] Return always some width from measure the UISearchBar on IOS * [Controls] Add reproduction case for issue #2139 * [UWP] Fixed double set margins in Layouts (#3570) fixes #3398 fixes #3616 * [Android] Support multiple clipping settings in single layout (#3559) * Repro * Fix for API 18+ * [iOS] Unsubscribe CellPropertyChanged when SwitchCellRenderer is disposed (#3518) * [Controls] Add repo of issue #3408 * [iOS] Unsubscribe CellPropertyChanged when cell is disposed * [Controls] Add issue to project * [iOS] Introduce CellPropertyChange to CellTableViewCell to used by all other cell renderers * [Controls] Simplify Issue * [iOS] Remove PropertyChanged that was not used * [Controls] add check for null binding on template, add notes about issues * [Controls] added reference to Android crash * [iOS]Use existing PropertyChanged on ViewCelRenderer * [iOS] Keep the existing override so we don't break users * Update TextCellRenderer.cs * update submodule * 24H Mode (#3701) The 24h mode for the pickerdialog was not working. Version 3.1 was working fine. Here is an updated file. * [UWP] uncomment tests that are now passing for 3188 (#3723) * [UITest] Update Xamarin.UITest nuget package (#3632) * [UITests] Update Xamarin.UITest 2.2.5 * [UITests] Try fix Toolbaritems * [UITest] Update to 2.2.5-1606 * [UITests] Small Fixes and workarounds to make uitest happy * [UITests ] Add delay to 1733 for API28 * [Android] Revert bad merge (#3746) fixes #3705 * [Android, iOS] Fixes layout compression causes (#3698) fixes #3624 * [Android, iOS] Fixes layout compression causes * [iOS] improve UpdateNewElement method * Fix build error hopefully * [UWP] Fixes CollectionChanged events in ListView (#3323) * fixes #3273 * [UWP] Fixes CollectionChanged events in ListView * a wrapped collection is used only if the SourceItem is not ObservableCollection * improve uitest * fixed NRE in empty ListView * added a sortable custom renderer for UItest * minor refactoring * fixed reset of not wrapped collections * addressing comments * [UWP] remove WinRT hack * [UWP] add missing using and cleanup additional resources * [Android] Update Forms to remove API28 deprecated API (#3653) fixes #2128 fixes #3629 * [Build] Update provisioning * [Controls] Ignore deprecated Android API usage * [Android] Remove use of obsolete color usage * [Android] Remove app fragment usage * [android] Rollback changes to EntryCellRenderer * [Android] Better way to get the default color for the label text * [Android] Obsolete message for ContentPage.CreateFragment() * [ControlGallery] - create bitmap from Drawable to use for pixel location * [Android] Use textcolor resource * Update submodule * Fix tests (#3771) * [ControlGallery] Wait for element and add timing to tests * [iOS] Fix NRE on RenderPool * 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 * Fix : Binding Icon in ToolbarItem in TabbedPage doesn't refresh (#3761) fixes #3756 * [iOS] Fix NRE on ContextCell (#3714) fixes #3275 * [Controls] Add repo for issue #3275 * [iOS] Fix NRE when no gestures exist on table * [iOS] Null check outside loop * [iOS]Make sure to dispose/unhook when we are removed from UITableView. * Update submodule * [iOS] Don't double dispose ContextActionCell * WPF - Fix Width and Height measurement when GetDesiredSize (#3750) * WPF - Reset Width and Height when GetDesiredSize * Some formatting changes * Add APP directive * [WPF]Fix build * [Android Maps] Make markers available to subclasses (#3751) * Make markers available to subclasses * Fix build * Use Find instead of FirstOrDefault * [UITests] wait for element before querying for it (#3791) * [UITests] wait for element before querying for it * [Controls] generalize and better represent intended behavior * WPF - Fix Local store not persistant when restarting App (#3752) -fixes #3541 * WPF - Fix Local store not persistant when restarting App * Add UITest * [Controls] Add automated UI Test * [UITests] Isolate test 3408 * [UITest] Update Xamarin UITest packages * [UWP] implement Replace without reloading ListView (#3792) -fixes #3788 * [UWP] implement Replace without reloading ListView * [UWP] extract bindingcontext of new item for replace * [iOS] Use UIApperance default color for UISwitch (#3819) * [Controls] Set default color of UISwitch to Red * [iOS] Use default color from Apperance API * [UITests] replace awaits with more reliable WaitForElement (#3835) * [Core] Propagate BindingContext changes to TitleView (#3823) * [Core] Propagate BindingContext changes to TitleView * [Tests] Move UI test to Core Unit Test * [A] do not draw gradient for empty CornerRadius (#3786) Drawing CornerRadius (introduce by #1998) when the CornerRadii are actually 0 causes scaling artifacts on API < 25. This fixes the regression when no CornerRadius is set. Expect blurry border scaling with CornerRadius not empty and API < 25 - fixes #3781 * [Android] Fix WebView.Navigating event, make WebViewClient inheritable (#3780) * Extracted WebViewRenderer.WebClient to FormsWebViewClient, moved SendNavigating call from ShouldOverrideUrlLoading to OnPageStarted * Changed _webViewClient and GetWebViewClient() method to return base class * Changed public things to protected internal * Fix spaces to tabs indentation to match the coding style (#3745) * [Build] Fix merge * Fix #3097 swipe gesture not being handled in VisualElementTracker. (#3098) Fixes #3097 * Implemented for iOS, Android and MacOS * Implemented UAP and WPF * Refactored duplicate code and removed typo in method name * Update from origin (#9) * [C] VisibilityConverter Trims input (#3581) For CSS purposes, the VisibilityConverter was added, and actually replaced the `Boolean.Parse(str)` call for parsing Visibility. `Boolean.Parse()` trims input, and the converter was not, so this was a regression. This changes Trim() the input, to be fully backward compatible. - fixes #3554 * Ensure ConstructorCountId and TimeId elements are available before querying them (#3588) * For consistency with ResourceDictionary, expose the Source for a StyleSheet (#2589) This would allow previewer/designer/reloader to determine the source of a stylesheet and refresh its content when appropriate. * Revert "For consistency with ResourceDictionary, expose the Source for a StyleSheet (#2589)" This reverts commit f66a72de5b475a6a8387a80e418997b38dc40d4c. * Fix NRE; Ret 0 if Text null (#3594) fixes #3579 * [UWP, WPF] Fixes rendering of the main page (#2896) fixes #2704 * [Core] Ignore Shamehat target when running DesignTimeBuild (#3605) * [XamlC] Fix binding compilation fo value types (#3551) properly load valuetype arguments of generated setters, using ldarg, instead of ldarga. - fixes #3539 * Update PULL_REQUEST_TEMPLATE.md * Update PULL_REQUEST_TEMPLATE.md * [Android] Fix Label LineHeight (#3452) * fix line height android * Make UAP respect initial LineHeight * update .create-nuget.bat (#3638) * Add Null Check to GetRenderer (#3575) - fix #3563 * Fix 3562 Null Reference Exception (#3576) - fixes #3562 * Fix 3564 Null Reference Exception (#3578) - fixes #3564 * [iOS] AutomationProperty support for cells (#3313) fixes #3296 * [iOS] AutomationProperty support for cells * Add test case to AutomationProperties gallery * [UWP] Fix crash app when create navigation/tabbed page without children pages fixes #3188 (#3514) * [Android] Use height when determining ScaledScreenSize; fixes #3609 (#3641) * [C] Set binding context on Span Gestures (#3639) * [Core] Set binding context on Span Gestures * [Core] Simplify loop setting child binding context - fixes #3524 * Update PULL_REQUEST_TEMPLATE.md * [Android] remove deprecated AndroidUseLatestPlatformSdk (#3672) * [iOS] iPad ActionSheet should always have a Cancel method (#3636) * Add repro for #3049 * [iOS] iPad ActionSheet should always have a Cancel method fixes #3049 * [Android] fixes #3675 - set initial ScrollView Scroll values when RTL (#3676) * [Android] API check for Shadow properties on Button (#3617) fixes #2702 * [Android] API check for Shadow properties on Button * Fix swapped shadow values * [iOS] fixes #3525 - add epsilon for float compare (#3654) * [iOS] fixes #3525 - add epsilon for float compare and make region immutable * [ControlGallery] spread out spans to account for click slop * [ControlGallery] - adjust span slightly for android test * [Core] remove private * Fix text wrapping (#3671) fixes #3634 * [GTK] Fix navigation bar visibility updates (#3651) * Fix partially #3585 (#3592) * Make webkit-sharp.dll.config cross-platform * Update webkit-sharp.dll with missing signals bindings see: https://github.com/ylatuya/webkit-sharp/tree/fluendo * [iOS, UWP] fixes #2894 - Gestures collection changes weren't correctly propagating (#3643) * [iOS, UWP] fixes #2894 - Gestures weren't wiring up to spans in all cases * [Core] remove ChildGestureRecognizers when spans get removed * [iOS] removed incorrect return from null * Fixes #3663 (#3684) * Fix ScrollView Padding issue (#3685) * [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 * [Android,iOS,UWP] Allow Entry CursorPosition/SelectionLength to be set in ctor (#3402) fixes #3343 fixes #3633 * Add repro for #3343 + unit tests * [Core] Disallow negative values for CursorPosition/SelectionLength * [All] CursorPosition/SelectionLength can bindin ctor & clear value fixes #3343 * typo * cleanup * [iOS] Cursor snaps to end * try/catch * [CSS] add more properties (#3466) map new CSS properties: - `color` on `IColorElement` (`ActivityIndicator`, `BoxView`), `ProgressBar` and `Switch` - `row-gap` and `column-gap` on `Grid` - `transform` and `transform-origin` on `VisualElement` - `vertical-align` on `Label` add new XF-specific CSS properties - `-xf-placeholder` and `-xf-placeholder-color` on `Editor`, `Entry`, `SearchBar` - `-xf-max-length` on `InputView` (`Editor` and `Entry`) - `-xf-bar-background-color` and `-xf-bar-text-color` on `NavigationPage` and `TabbedPage` - `-xf-orientation` on `ScrollView` and `StackLayout` - `-xf-horizontal-scroll-bar-visibility` and `-xf-vertical-scroll-bar-visibility` on `ScrollView` - `-xf-min-track-color`, `-xf-max-track-color` and `("-xf-thumb-color` on `Slider` - `-xf-spacing` on `StackLayout` This PR replaces and closes #3276 - fixes #2891 * [iOS] Specify a default size for UISearchBar width if needed (#3635) fixes #3413 fixes #2139 * [Controls] Add reproduction and test case for issue #3413 * [iOS] Don't use max value for iOS UISearchbar breaks on iOS 11.3 * [iOS] Force width value so we can renderer UISearchBar on iOS10 with infinite width * [Controls] Fix spelling and add Manual Review to the test of #3413 * [iOS] Simplify code for UISearchBar width * [iOS] Return always some width from measure the UISearchBar on IOS * [Controls] Add reproduction case for issue #2139 * [UWP] Fixed double set margins in Layouts (#3570) fixes #3398 fixes #3616 * [Android] Support multiple clipping settings in single layout (#3559) * Repro * Fix for API 18+ * [iOS] Unsubscribe CellPropertyChanged when SwitchCellRenderer is disposed (#3518) * [Controls] Add repo of issue #3408 * [iOS] Unsubscribe CellPropertyChanged when cell is disposed * [Controls] Add issue to project * [iOS] Introduce CellPropertyChange to CellTableViewCell to used by all other cell renderers * [Controls] Simplify Issue * [iOS] Remove PropertyChanged that was not used * [Controls] add check for null binding on template, add notes about issues * [Controls] added reference to Android crash * [iOS]Use existing PropertyChanged on ViewCelRenderer * [iOS] Keep the existing override so we don't break users * Update TextCellRenderer.cs * update submodule * 24H Mode (#3701) The 24h mode for the pickerdialog was not working. Version 3.1 was working fine. Here is an updated file. * [UWP] uncomment tests that are now passing for 3188 (#3723) * [UITest] Update Xamarin.UITest nuget package (#3632) * [UITests] Update Xamarin.UITest 2.2.5 * [UITests] Try fix Toolbaritems * [UITest] Update to 2.2.5-1606 * [UITests] Small Fixes and workarounds to make uitest happy * [UITests ] Add delay to 1733 for API28 * [Android] Revert bad merge (#3746) fixes #3705 * [Android, iOS] Fixes layout compression causes (#3698) fixes #3624 * [Android, iOS] Fixes layout compression causes * [iOS] improve UpdateNewElement method * Fix build error hopefully * [UWP] Fixes CollectionChanged events in ListView (#3323) * fixes #3273 * [UWP] Fixes CollectionChanged events in ListView * a wrapped collection is used only if the SourceItem is not ObservableCollection * improve uitest * fixed NRE in empty ListView * added a sortable custom renderer for UItest * minor refactoring * fixed reset of not wrapped collections * addressing comments * [UWP] remove WinRT hack * [UWP] add missing using and cleanup additional resources * [Android] Update Forms to remove API28 deprecated API (#3653) fixes #2128 fixes #3629 * [Build] Update provisioning * [Controls] Ignore deprecated Android API usage * [Android] Remove use of obsolete color usage * [Android] Remove app fragment usage * [android] Rollback changes to EntryCellRenderer * [Android] Better way to get the default color for the label text * [Android] Obsolete message for ContentPage.CreateFragment() * [ControlGallery] - create bitmap from Drawable to use for pixel location * [Android] Use textcolor resource * Update submodule * Fix tests (#3771) * [ControlGallery] Wait for element and add timing to tests * [iOS] Fix NRE on RenderPool * 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 * Fix : Binding Icon in ToolbarItem in TabbedPage doesn't refresh (#3761) fixes #3756 * [iOS] Fix NRE on ContextCell (#3714) fixes #3275 * [Controls] Add repo for issue #3275 * [iOS] Fix NRE when no gestures exist on table * [iOS] Null check outside loop * [iOS]Make sure to dispose/unhook when we are removed from UITableView. * Update submodule * [iOS] Don't double dispose ContextActionCell * WPF - Fix Width and Height measurement when GetDesiredSize (#3750) * WPF - Reset Width and Height when GetDesiredSize * Some formatting changes * Add APP directive * [WPF]Fix build * [Android Maps] Make markers available to subclasses (#3751) * Make markers available to subclasses * Fix build * Use Find instead of FirstOrDefault * [UITests] wait for element before querying for it (#3791) * [UITests] wait for element before querying for it * [Controls] generalize and better represent intended behavior * WPF - Fix Local store not persistant when restarting App (#3752) -fixes #3541 * WPF - Fix Local store not persistant when restarting App * Add UITest * [Controls] Add automated UI Test * [UITests] Isolate test 3408 * [UITest] Update Xamarin UITest packages * [UWP] implement Replace without reloading ListView (#3792) -fixes #3788 * [UWP] implement Replace without reloading ListView * [UWP] extract bindingcontext of new item for replace * [iOS] Use UIApperance default color for UISwitch (#3819) * [Controls] Set default color of UISwitch to Red * [iOS] Use default color from Apperance API * [UITests] replace awaits with more reliable WaitForElement (#3835) * [Core] Propagate BindingContext changes to TitleView (#3823) * [Core] Propagate BindingContext changes to TitleView * [Tests] Move UI test to Core Unit Test * [A] do not draw gradient for empty CornerRadius (#3786) Drawing CornerRadius (introduce by #1998) when the CornerRadii are actually 0 causes scaling artifacts on API < 25. This fixes the regression when no CornerRadius is set. Expect blurry border scaling with CornerRadius not empty and API < 25 - fixes #3781 * [Android] Fix WebView.Navigating event, make WebViewClient inheritable (#3780) * Extracted WebViewRenderer.WebClient to FormsWebViewClient, moved SendNavigating call from ShouldOverrideUrlLoading to OnPageStarted * Changed _webViewClient and GetWebViewClient() method to return base class * Changed public things to protected internal * Fix spaces to tabs indentation to match the coding style (#3745) * [Build] Fix merge * Fix #3097 swipe gesture not being handled in VisualElementTracker. (#3098) Fixes #3097 * Ensure that the ListViewAdapter is no longer being used by the ListVi… (#3848) fixes #3603 * Ensure that the ListViewAdapter is no longer being used by the ListView before disposing it * Remove `RemoveAllViews` from `Dispose` * Fixed code review comments * Removed obsolete convert method * Making sure default platform functionality is intact iOS and Android As er code review comments * Making sure default platform functionality is intact MacOS * Making sure default platform functionality is intact UWP and WPF * Code review comments for iOS, Android and MacOS Default platform value is now preserved and applied when setting is set to default * Code review comments UWP and WPF * Fix build * [UITest] - add ui test to test scroll permutations * [Uwp] fix bad merge * [wpf] fix spacing * Adding instructions and UI tests for Bugzilla44461 (#4144) * Adding instructions and UI tests for Bugzilla44461 * Update Xamarin.Forms.Controls.Issues/Xamarin.Forms.Controls.Issues.Shared/Bugzilla44461.cs Co-Authored-By: mikescandy <michele.scandura@outlook.com> * Fix assert * [C] avoid AmbiguousMatchexception in Bindings (#4216) fixes #4215 if a type defines multiple op_implicit from the same type to different ones, trying to retrieve it with GetMethod() throws an AmbiguousMatchException. If this happens, we have to do the resolution ourself. - fixes #4215 * https://github.com/xamarin/Xamarin.Forms/issues/4076 fix (#4161) * [Enhancement] Possibility to change IsPassword for MacOS (#4175) fixes #2223 * https://github.com/xamarin/Xamarin.Forms/issues/2223 added possibility to change IsPassword for mac * added test case * [Core] Fix layout padding update issue (#4166) - Update PaddingPropertyChanged handler - Add UnitTest for Padding - Update ControlGallery - fixes #4165 * Bindable layouts (#4052) - fixes #1718 * [GTK] Do not show a label in gtk slider renderer (#4098) * Remove unnecessary ToArray to reduce number of BindableObject[] allocations (#4101) * [Mac] Fixes crash after changing main page (#4228) - fixes #4156 * Enforce clipping on fast renderer ImageRenderer when using AspectFill; fixes #4133 (#4218) - fixes #4133 * notify me of changes to XamlC * [MacOs] Image from file not getting searched in the bundle fixes #2322 (#4247) * [GTK] Fix several memory leaks in the GTK backend (#4112) * [GTK] Don't recreate master or detail if it didn't change * [GTK] Fix several memory leaks using the Destroy pattern Gtk objects must be disposed using the Destroy function that will automatically iterate over the children and destroy them too: https://developer.gnome.org/gtk2/stable/GtkWidget.html#gtk-widget-destroy The gtk-sharp bindings discourage the use of Dispose and don't even call the base class, leaving it without effect: https://github.com/mono/gtk-sharp/blob/gtk-sharp-2-12-branch/gtk/Object.custom#L98 In the Controls, that inherits directly from native Gtk objects, the overrides of the Dispose function are changed to override the Destroy function. In the Renderers, that inherit from VisualElementRenderer, the Destroy funtion is called in the dispose implementation so subclasses only have to override Dispose (bool disposing) as they do now. * [GTK] Don't recreate the toolbar on each change * [GTK] Fix leak connecting to the PropertyChanged event twice * [UWP] Fix ActivityIndicator width in absolutelayout (#3224) * [Core] Fix autosize elements in absolute layout * revert the Hasflag extension * - refactoring to the local UWP fix for Activity Indicator - fixes #1399 * [iOS] Fix issue where entry would emit a change notification without a user triggered change (#3433) * [iOS] Fix issue where entry would emit a change notification without a user triggered change * Add repro * [iOS] Change CALayer.Transform in MainThread (#4160) * fixes #1480 * Added test case * Update Xamarin.Forms.Platform.iOS/VisualElementTracker.cs Co-Authored-By: AndreiMisiukevich <andrei.misiukevich@gmail.com> * updated test case * Move GetNativeSize to PlatformServices, remove IPlatform (#4235) * [UnitTest] Remove UnitPlatform * Add Editor.IsTextPredictionEnabled property (#4023) * Add Editor.IsTextPredictionEnabled property * simplfy UpdateInputType logic * modify IsTextPredictionEnabledProperty BindingMode to Default * undo changes of commit 5db2456d * [UITests] update namespace for UI Tests - Fixes #3555 * ListView should convert item to string when ItemTemplate is not specified (#4016) * Convert item to string, when ListView has no ItemTemplate * ToStringValueConverter tests * Format value using parameter in ToStringValueConverter - fixes #3715 * Removed custom entitlements entry for iOS simulator builds (#4257) * [UITests] fix dismiss page crash (#4251) * ImageButton (#1974) * ImageButton Implementation * [Android] rename BorderBackgroundManager * [Android] copy AspectFill changes to ImageButton * [UITests] fix order of gallery pages to work with tests * [Android] Account for changing image region with border/shadows * [Android] check for api 18 and add setpadding call back in * [Android] throw exception instead of crash when image fails to load * Addressing issue comments and adding additional test cases to Issue demo - fixes #1724 * [C] Add Default value to OnIdiom (#4225) * [C] Add Default value to OnIdiom - fixes #4006 - closes #4025 * add test * xamarin/Xamarin.Forms/issues/2315 (#4190) fixes #2315 * [iOS] make button constructor public (#4313) * fix merge issues * Added UI test to B44338 (#4307) fixes #2379 * Move github files to .github dir (#4288) This change is completely non-functional, the files moved will function identically in the .github dir, but don't cruft up the root dir. * [GTK] Fix synchronization context fairness (#4237) GLib.Idle.Add enqueues functions in the main loop with the lowest priority, so while the UI is updating tasks will be queued in the main loop. Using Gtk.Application.Invoke they are interleaved with UI updates and handled with more fairness. * Implemented Core and iOS * Implemented Android * Fixed bug on iOS where default color would cause heading to disappear * Implemented UWP * Implemented WPF * Implemented GTK * Implemented Tizen
2018-11-27 22:26:34 +03:00
<TextBlock Margin="0,20,0,0" Text="{Binding Title,Converter={StaticResource LowerConverter}}" Style="{ThemeResource SubtitleTextBlockStyle}" Visibility="{Binding Text,RelativeSource={RelativeSource Mode=Self},Converter={StaticResource CollapseWhenEmpty}}" Foreground="{Binding TextColor,Converter={StaticResource ColorConverter},ConverterParameter=DefaultTextForegroundThemeBrush}" />
2016-03-22 23:02:25 +03:00
</DataTemplate>
<uwp:ListViewGroupStyleSelector x:Key="ListViewGroupSelector" />
<DataTemplate x:Key="ListViewGroupTemplate">
<TextBlock Text="{Binding}" Style="{ThemeResource BaseTextBlockStyle}" />
</DataTemplate>
<GroupStyle x:Key="ListViewGroup" HidesIfEmpty="False">
<GroupStyle.HeaderContainerStyle>
<Style TargetType="ListViewHeaderItem">
<Setter Property="Template">
<Setter.Value>
<ControlTemplate>
<uwp:ListGroupHeaderPresenter />
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
</GroupStyle.HeaderContainerStyle>
<GroupStyle.HeaderTemplate>
<DataTemplate>
<uwp:CellControl IsGroupHeader="true" HorizontalContentAlignment="Stretch" />
</DataTemplate>
</GroupStyle.HeaderTemplate>
</GroupStyle>
<DataTemplate x:Key="ViewCell">
<ContentControl DataContext="{Binding Cell}">
<ContentPresenter Height="{Binding RenderHeight, Converter={StaticResource HeightConverter}}" Content="{Binding View, Converter={StaticResource ViewToRenderer}}" />
</ContentControl>
</DataTemplate>
<DataTemplate x:Key="ContainedPageTemplate">
<ContentPresenter Content="{Binding Converter={StaticResource PageToRenderer}}">
<ContentPresenter.Resources>
<Style TargetType="uwp:PageControl">
<Setter Property="Background" Value="Transparent" />
</Style>
</ContentPresenter.Resources>
</ContentPresenter>
</DataTemplate>
<DataTemplate x:Key="View">
<ContentPresenter Content="{Binding Converter={StaticResource ViewToRenderer}}" />
</DataTemplate>
<SolidColorBrush x:Key="TabButtonPointerOverBackgroundBrush" Color="#44888888" />
<SolidColorBrush x:Key="TabButtonBackgroundBrush" Color="#29888888" />
<Style x:Key="FormsListViewItem" TargetType="ListViewItem">
<Setter Property="FontFamily" Value="{ThemeResource ContentControlThemeFontFamily}" />
<Setter Property="FontSize" Value="{ThemeResource ControlContentThemeFontSize}" />
<Setter Property="Background" Value="Transparent" />
<Setter Property="Foreground" Value="{ThemeResource SystemControlForegroundBaseHighBrush}" />
<Setter Property="TabNavigation" Value="Local" />
<Setter Property="IsHoldingEnabled" Value="True" />
<Setter Property="Padding" Value="0" />
<Setter Property="HorizontalContentAlignment" Value="Stretch" />
<Setter Property="VerticalContentAlignment" Value="Center" />
<Setter Property="MinWidth" Value="{ThemeResource ListViewItemMinWidth}" />
<Setter Property="MinHeight" Value="0" />
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="ListViewItem">
<ListViewItemPresenter
CheckBrush="{ThemeResource SystemControlForegroundBaseMediumHighBrush}"
ContentMargin="{TemplateBinding Padding}"
CheckMode="Inline"
ContentTransitions="{TemplateBinding ContentTransitions}"
CheckBoxBrush="{ThemeResource SystemControlForegroundBaseMediumHighBrush}"
DragForeground="{ThemeResource ListViewItemDragForegroundThemeBrush}"
DragOpacity="{ThemeResource ListViewItemDragThemeOpacity}"
DragBackground="{ThemeResource ListViewItemDragBackgroundThemeBrush}"
DisabledOpacity="{ThemeResource ListViewItemDisabledThemeOpacity}"
FocusBorderBrush="{ThemeResource SystemControlForegroundAltHighBrush}"
FocusSecondaryBorderBrush="{ThemeResource SystemControlForegroundBaseHighBrush}"
HorizontalContentAlignment="{TemplateBinding HorizontalContentAlignment}"
PointerOverForeground="{ThemeResource SystemControlHighlightAltBaseHighBrush}"
PressedBackground="{ThemeResource SystemControlHighlightListMediumBrush}"
PlaceholderBackground="{ThemeResource ListViewItemPlaceholderBackgroundThemeBrush}"
PointerOverBackground="{ThemeResource SystemControlHighlightListLowBrush}"
ReorderHintOffset="{ThemeResource ListViewItemReorderHintThemeOffset}"
SelectedPressedBackground="{ThemeResource SystemControlHighlightListAccentHighBrush}"
SelectionCheckMarkVisualEnabled="True"
SelectedForeground="{ThemeResource SystemControlHighlightAltBaseHighBrush}"
SelectedPointerOverBackground="{ThemeResource SystemControlHighlightListAccentMediumBrush}"
SelectedBackground="{ThemeResource SystemControlHighlightListAccentLowBrush}"
VerticalContentAlignment="{TemplateBinding VerticalContentAlignment}" />
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
<Style x:Key="FormsCarouselViewItem" TargetType="FlipViewItem">
<Setter Property="FontFamily" Value="{ThemeResource ContentControlThemeFontFamily}" />
<Setter Property="FontSize" Value="{ThemeResource ControlContentThemeFontSize}" />
<Setter Property="Background" Value="Transparent" />
<Setter Property="Foreground" Value="{ThemeResource SystemControlForegroundBaseHighBrush}" />
<Setter Property="TabNavigation" Value="Local" />
<Setter Property="IsHoldingEnabled" Value="True" />
<Setter Property="Padding" Value="0" />
<Setter Property="HorizontalContentAlignment" Value="Stretch" />
<Setter Property="VerticalContentAlignment" Value="Center" />
<Setter Property="MinWidth" Value="{ThemeResource ListViewItemMinWidth}" />
<Setter Property="MinHeight" Value="0" />
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="ListViewItem">
<ListViewItemPresenter
CheckBrush="{ThemeResource SystemControlForegroundBaseMediumHighBrush}"
ContentMargin="{TemplateBinding Padding}"
CheckMode="Inline"
ContentTransitions="{TemplateBinding ContentTransitions}"
CheckBoxBrush="{ThemeResource SystemControlForegroundBaseMediumHighBrush}"
DragForeground="{ThemeResource ListViewItemDragForegroundThemeBrush}"
DragOpacity="{ThemeResource ListViewItemDragThemeOpacity}"
DragBackground="{ThemeResource ListViewItemDragBackgroundThemeBrush}"
DisabledOpacity="{ThemeResource ListViewItemDisabledThemeOpacity}"
FocusBorderBrush="{ThemeResource SystemControlForegroundAltHighBrush}"
FocusSecondaryBorderBrush="{ThemeResource SystemControlForegroundBaseHighBrush}"
HorizontalContentAlignment="{TemplateBinding HorizontalContentAlignment}"
PointerOverForeground="{ThemeResource SystemControlHighlightAltBaseHighBrush}"
PressedBackground="{ThemeResource SystemControlHighlightListMediumBrush}"
PlaceholderBackground="{ThemeResource ListViewItemPlaceholderBackgroundThemeBrush}"
PointerOverBackground="{ThemeResource SystemControlHighlightListLowBrush}"
ReorderHintOffset="{ThemeResource ListViewItemReorderHintThemeOffset}"
SelectedPressedBackground="{ThemeResource SystemControlHighlightListAccentHighBrush}"
SelectionCheckMarkVisualEnabled="True"
SelectedForeground="{ThemeResource SystemControlHighlightAltBaseHighBrush}"
SelectedPointerOverBackground="{ThemeResource SystemControlHighlightListAccentMediumBrush}"
SelectedBackground="{ThemeResource SystemControlHighlightListAccentLowBrush}"
VerticalContentAlignment="{TemplateBinding VerticalContentAlignment}" />
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
<DataTemplate x:Key="TextCell">
<StackPanel AutomationProperties.AutomationId="{Binding AutomationId}">
2016-03-22 23:02:25 +03:00
<TextBlock
Text="{Binding Text}"
Style="{ThemeResource BaseTextBlockStyle}"
Visibility="{Binding Text,RelativeSource={RelativeSource Self}, Converter={StaticResource CollapseWhenEmpty}}"
Foreground="{Binding TextColor, Converter={StaticResource ColorConverter}, ConverterParameter=DefaultTextForegroundThemeBrush}" />
<TextBlock
Text="{Binding Detail}"
Style="{ThemeResource BodyTextBlockStyle}"
Visibility="{Binding Text,RelativeSource={RelativeSource Self}, Converter={StaticResource CollapseWhenEmpty}}"
Foreground="{Binding DetailColor, Converter={StaticResource ColorConverter}, ConverterParameter=DefaultTextForegroundThemeBrush}"
x:Name="detail"/>
</StackPanel>
</DataTemplate>
<DataTemplate x:Key="ListViewHeaderTextCell">
<StackPanel>
<TextBlock
Text="{Binding Text}"
Style="{ThemeResource SubheaderTextBlockStyle}"
Visibility="{Binding Text,RelativeSource={RelativeSource Self}, Converter={StaticResource CollapseWhenEmpty}}"
Foreground="{Binding TextColor, Converter={StaticResource ColorConverter}, ConverterParameter=DefaultTextForegroundThemeBrush}" />
<TextBlock
Text="{Binding Detail}"
Style="{ThemeResource BodyTextBlockStyle}"
Visibility="{Binding Text,RelativeSource={RelativeSource Self}, Converter={StaticResource CollapseWhenEmpty}}"
Foreground="{Binding DetailColor, Converter={StaticResource ColorConverter}, ConverterParameter=DefaultTextForegroundThemeBrush}"
x:Name="detail" />
</StackPanel>
</DataTemplate>
<DataTemplate x:Key="ImageCell">
<Grid AutomationProperties.AutomationId="{Binding AutomationId}">
2016-03-22 23:02:25 +03:00
<Grid.ColumnDefinitions>
<ColumnDefinition Width="Auto" />
<ColumnDefinition />
</Grid.ColumnDefinitions>
<Grid.RowDefinitions>
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
</Grid.RowDefinitions>
<Image Grid.Column="0" Grid.RowSpan="2"
DataContext="{Binding ImageSource, Converter={StaticResource ImageConverter}}"
Source="{Binding Value}"
VerticalAlignment="Center" />
<TextBlock Grid.Column="1" Grid.Row="0"
Text="{Binding Text}"
Style="{ThemeResource BaseTextBlockStyle}"
Visibility="{Binding Text,RelativeSource={RelativeSource Self}, Converter={StaticResource CollapseWhenEmpty}}"
Foreground="{Binding TextColor, Converter={StaticResource ColorConverter}, ConverterParameter=DefaultTextForegroundThemeBrush}" />
<TextBlock Grid.Column="1" Grid.Row="1"
Text="{Binding Detail}"
Style="{ThemeResource BodyTextBlockStyle}"
Visibility="{Binding Text,RelativeSource={RelativeSource Self}, Converter={StaticResource CollapseWhenEmpty}}"
Foreground="{Binding DetailColor, Converter={StaticResource ColorConverter}, ConverterParameter=DefaultTextForegroundThemeBrush}"
x:Name="detail" />
</Grid>
</DataTemplate>
<DataTemplate x:Key="SwitchCell">
<Grid HorizontalAlignment="Stretch" x:Name="ParentGrid" AutomationProperties.AutomationId="{Binding AutomationId}">
2016-03-22 23:02:25 +03:00
<Grid.ColumnDefinitions>
<ColumnDefinition Width="*" />
<ColumnDefinition Width="Auto" />
</Grid.ColumnDefinitions>
<TextBlock Grid.Column="0" Text="{Binding Text}" VerticalAlignment="Center" Style="{ThemeResource BaseTextBlockStyle}" />
<ToggleSwitch Grid.Column="1" IsOn="{Binding On, Mode=TwoWay}" OnContent="" OffContent="" VerticalAlignment="Center" FlowDirection="{Binding FlowDirection, ElementName=ParentGrid }" IsEnabled="{Binding IsEnabled}" />
2016-03-22 23:02:25 +03:00
</Grid>
</DataTemplate>
<DataTemplate x:Key="EntryCell">
<uwp:EntryCellTextBox AutomationProperties.AutomationId="{Binding AutomationId}" IsEnabled="{Binding IsEnabled}" Header="{Binding}" Text="{Binding Text, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" TextAlignment="{Binding HorizontalTextAlignment,Converter={StaticResource HorizontalTextAlignmentConverter}}" PlaceholderText="{Binding Placeholder}" InputScope="{Binding Keyboard,Converter={StaticResource KeyboardConverter}}" HorizontalAlignment="Stretch">
2016-03-22 23:02:25 +03:00
<uwp:EntryCellTextBox.HeaderTemplate>
<DataTemplate>
<TextBlock Text="{Binding Label}" IsHitTestVisible="False" Style="{ThemeResource BaseTextBlockStyle}" Foreground="{Binding LabelColor, Converter={StaticResource ColorConverter}, ConverterParameter=DefaultTextForegroundThemeBrush}" />
2016-03-22 23:02:25 +03:00
</DataTemplate>
</uwp:EntryCellTextBox.HeaderTemplate>
</uwp:EntryCellTextBox>
</DataTemplate>
<Style TargetType="uwp:StepperControl">
<Setter Property="Template">
<Setter.Value>
<ControlTemplate>
<Grid HorizontalAlignment="Left">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="*" />
<ColumnDefinition Width="*" />
</Grid.ColumnDefinitions>
<Button Name="Minus" Grid.Column="0" Content="-" />
<Button Name="Plus" Grid.Column="1" Content="+" />
</Grid>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
<Style TargetType="TextBox">
<Setter Property="Margin" Value="0" />
</Style>
<Style TargetType="ToggleSwitch">
<Setter Property="MinWidth" Value="0"/>
</Style>
<!-- override the xamarin forms uwp button style -->
<Style TargetType="uwp:FormsButton">
<Setter Property="Background" Value="{ThemeResource ButtonBackground}" />
<Setter Property="Foreground" Value="{ThemeResource ButtonForeground}" />
<Setter Property="BorderBrush" Value="{ThemeResource ButtonBorderBrush}" />
<Setter Property="BorderThickness" Value="{ThemeResource ButtonBorderThemeThickness}" />
<Setter Property="Padding" Value="{StaticResource ButtonPadding}" />
<Setter Property="HorizontalAlignment" Value="Left" />
<Setter Property="VerticalAlignment" Value="Center" />
<Setter Property="FontFamily" Value="{ThemeResource ContentControlThemeFontFamily}" />
<Setter Property="FontWeight" Value="Normal" />
<Setter Property="FontSize" Value="{ThemeResource ControlContentThemeFontSize}" />
<Setter Property="UseSystemFocusVisuals" Value="{StaticResource UseSystemFocusVisuals}" />
<Setter Property="FocusVisualMargin" Value="-3" />
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="Button">
<ContentPresenter x:Name="ContentPresenter"
Padding="{TemplateBinding Padding}"
HorizontalContentAlignment="{TemplateBinding HorizontalContentAlignment}"
VerticalContentAlignment="{TemplateBinding VerticalContentAlignment}"
AutomationProperties.AccessibilityView="Raw"
Background="{TemplateBinding Background}"
BorderBrush="{TemplateBinding BorderBrush}"
BorderThickness="{TemplateBinding BorderThickness}"
Content="{TemplateBinding Content}"
ContentTemplate="{TemplateBinding ContentTemplate}"
ContentTransitions="{TemplateBinding ContentTransitions}"
CornerRadius="{TemplateBinding CornerRadius}">
<VisualStateManager.VisualStateGroups>
<VisualStateGroup x:Name="CommonStates">
<VisualState x:Name="Normal">
<Storyboard>
<PointerUpThemeAnimation Storyboard.TargetName="ContentPresenter" />
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="ContentPresenter" Storyboard.TargetProperty="Opacity">
<DiscreteObjectKeyFrame KeyTime="0" Value="1" />
</ObjectAnimationUsingKeyFrames>
</Storyboard>
</VisualState>
<VisualState x:Name="PointerOver">
<Storyboard>
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="ContentPresenter" Storyboard.TargetProperty="Background">
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource ButtonBackgroundPointerOver}" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="ContentPresenter" Storyboard.TargetProperty="BorderBrush">
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource ButtonBorderBrushPointerOver}" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="ContentPresenter" Storyboard.TargetProperty="Foreground">
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource ButtonForegroundPointerOver}" />
</ObjectAnimationUsingKeyFrames>
<PointerUpThemeAnimation Storyboard.TargetName="ContentPresenter" />
</Storyboard>
</VisualState>
<VisualState x:Name="Pressed">
<Storyboard>
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="ContentPresenter" Storyboard.TargetProperty="Background">
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource ButtonBackgroundPressed}" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="ContentPresenter" Storyboard.TargetProperty="BorderBrush">
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource ButtonBorderBrushPressed}" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="ContentPresenter" Storyboard.TargetProperty="Foreground">
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource ButtonForegroundPressed}" />
</ObjectAnimationUsingKeyFrames>
<PointerDownThemeAnimation Storyboard.TargetName="ContentPresenter" />
</Storyboard>
</VisualState>
<VisualState x:Name="Disabled">
<Storyboard>
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="ContentPresenter" Storyboard.TargetProperty="Opacity">
<DiscreteObjectKeyFrame KeyTime="0" Value="0.65" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="ContentPresenter" Storyboard.TargetProperty="BorderBrush">
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource ButtonBorderBrushDisabled}" />
</ObjectAnimationUsingKeyFrames>
</Storyboard>
</VisualState>
</VisualStateGroup>
</VisualStateManager.VisualStateGroups>
</ContentPresenter>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
</ResourceDictionary>