Created
November 11, 2016 04:08
-
-
Save jfversluis/96ce33aaeb76a121d13f16c3647f5893 to your computer and use it in GitHub Desktop.
Code for embedding native controls in Xamarin.Forms
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<ContentPage xmlns="http://xamarin.com/schemas/2014/forms" | |
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" | |
xmlns:local="clr-namespace:EmbedNativeAwesomeness" | |
xmlns:ios="clr-namespace:UIKit;assembly=Xamarin.iOS;targetPlatform=iOS" | |
x:Class="EmbedNativeAwesomeness.EmbedNativeAwesomenessPage"> | |
<StackLayout VerticalOptions="Center" HorizontalOptions="Center"> | |
<Label Text="Isn't this awesome?!" VerticalOptions="Center" HorizontalOptions="Center" /> | |
<ios:UIDatePicker /> | |
<ios:UISlider MaxValue="10" Value="{Binding SlideValue}" /> | |
<ios:UIStepper /> | |
<ios:UISwitch /> | |
</StackLayout> | |
</ContentPage> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment