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

253 Коммитов

Автор SHA1 Сообщение Дата
Stephane Delcroix ae18666599 Merge branch '15-5' 2018-01-31 10:27:51 +01:00
Samantha Houts bd5db90850 [Core] Add IsSet to BindableObject (#1741)
* [Core] Add IsDefault and IsSet to BindableObject

* Add tests for IsSet and IsDefault

* Update docs

* Remove redundant null arg check

* Remove IsDefault

* [docs] removing `IsDefault` from docs

 - fixes #1652
2018-01-31 10:20:20 +01:00
Frank A. Krueger e07e446a27 Use GetHandlerForObject instead of GetHandler (#1713)
* Use GetHandlerForObject instead of GetHandler

This allows IReflectableTypes to be used.

* Update Registrar docs

- fixes #1712
2018-01-30 09:06:35 +01:00
Samantha Houts 50698fb46d Revert "Update docs"
This reverts commit af7afe6a96.
2018-01-29 19:28:04 -08:00
Samantha Houts af7afe6a96 Update docs 2018-01-29 19:26:27 -08:00
Stephane Delcroix 38f244aa49
[Xaml] let the previewer know the asm (#1594)
* [Xaml] let the previewer know the asm

in addition to the resourcePath, tell the previewer the assembly in
which we're looking for the resource.

* fix docs
2018-01-17 15:19:18 +01:00
E.Z. Hart 28948d7ef7 VisualStateManager phase 1 (#1405)
* Port from old VSM branch

* Add PS and notes

* Checkpoint: entry text UWP mostly working, need to check on background colors

* Remove irrelevant samples from the EntryDisabledStatesGallery
Make Background color work on UWP Entry with VSM

* Add platform specific for disabling legacy colors on Android

* Add OnPlatform example to visual state manager gallery

* Add example OnIdiom in Visual State Manager

* Add platform specific for disabling legacy color mode on iOS Entry

* Add gallery for Button disabled states
Handling legacy colors for Buttons on Android

* Split out disabled states galleries; disabled legacy handling for Picker

* TimePicker disabled states

* DatePicker color management on Android

* Color management for pre-AppCompat button

* Button legacy color handling on iOS

* Consolidate Platform Specifics;
legacy colors working for iOS Picker and DatePicker

* Fix broken search bar color management
SearchBar color management working with VSM
Add test page for SearchBar disabled color management
Consolidate legacy color management check code into extension method on Android

* Legacy color management for Editor on Android

* Fix legacy color stuff for SearchBar Cancel button on iOS

* C# 7 cleanup

* Add colors for Cancel Button

* Make sure VisualStateGroup collections set by styles are distinct objects

* Validation example

* Make common state names consts

* Make the Windows VSM and Forms VSM work together

* Update galleries for Windows

* Make new methods internal

* Split gallery classes and add more explanation to validation example

* Remove debugging statements

* Add a quick code-only example

* Make legacy color management work for fast button renderer

* Remove old TODO

* Update docs

* Move RunTimeNamePropertyAttribute to Xamarin.Forms.Xaml namespace

* Verify XF namespace when looking for VisualState

* Use nameof

* Make common states constants public

* Cast VisualElement directly so it crashes if the property is set on the wrong type

* Collection -> IList for VisualStateManager

* Setting fromStyle to true

* Remove extraneous `private set`

* Seal VSM classes

* Use constraints instead of ==

* Add teardown method; use constraints rather than ==

* Remove null checking with GetVisualStateGroups

* Don't explicitly initialize collections on elements

* Actually, turns out that fromStyle:false *was* correct

* Direct casts

* Use GetIsDefault check in GoToState

* Validate parents in FindTypeForVisualState

* Validate group and state names on Add

* Fixed check for setter collection

* Fix issues with "duplicate" names when VisualStateGroups declared directly on VisualElements

* Add gallery example for VSGs directly on VisualElements

* Update docs

* Fix bug where initial TextColor isn't set for FastRenderer Button

* Move to explicit VisualStateGroupList in Setter

* Fix return types for unit tests

* Using string.CompareOrdinal in GetState

* Update docs

* Add check for null/empty VisualState Name properties
2018-01-05 09:11:51 +00:00
Rui Marinho 6668ff6458
[iOS] Update inner stack correctly when popped fast (#1029)
* [iOS] Update the NavigationPage inner stack when UIViewController is removed

* [iOS] Remove debug info

* Update submodule
2018-01-02 11:37:05 +00:00
Rui Marinho 47da2f8bf5
Bump submodule and update docs (#1452)
* Bump submodule

* Bump

* Fix spelling

* bump

* Fix missing docs

* [Android]Move to v8 tools
2017-12-21 19:10:25 +00:00
Stephane Delcroix 5ea86a266b
Stylesheets (#1207)
* [*] Support for CSS StyleSheets

 Parsing, loading, and applying of StyleSheets

 see https://github.com/xamarin/Xamarin.Forms/pull/1207#issue-266464280
 for complete description.

* use initial, not none

* fix tests
2017-12-20 10:47:50 +01:00
Jason Smith 9fce4e073f Merge branch '15-5' 2017-12-13 09:56:39 -08:00
Stephane Delcroix 1328eca7be [Xaml] open the api for loading xaml from string (#1394)
* [Xaml] open the api for loading xaml from string

* [docs] fix docs

* [docs] fix docs
2017-12-13 09:54:55 -08:00
Paul DiPietro abe2f3d1f5 [All] Implement IFontElement on Picker, DatePicker, and TimePicker (#662)
* [C] Implement IFontElement on Picker/TimePicker/DatePicker

* Add InvalidateMeasure calls

* Add behavior to macOS renderers
2017-12-12 14:02:21 +00:00
adrianknight89 e65b48b719 [Android] Unspecified can be the default window soft input mode (#1339)
* soft input mode can be unspecified

* Add docs
2017-12-11 23:45:18 +00:00
Stephane Delcroix 1e98a0ace7
[C] Adding deconstructors for common structs (#1320)
* [C] Adding deconstructors for common structs

* [docs] update docs
2017-12-11 22:40:46 +01:00
Mohamed CHOUCHANE 1bbd9dfa52 [WPF] Xamarin Forms WPF Backend - Platform Project (#1334)
* Add WPF Platform, WPF const in Device and Update Docs

* Add Settings.Designer.cs

* Remove two lines : build on iPhone configuration

* Remove lines for ios build
2017-12-06 21:15:13 +00:00
Rui Marinho dfc410ba44 [Docs] Fix docs 2017-12-04 14:55:29 +00:00
Kangho be52bc6b12 Add Tizen backend (#1310) 2017-12-04 14:30:43 +00:00
Rui Marinho b74d545fc1
[All] Move to netstandard2.0 **Breaking change** (#1306)
* Move to netstandard 2.0

* Fix docs

* Small fixes
2017-11-29 17:37:06 +00:00
kingces95 9ebd062f84 Fix 59896; Add empty listView group twice (#1275) 2017-11-28 12:29:30 +00:00
Rui Marinho 5a60f17e47
[Win] Remove Windows 8.1 platforms **Breaking change** (#1267)
* [Platforms]Remove WP8.0 and WinRT

* Update submodule

* [UWP] Fix maps UWP

* [UWP] Remove more stuff from old windows platforms

* [Docs] Update docs
2017-11-27 15:14:01 +00:00
kingces95 f7e554e4d7 Fix 59896; Add empty listView group twice (#1275) 2017-11-24 12:46:51 +00:00
Stephane Delcroix 6a88e378f8
Auto merged ResourceDictionaries (#1297)
* [Xaml[C]] add merged resource dictionaries implicitly

* [docs] update docs
2017-11-22 14:56:20 +01:00
Stephane Delcroix 4c8f901e23
Lazy creation of ResourceDictionaries (#1295)
* [C,Xaml] allow implicit ResourceDictionaries

* [XamlC] implicit ResourceDictionaries

* [C] lazy Resources creation

* fix stupid docs

* [C] no need to trigger events on initial get
2017-11-22 12:59:55 +01:00
Stephane Delcroix 016bd546cb
[Xaml] decorate TypeConverter for additional check (#909) 2017-11-16 20:15:43 +01:00
Stephane Delcroix 836327b94c
[Xaml[C]] route loading of RD through ResourceLoader (#1271)
* [Xaml[C]] route loading of RD through ResourceLoader

* [docs] fix docs
2017-11-14 15:26:05 +01:00
Stephane Delcroix 4ad4ff7793
Allow specifying AutomationProperties.LabeledBy by name (#914)
* [Xaml] convert strings to x:Refs

* [docs] fix docs
2017-11-13 10:33:57 +01:00
Rui Marinho 130457123d Merge branch 'gtk-merge' 2017-11-10 15:30:04 +00:00
Samantha Houts d3d59ee4f0 [All] Basic Right-To-Left Support (#1222)
* Restart RTL work

* Remove IsInherited flag as it never got used

* [Core] Unit tests

* [Core] FlowDirection

* Add FlowDirectionGallery

* Android gallery supports RTL

Need to set minSdkVersion to 17 to test

* iOS gallery supports RTL

* UWP gallery supports RTL

* [Android] Implement FlowDirection

* [iOS] Implement FlowDirection

* [macOS] Implement FlowDirection

* [UWP] Implement FlowDirection

* Update docs

* [Core] Simplify EffectiveFlowDirection enum & expose helper extensions

Also, TEST TEST TEST

* Update docs
2017-11-09 14:31:15 +00:00
Rui Marinho c93585c6e3 Merge branch '2.4.0' into 15-5 2017-11-08 20:16:02 +00:00
Jason Smith 891034b166 Really fix docs? 2017-11-08 11:49:05 -08:00
Jason Smith 627d3a2cea Fix docs 2017-11-08 11:33:40 -08:00
kingces95 9284aa1039 Allocate prototypical view for RetainElement (#1226) 2017-11-03 12:18:07 -07:00
kingces95 54cddbc614 Allocate prototypical view for RetainElement (#1226) 2017-11-03 19:16:17 +00:00
Stephane Delcroix 43143bd10f
[Xaml[C]] ResourceDictionary.Source (#1229)
* [Xaml[C]] ResourceDictionary.Source

* [Xaml[C]] update to the new XamlResourceIdAttribute

* [Xaml[C]] load RD with codebehind even when referenced through Source

* [Xaml] make sure we do not generate file:// uri

* fix typo
2017-11-03 10:22:07 +01:00
Rui Marinho 26491b3e49 Merge branch '2.4.0' into 15-5 2017-11-02 22:47:12 +00:00
Rui Marinho 958373ac61 [Core] Hide SetSafeAreaInsets (#1249) 2017-11-02 22:41:28 +00:00
Rui Marinho c341958fb3
[Core] Hide SetSafeAreaInsets (#1249) 2017-11-02 22:23:53 +00:00
Rui Marinho 042699447a [iOS] Fixes for iOS11 (#1238)
* [iOS] Add SafeArea support

* [iOS] Only apply SafeArea on iOS11 or newer

* [iOS] Handle SafeAreaInsets on ViewCell and GroupCell

* [iOS] Set page padding from safe area

* [Controls] Use SafeArea PS

* [iOS] Add platform specific for LargeTiles

* [iOS] Add LargeTitleDisplayMode platform specific for ios11

* [iOS] Fix page size when large title collapses

* [iOS] Add platform specific to expose SafeAreaInsets from iOS11

* [Controls] Large titles iOS specific gallery page

* [iOS] Remove comment code on PS example

* [Controls] Add gallery sample for Safe Area PS

* [iOS] Inside a TabbedPage safe area bottom is handle by UITabViewController

* [Core,iOS]If we are not using safearea set the padding to the default

* [iOS] Revert SafeAreas on navpage

* [iOS] Fix safe area inset for ViewCell

* [iOS] Handle ViewCell margin correctly on iOS11

* [Core,iOS] Rename to UsingSafeArea, use BPKey instead for SafeAreaInsets

* [Core,iOS] Rename to UsingLargeTitles

* [iOS,Core] Rename to PrefersLargeTitles
2017-11-02 11:07:49 -07:00
Rui Marinho 4d49e5786a [iOS] Fixes for iOS11 (#1238)
* [iOS] Add SafeArea support

* [iOS] Only apply SafeArea on iOS11 or newer

* [iOS] Handle SafeAreaInsets on ViewCell and GroupCell

* [iOS] Set page padding from safe area

* [Controls] Use SafeArea PS

* [iOS] Add platform specific for LargeTiles

* [iOS] Add LargeTitleDisplayMode platform specific for ios11

* [iOS] Fix page size when large title collapses

* [iOS] Add platform specific to expose SafeAreaInsets from iOS11

* [Controls] Large titles iOS specific gallery page

* [iOS] Remove comment code on PS example

* [Controls] Add gallery sample for Safe Area PS

* [iOS] Inside a TabbedPage safe area bottom is handle by UITabViewController

* [Core,iOS]If we are not using safearea set the padding to the default

* [iOS] Revert SafeAreas on navpage

* [iOS] Fix safe area inset for ViewCell

* [iOS] Handle ViewCell margin correctly on iOS11

* [Core,iOS] Rename to UsingSafeArea, use BPKey instead for SafeAreaInsets

* [Core,iOS] Rename to UsingLargeTitles

* [iOS,Core] Rename to PrefersLargeTitles
2017-11-02 11:04:55 -07:00
Adam Patridge 9f60354247 [docs] BindingMode typo fix. (#1245) 2017-11-01 00:35:36 +00:00
Stephane Delcroix e84fe4d649 [Xaml] create the [XamlResourceId] at assembly level (#1232)
* [Xaml] create the [XamlResourceId] at assembly level

* fix docs

* fix utility project
2017-10-27 11:43:05 +02:00
Samantha Houts a327f471a1 [UWP] Fix ListView selection issues **Behavior change** (#1157)
* Update 44886 repro

* Add 59718 repro

* [UWP] Don't fire a click when SelectedItem changes programmatically

* Update repro for 59718

* [Core] Add Win ListView Selection mode specific

* [Win] Use ListView SelectionMode specific

* Fix test case

* [Win] ListView sets value once when clicked

* Update docs

* Fix specific methods

* Update docs again
2017-10-25 12:16:50 -07:00
Stephane Delcroix 376cc6bd48
Revert "[Xaml[C]] ResourceDictionary.Source"
This reverts commit 5343efb518.
2017-10-23 11:23:28 +02:00
Stephane Delcroix 5343efb518
[Xaml[C]] ResourceDictionary.Source 2017-10-23 11:04:48 +02:00
Stephane Delcroix de255a8b9e [XamlC] XamlResourceIdAttribute (#1167) 2017-10-23 10:56:23 +02:00
Samantha Houts 2903810599 [UWP] Fix ListView selection issues **Behavior change** (#1157)
* Update 44886 repro

* Add 59718 repro

* [UWP] Don't fire a click when SelectedItem changes programmatically

* Update repro for 59718

* [Core] Add Win ListView Selection mode specific

* [Win] Use ListView SelectionMode specific

* Fix test case

* [Win] ListView sets value once when clicked

* Update docs

* Fix specific methods

* Update docs again
2017-10-19 23:17:31 +01:00
Stephane Delcroix f32a6750cf
[*] Expose the Flags to the Core (#1181)
* [*] Expose the Flags to the Core

* docs

* [C] Hide Device.Flags
2017-10-19 11:51:34 +02:00
Stephane Delcroix 72fd2eef5f
[*] Expose the Flags to the Core (#1181)
* [*] Expose the Flags to the Core

* docs

* [C] Hide Device.Flags
2017-10-18 17:16:12 +02:00
Stephane Delcroix 2d5d5669f4 [*] Expose the Flags to the Core (#1181)
* [*] Expose the Flags to the Core

* docs

* [C] Hide Device.Flags
2017-10-11 16:47:50 +02:00
E.Z. Hart 3aaed1b325 [All] Page embedding (#1124)
* Fix broken SetTextAppearance call when targeting below API 23

* Enable embedding XF apps in Android

* VS didn't save the project file

* Allow retrieving rendered XF VisualElements for use in UWP apps

* Prevent XF from slaughtering the menu bar in embedded scenarios

* ?

* Post-rebase fixups

* Create embedding test project for Android

* Create iOS test bed project

* Attempting to get functional embedded project

* Android and iOS functional testbed projects

* Basic embedding app on UWP

* First pass at handling navigation to Forms page from UWP

* Fleshed out example, added parameter checks, sealed wrapper class

* Create test page and load it from UWP

* Make DisplayAlert/DisplayActionSheet independent of Platform instance on UWP

* Set up test page for alerts/actionsheets on Android

* Move DisplayAlert/ActionSheet code to a helper class so embedded Forms can use it

* VS didn't save my changes

* Add test page for alerts and action sheets

* Get FrameworkElement from renderer

* Page -> ContentPage

* Can now display the webview embedded page

* Example working on iOS

* Repro of crash

* Remove the IStartActivityForResult dependency from FormsWebChromeClient

* Created repro

* Remove need for Forms.Context to create renderers

* Remove Forms.Context dependencies in ScrollViewRenderer

* Remove Forms.Context dependencies in FrameRenderer

* Remove Forms.Context dependencies

* Remove Context/Forms.Context dependencies in Drawable subclasses

* Remove some more Forms.Context dependencies

* CellAdapter no longer dependent on Forms.Context

* Obsolete ToAndroid using Forms.Context

* Remove Forms.Context dependencies in ResourceManager

* Remove need for Forms.Context for SupportsProgress

* Remove Forms.Context dependency for setting titlebar visibility

* Remove Forms.Context dependencies in GetAccentColor

* Some comments about caching

* Remove Forms.Context dependencies for AndroidPlatformServices and ResourceProvider

* Remove Forms.Context dependencies in Maps

* Disabled warnings for Forms.Context in CustomRenderers

* Filter logs so we don't get those annoying "parked" messages

* Filter alerts/actionsheets/activityindicator by context

* Clean up constructor debugging messages

* Remove old TODOs

* Set up test page for Device.Openuri

* Make AndroidDeviceInfo more resilient to multiple activity scenarios

* Use parameter instead of member

* Add missing parameterless constructors for embedded fragment wrappers

* Fix multiple popup subscriptions for embedded context

* Remove UpdateGlobalContext and Page Context attached property

* Obsolete static reference to Context

* Warnings as errors in embedded test bed projects

* Comment cleanup

* Clean up unused code

* Obsolete old constructor for DefaultRenderer

* Make sure embedded fragment wrappers handle disposing the platform

* Revert to old DependencyService registration for ResourceProvider;
use ApplicationContext for ResourceProvider;
Comments for everything happing in Forms.SetupInit

* Remove old TODO

* Make PopupManager take the correct type instead of casting a bunch

* Update docs

* Add missing nuspec entry for FormsEmbeddedPageWrapper

* Post-rebase cleanup

* Update docs

* Disable XF target validation so package restore works

* Restore InputTransparent handling lost in rebase

* Restore parameter lost during rebase

* Finalize the list of subscriptions to avoid 'modified collection' errors

* Avoid double-fetching Context

* Fix "with you package" typo
2017-10-09 10:51:55 -07:00
Marko B. Ludolph 0abfd7e504 [MacOS] Navigation Transition Style (#1168) 2017-10-03 14:46:41 +01:00
dgeller-OUHSC afa0fb7e55 [Core, Android] Fix to address the elusive 'Sharing violation on path PropertyStore.forms.tmp' (#1075)
* use a semaphor for actual saving piece
make reading serialized propertystore readonly to help with collisions.

* change over to async Task and await OnStateChanged() method to try and mitigate what might be the race condition causing the ' Sharing violation on path PropertyStore.forms.tmp' error

* update Semaphore name

* remove private specifier per the style guide

* Update docs and add warning suppression for broken mono warning

* ... and adding the warning suppression to Release mode, as well.

* -add try...finally block so we can guarantee that the semaphore is released if there's an exception while saving the properties.
-remove the legacy code that the semaphore replaces

* Update docs

* Attempting to fix docs

* Trying again to get docs to pass
2017-10-03 11:23:32 +01:00
Rui Marinho 9f24a41c2d [Core,MacOS]Desktop support (#1126)
* [Controls] Improve sample for MacOS control gallery, add a storyboard for the menu

* [Core] Add QuitApp to platform services

* [Core] Add ClickedGestureREcognizer

* [MacOS] Implement ClickGestureRecognizer

* [Core] Add MainMenu

* [MacOS] Implement Main top menu

* [Controls] Add desktop support test page

* [MacOS] Update menu items if they change

* [MacOS] Refactor to make it build for iOS

* [Core] Add Menu attached property to Element

* [MacOS] Implement MacOS context menu

* [Core] Fix type of ADP

* [Core] Add Accelerators to MenuItem

* [ControlGallery] Add example for Accelerator MenuItems

* [Core,iOS] Update ClickedEventArgs to ButtonMask enum  

* [Docs] Update docs

* [Core]Fix build error

* [WP8] Implement QuitApp

* [WP8] Log warning instead of throw

* [Tests]  Add unit tests for menu and menuitem

* [Docs]Update docs

* Update build submodule

* [Core,MacOS,Docs] Use Attached Property for MainMenu

* [Core] Update ButtonsMask, reduce calls to GetValue getting parameter

* [All] Use Accelerator class

* [Core] Add tests for accelerator

* [All] Move QuitApp to QuitApplication

* [Core, Tests] Add more tests for Accelerator

* [Core]Parse win modifier also

* [UnitTests] Fix TestCaseSource

* [MacOS,Core] Fix typo on Modifiers

* [MacOS] Fix typo

* [WinRT] Fix build

* [Docs] Update docs
2017-10-02 18:19:26 +01:00
Frank A. Krueger e8660383b0 [All] Use IReflectableType when accessing the Registrar (#1006)
* [Core] Add GetHandlerForObject and GetHandlerTypeForObject to Registrar

These new methods first try to use IReflectableType in order to support
dynamic objects. If that fails, GetType is used.

* [Platforms] Switch to query the Registrar using GetHandlerForObject

This enables dynamic objects to be used as renderers and other
points of extensibility.

* Take into account dynamic type info when comparing cell renderers

* Fix null renderer object type

* Update Registrar`1.xml

* Update Registrar`1.xml
2017-09-28 16:35:28 +02:00
E.Z. Hart 210df5f775 [Android] Add platform specific for Elevation (#1158)
* Simple Elevation implementation for BoxView

* More generic version

* Simplify the code a bit

* Add IElementConfiguration<T> to the descendants of Layout<View>

* Add Elevation support to everything on Android; update UI tests;

* Update docs
2017-09-26 11:14:41 +01:00
Adam Pedley 2b7913adda Merged Dictionaries 2017-09-22 13:27:47 +02:00
kingces95 f7d8cff6ae Add iOS prototypical cell cache for LV RowHeight calcs (#1143) 2017-09-16 15:13:02 +01:00
kingces95 d4480b2e48 Add iOS prototypical cell cache for LV RowHeight calcs (#1143) 2017-09-16 15:10:04 +01:00
Stephane Delcroix 8ee62e827e [C, iOS, Android] LayoutCompression (#1136)
* [C, iOS, Android] LayoutCompression

* fix docs

* minor fixups
2017-09-13 11:18:59 +02:00
Rui Marinho 2013ec0179
Revert "fix docs"
This reverts commit 677f9381e7.
2017-09-12 16:04:40 +01:00
Stephane Delcroix 677f9381e7
fix docs 2017-09-12 11:13:18 +02:00
E.Z. Hart da962fc371 Update docs 2017-07-25 17:08:10 -04:00
Mike Norman b12f0b3bb7 Improved the API doc for Image.IsOpaque (#1025)
* Improved the API doc for Image.IsOpaque

* update docs
2017-07-24 16:31:47 -04:00
Kangho 171fa0faec Remove InternalsVisibleTo from Maps (#1019) 2017-07-24 16:23:14 -04:00
Mike Norman 2b333daafd Docs param push 2 (#1018)
* More parameter descriptions in parameter-complete push.

* More paremeter descriptions.

* Remainder of parameter docs for Xamarin.Forms namespace

* Straggler paramter complete file.

* Marked all internal parameters as internal in docs.

* Parameter summary complete

* Update Docs
2017-06-27 08:12:32 -05:00
Mike Norman 4847e4b26a Parameter complete push for docs. (#1009)
* Parameter complete push for docs.

* update docs
2017-06-23 13:12:45 -05:00
Stephane Delcroix f6bdb76b0a [iOS] decoupling UpdateText() on LabelRenderer (#950)
* [iOS] decoupling UpdateText() on LabelRenderer

* [iOS] do not update font and color on formattedstrings
2017-06-22 10:49:41 +01:00
Mike Norman c0a55911ac Parameter complete drive and change to Trigger.xml (#992)
* Parameter complete drive and change to Trigger.xml

* update docs
2017-06-16 14:14:27 -05:00
Mike Norman 347ec70afc Fixed some broken links, added/updated examples in trigger-related docs (#989)
* Fixed some broken links and added/updated examples in trigger-related docs

* Update docs
2017-06-14 10:54:23 -05:00
Mike Norman c94331368f Updated some more code examples related to triggers and conditions. (#986)
* Updated some more code examples related to triggers and conditions.

* Touchup docs
2017-06-13 10:51:44 -05:00
Mike Norman 0d3611ccce Bashing doc bugs. (#966)
* Bashing doc bugs.

* Typo fix "developers" => "developers"

* update docs
2017-06-06 11:05:24 -05:00
Mike Norman f9c1989d01 Updated example code in API docs for first few types in core. (#955)
* Updated example code in API docs for first few types in core, alphabetically.
2017-06-01 12:21:50 -05:00
Mike Norman e46b30b7f9 Added missing/corrected malformed remarks sections in Aspect.xml (#954)
* Added missing/corrected malformed remarks sections in Aspect.xml
2017-06-01 09:46:28 -05:00
E.Z. Hart b3f6d80a1b Remove VisualElement finalizer (#918)
* [Controls] Add repo for bugzilla 55365

* Remove finalizer from VisualElement

* Remove unused using directive

* Removing test for 44074

* Update docs
2017-05-16 10:27:41 -07:00
Samantha Houts 4e83b8ee0f [All] Rename Accessibility -> AutomationProperties (#912)
* [All] Renamed Accessibility -> AutomationProperties

* Update docs

* Restore doc summaries

* Revert unintended csproj changes
2017-05-10 18:20:57 +01:00
Samantha Houts c1fbfae03c [Core] Accessibility works with XamlC (#911)
* Add unit tests for a11y XAML parsing

* [Core] Add Get/Set methods for XamlC

* Update docs

* Fix rogue blank line
2017-05-10 08:50:20 +02:00
Mike Norman d6adff2e41 Docs mop up (#908)
* Marked as internal those types that have EditorBrowsableState.Never

* Small Device and FileImageSource doc changes & marked I*Controller topics internal

* Mopped up few remaining missing summaries.

* Run mdoc after build
2017-05-09 10:51:19 -05:00
Chris King ba06e2b20d TargetIdiom docs touchup 2017-05-08 09:50:28 +02:00
Mike Norman fdf4f28825 Marked a bunch of API docs internal based on EditorBrowsableState (#900) 2017-05-04 11:03:39 +01:00
Stephane Delcroix 8af6f3eb5c [Xaml] move ValueConverterProvider to Core (#890)
* [Xaml] move ValueConverterProvider to Core

* [docs] fix docs
2017-04-28 12:11:38 -07:00
E.Z. Hart cdc4055128 Better error handling for image loading errors on iOS/Android (#849)
* First run at removing async void image update methods

Consistent error logging and IsLoading on Android,iOS,UWP

Move error logging into image handlers for better messages

Add demo of custom ImageRenderer error handling

Update docs

Make the test smaller so the results don't get pushed offscreen

Fix namespace error

* Update error handling for fast image renderer

* Update 37625 test to use image we control

* Add java disposed check to avoid ObjectDisposedException in async operations

* Add disposed checks to legacy renderer; null check element before SetIsLoading

* Check disposed on GetDesiredSize for fast renderer
Use local disposed member where possible for disposed check

* Check for disposal after async handlers in iOS

* Add disposal checks after async methods in Windows

* Reset linker settings on project; reduce redundant casts in ImageViewExtensions
2017-04-25 19:16:25 +01:00
Stephane Delcroix 9b49e3f1c1 [Xaml] OnPlatform.Default value (#873)
* [Xaml] OnPlatform.Default value

* docs
2017-04-25 11:06:29 -07:00
jcmanke dfda41b0bd Map renderer extensibility (#844)
* Added extensibility features to Maps

Android MapRenderer:
- Moved map initialization to protected virtual method OnMapReady, called by explicit implementation of IOnMapReady
-  Added protected virtual method CreateMarker for customization of pins

iOS MapRenderer:
- Added protected virtual method CreateAnnotation for customization of pins

Pin:
- Unsealed the Pin class
- Made Label a bindable property

* [Docs] Update docs
2017-04-11 23:52:04 +01:00
Mike Norman b832b67875 Marking exposed plumbing internal only in the docs. (#863)
* Marking exposed plumbing internal only in the docs.

* Update docs
2017-04-11 23:51:14 +01:00
kingces95 093a4efa2d Implicit impl of controller ifaces (#807)
* Simplify ICtrl callsites

* Rebase fix
2017-04-11 19:02:06 +01:00
Anders Rasmussen 0e73a2d16c Spell correction of FromattedString (#864) 2017-04-11 10:03:07 +01:00
Samantha Houts 5f2796e160 [Internal] Normalize Obsolete attributes (#860)
* [All] Normalize Obsolete attributes.

Make sure we include the version in which the member was deprecated and
consistent instructions for working around the deprecation, if
applicable.

* Update docs
2017-04-07 09:47:33 +02:00
Mike Norman cbb5b8bc06 Early april doc bugs (#854)
* Fixed: https://github.com/xamarin/documentation/issues/2071

Pulled dated and exuberant examples.

* Fixed: https://github.com/xamarin/documentation/issues/2002

Also added content for Load method in HtmlWebViewSource.xml

* Fixed: https://github.com/xamarin/documentation/issues/1959

* Fixed: https://github.com/xamarin/documentation/issues/1866
2017-04-03 15:31:40 -04:00
Rui Marinho e3d213cbe7 [Docs] Fix docs Scrollview IOS Specific (#843) 2017-03-27 15:52:23 +01:00
adrianknight89 27de335bf1 [iOS] Platform specifics to control ScrollView content touch delay (#563)
* can delay content touches optionally

* revert bug fix

* add back _tapGesture

* remove extra declaration
2017-03-24 12:07:59 -07:00
Mike Norman a41f9d3556 Remaining XAML API summaries. (#813)
* Remaining XAML API summaries.

* update docs
2017-03-16 21:59:29 +00:00
Stephane Delcroix 467c1befa1 Resource loading (#815)
* Resource Loader

* Replace XamlLoader API by ResourceLoader for the Previewer

* instruct generated IL to use the resourceLoader

* [docs] update docs

* oops

* [docs] fix docs
2017-03-16 12:09:22 -07:00
Mike Norman 6c8b45d5b6 Internal-only boilerplate for Xaml.Internals docs. (#817) 2017-03-16 16:19:01 +00:00
kingces95 b9b9d2536f Add [EditorBrowsable(EditorBrowsableState.Never)] to public classes/interfaces in XF.Internals (#806) 2017-03-09 10:38:06 -08:00
Mike Norman 90ece3d38d PlatformConfiguration parameters and summaries. (Docs) (#805)
* PlatformConfiguration parameters and summaries.

* Update index.xml
2017-03-08 19:40:38 +00:00
Rui Marinho 1ad18e33eb [Android] Small performance fixes to ListViewRenderer, PlatformSpecific IsFastScrollEnabled (#797)
* [Android] Enable fast scroll by default

* [Android] Cache count for Listview

* [Android] Add IsFastScrollEnabled AndroidSpecific and sample

* [Android] Use count cache on GetCellsFromPosition

* [Android] Fix default for platform specific IsFastScrollEnabled

* [Docs]Fix docs

* [Android] Don't used cached listCount when getting cell
2017-03-08 11:30:08 +00:00
kingces95 e6d5186c8a Remove InternalsVisibleTo from Core to XF.Platforms.* (#782)
* Remove InternalsVisibleTo from Core to XF.Platforms.*

* Changes per Jason's code review

* Move LockableObservableListWrapper to internals namespace

* Changes per Stephane's code review

* update docs

* Touch code to get CI to run tests

* Rebase; Update documentation
2017-03-07 14:56:24 -05:00
Rui Marinho a03c8f32d2 [Docs] Fix formatting (#795) 2017-03-01 22:37:41 +00:00
Mike Norman badc2e0378 Remaining API docs for XF.Core (#794) 2017-03-01 11:22:43 -06:00