<?xml version="1.0" encoding="UTF-8" ?>
<ContentPage
    xmlns="http://xamarin.com/schemas/2014/forms"
    xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
    x:Class="XamarinDemoApp.Views.MobileMessagesPage"
    xmlns:viewmodel="clr-namespace:XamarinDemoApp.ViewModels"
    x:DataType="viewmodel:MobileMsgViewModel"
    >
    <StackLayout Orientation="Vertical" Spacing="20">
        <Frame CornerRadius="5">
            <StackLayout Orientation="Vertical">
                <Grid>
                    <Grid.RowDefinitions>
                        <RowDefinition Height="40"/>
                    </Grid.RowDefinitions>
                    <Grid.ColumnDefinitions>
                        <ColumnDefinition Width="300" />
                    </Grid.ColumnDefinitions>
                    <Entry Text="{Binding SmInAppMsgEventName}" Grid.Row="0" Grid.RowSpan="1" Grid.Column="0" Grid.ColumnSpan="1" />
                </Grid>
                <Button Text="Get Small In-App Msg" Command="{Binding SmInAppMsgEventCommand}" />
            </StackLayout>

        </Frame>

        <Frame CornerRadius="5">
            <StackLayout Orientation="Vertical">
                <Grid>
                    <Grid.RowDefinitions>
                        <RowDefinition Height="40"/>
                    </Grid.RowDefinitions>
                    <Grid.ColumnDefinitions>
                        <ColumnDefinition Width="300" />
                    </Grid.ColumnDefinitions>
                    <Entry Text="{Binding LgInAppMsgEventName}" Grid.Row="0" Grid.RowSpan="1" Grid.Column="0" Grid.ColumnSpan="1" />
                </Grid>
                <Button Text="Get Large In-App Msg" Command="{Binding LgInAppMsgEventCommand}" />
            </StackLayout>

        </Frame>

    </StackLayout>
</ContentPage>

