Last active
December 21, 2019 14:42
-
-
Save icebeam7/b9b94b34e472ce5ddf7f2898a897babd to your computer and use it in GitHub Desktop.
MyCustomPicker: MonkeyView.xaml
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:d="http://xamarin.com/schemas/2014/forms/design" | |
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" | |
xmlns:vm="clr-namespace:MyCustomPicker.ViewModels" | |
xmlns:controls="clr-namespace:MyCustomPicker.Controls" | |
mc:Ignorable="d" | |
x:Class="MyCustomPicker.Views.MonkeyView"> | |
<ContentPage.BindingContext> | |
<vm:MonkeyViewModel/> | |
</ContentPage.BindingContext> | |
<ContentPage.Content> | |
<StackLayout> | |
<controls:CustomPicker Title="Select a monkey" | |
TitleColor="Green" | |
ItemsSource="{Binding Monkeys}" | |
ItemDisplayBinding="{Binding Name}" | |
TextColor="Orange" | |
FontAttributes="Italic" | |
FontSize="24" | |
ItemFontFamily="{StaticResource Pacifico}" | |
ItemColor="#0DB2DB"/> | |
</StackLayout> | |
</ContentPage.Content> | |
</ContentPage> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment