diff --git a/docs/fundamentals/single-project.md b/docs/fundamentals/single-project.md index 002ac6d32..61ad995f5 100644 --- a/docs/fundamentals/single-project.md +++ b/docs/fundamentals/single-project.md @@ -186,12 +186,12 @@ Multi-targeting can also be combined with conditional compilation so that code i ```csharp #if ANDROID - handler.NativeView.SetBackgroundColor(Colors.Red.ToNative()); + handler.PlatformView.SetBackgroundColor(Colors.Red.ToPlatform()); #elif IOS - handler.NativeView.BackgroundColor = Colors.Red.ToNative(); - handler.NativeView.BorderStyle = UIKit.UITextBorderStyle.Line; + handler.PlatformView.BackgroundColor = Colors.Red.ToPlatform(); + handler.PlatformView.BorderStyle = UIKit.UITextBorderStyle.Line; #elif WINDOWS - handler.NativeView.Background = Colors.Red.ToNative(); + handler.PlatformView.Background = Colors.Red.ToPlatform(); #endif ```