Created
June 20, 2021 13:39
-
-
Save rdelrosario/3c97889b074222c8ae0f18a9457191af to your computer and use it in GitHub Desktop.
This file contains hidden or 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" ?> | |
<rxui:ReactiveContentPage | |
x:Class="ReactiveToDoSample.Views.ItemPage" | |
xmlns="http://xamarin.com/schemas/2014/forms" | |
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" | |
xmlns:rxui="clr-namespace:ReactiveUI.XamForms;assembly=ReactiveUI.XamForms" | |
xmlns:vm="clr-namespace:ReactiveToDoSample.ViewModels" | |
x:TypeArguments="vm:ItemViewModel"> | |
<rxui:ReactiveContentPage.ToolbarItems> | |
<ToolbarItem Command="{Binding CloseCommand}" Text="Close" /> | |
</rxui:ReactiveContentPage.ToolbarItems> | |
<StackLayout> | |
<Label Text="Item" | |
FontSize="Title" | |
Padding="20" | |
HorizontalOptions="Center"/> | |
<Frame Style="{StaticResource CardFrameStyle}" | |
Margin="10" | |
VerticalOptions="Start"> | |
<StackLayout | |
HorizontalOptions="FillAndExpand"> | |
<Entry Placeholder="Title" | |
Text="{Binding Title}" /> | |
<Button Command="{Binding SaveCommand}" | |
Style="{StaticResource MainButtonStyle}" | |
Text="Save"/> | |
</StackLayout> | |
</Frame> | |
</StackLayout> | |
</rxui:ReactiveContentPage> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment