diff --git a/Ooui.Forms/LocalIsolatedStorageFile.cs b/Ooui.Forms/LocalIsolatedStorageFile.cs index 0d8650c..9f49d5c 100644 --- a/Ooui.Forms/LocalIsolatedStorageFile.cs +++ b/Ooui.Forms/LocalIsolatedStorageFile.cs @@ -27,12 +27,12 @@ namespace Ooui.Forms throw new NotSupportedException (); } - public Task OpenFileAsync (string path, Xamarin.Forms.Internals.FileMode mode, Xamarin.Forms.Internals.FileAccess access) + public Task OpenFileAsync (string path, FileMode mode, FileAccess access) { throw new NotSupportedException (); } - public Task OpenFileAsync (string path, Xamarin.Forms.Internals.FileMode mode, Xamarin.Forms.Internals.FileAccess access, Xamarin.Forms.Internals.FileShare share) + public Task OpenFileAsync (string path, FileMode mode, FileAccess access, FileShare share) { throw new NotSupportedException (); } diff --git a/Ooui.Forms/Ooui.Forms.csproj b/Ooui.Forms/Ooui.Forms.csproj index 9552095..de25f30 100644 --- a/Ooui.Forms/Ooui.Forms.csproj +++ b/Ooui.Forms/Ooui.Forms.csproj @@ -18,7 +18,7 @@ - + diff --git a/Ooui.Forms/Renderers/ButtonRenderer.cs b/Ooui.Forms/Renderers/ButtonRenderer.cs index e253cea..fc06700 100644 --- a/Ooui.Forms/Renderers/ButtonRenderer.cs +++ b/Ooui.Forms/Renderers/ButtonRenderer.cs @@ -65,7 +65,7 @@ namespace Ooui.Forms.Renderers UpdateTextColor (); else if (e.PropertyName == Xamarin.Forms.Button.FontProperty.PropertyName) UpdateFont (); - else if (e.PropertyName == Xamarin.Forms.Button.BorderWidthProperty.PropertyName || e.PropertyName == Xamarin.Forms.Button.BorderRadiusProperty.PropertyName || e.PropertyName == Xamarin.Forms.Button.BorderColorProperty.PropertyName) + else if (e.PropertyName == Xamarin.Forms.Button.BorderWidthProperty.PropertyName || e.PropertyName == Xamarin.Forms.Button.CornerRadiusProperty.PropertyName || e.PropertyName == Xamarin.Forms.Button.BorderColorProperty.PropertyName) UpdateBorder (); else if (e.PropertyName == Xamarin.Forms.Button.ImageProperty.PropertyName) UpdateImage (); @@ -96,7 +96,7 @@ namespace Ooui.Forms.Renderers uiButton.Style.BorderWidth = null; } - var br = button.BorderRadius; + var br = button.CornerRadius; if (br > 0 && (bw > 0 || br != 5)) { // 5 is the default uiButton.Style.BorderRadius = br + "px"; } diff --git a/Ooui.Forms/Renderers/FrameRenderer.cs b/Ooui.Forms/Renderers/FrameRenderer.cs index b7b9ceb..6692cd8 100644 --- a/Ooui.Forms/Renderers/FrameRenderer.cs +++ b/Ooui.Forms/Renderers/FrameRenderer.cs @@ -20,7 +20,7 @@ namespace Ooui.Forms.Renderers base.OnElementPropertyChanged (sender, e); if (e.PropertyName == VisualElement.BackgroundColorProperty.PropertyName || - e.PropertyName == Xamarin.Forms.Frame.OutlineColorProperty.PropertyName || + e.PropertyName == Xamarin.Forms.Frame.BorderColorProperty.PropertyName || e.PropertyName == Xamarin.Forms.Frame.HasShadowProperty.PropertyName || e.PropertyName == Xamarin.Forms.Frame.CornerRadiusProperty.PropertyName) SetupLayer (); @@ -49,13 +49,13 @@ namespace Ooui.Forms.Renderers //Layer.ShadowOpacity = 0; } - if (Element.OutlineColor == Xamarin.Forms.Color.Default) { + if (Element.BorderColor == Xamarin.Forms.Color.Default) { Layer.BorderColor = Colors.Clear; Layer.BorderWidth = 1; Layer.BorderStyle = "none"; } else { - Layer.BorderColor = Element.OutlineColor.ToOouiColor (Colors.Clear); + Layer.BorderColor = Element.BorderColor.ToOouiColor (Colors.Clear); Layer.BorderWidth = 1; Layer.BorderStyle = "solid"; } diff --git a/PlatformSamples/AspNetCoreMvc/AspNetCoreMvc.csproj b/PlatformSamples/AspNetCoreMvc/AspNetCoreMvc.csproj index 6fed386..3baeeba 100644 --- a/PlatformSamples/AspNetCoreMvc/AspNetCoreMvc.csproj +++ b/PlatformSamples/AspNetCoreMvc/AspNetCoreMvc.csproj @@ -9,7 +9,7 @@ - + diff --git a/README.md b/README.md index 9357af9..12ff089 100644 --- a/README.md +++ b/README.md @@ -30,8 +30,6 @@ msbuild dotnet run --project Samples/Samples.csproj --no-build ``` -*(There is currently an issue with Xamarin.Forms and building from the dotnet cli, so for now we use the msbuild command and then set the --no-build flag on dotnet run but this will eventually change when the issue is resolved.)* - This will open the default starting page for the Samples. Now point your browser at [http://localhost:8080/shared-button](http://localhost:8080/shared-button) You should see a button that tracks the number of times it was clicked. The source code for that button is shown in the example below. diff --git a/Samples/Samples.csproj b/Samples/Samples.csproj index 1492bbd..d909b7d 100644 --- a/Samples/Samples.csproj +++ b/Samples/Samples.csproj @@ -10,7 +10,7 @@ - +