<UserControl x:Class="VIZ.TVP.CBA.Module.HttpUrlConfigView"
   xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             xmlns:dx="http://schemas.devexpress.com/winfx/2008/xaml/core"
             xmlns:dxmvvm="http://schemas.devexpress.com/winfx/2008/xaml/mvvm"
             xmlns:dxe="http://schemas.devexpress.com/winfx/2008/xaml/editors"
             xmlns:local="clr-namespace:VIZ.TVP.CBA.Module"
             d:Background="White"
             mc:Ignorable="d" 
             d:DesignHeight="800" d:DesignWidth="800">

    <dxmvvm:Interaction.Behaviors>
        <dxmvvm:EventToCommand EventName="Loaded" Command="{Binding Path=LoadedCommand}"></dxmvvm:EventToCommand>
    </dxmvvm:Interaction.Behaviors>

    <Grid>
        <!-- 数据访问设置 -->
        <GroupBox Header="数据访问配置" Margin="10" Padding="10">
            <Grid>
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="120"></ColumnDefinition>
                    <ColumnDefinition Width="*"></ColumnDefinition>
                </Grid.ColumnDefinitions>
                <Grid.RowDefinitions>
                    <RowDefinition Height="50"></RowDefinition>
                    <RowDefinition Height="50"></RowDefinition>
                    <RowDefinition Height="50"></RowDefinition>
                    <RowDefinition Height="50"></RowDefinition>
                </Grid.RowDefinitions>
                <!-- 地址 -->
                <TextBlock Text="地址:" VerticalAlignment="Center" HorizontalAlignment="Right" Margin="0,0,10,0"></TextBlock>
                <dxe:TextEdit Grid.Column="1" Height="30"
                              EditValue="{Binding Path=Url,Mode=TwoWay}"></dxe:TextEdit>
            
                <!-- 艾果平台 -->
                <TextBlock Text="应用Id:" VerticalAlignment="Center" HorizontalAlignment="Right" Margin="0,0,10,0" Grid.Row="1"></TextBlock>
                <dxe:TextEdit Grid.Column="1" Height="30" Grid.Row="1"
                              EditValue="{Binding Path=AppID,Mode=TwoWay}"></dxe:TextEdit>
                <!-- 地址 -->
                <TextBlock Text="应用Key:" VerticalAlignment="Center" HorizontalAlignment="Right" Margin="0,0,10,0" Grid.Row="2"></TextBlock>
                <dxe:TextEdit Grid.Column="1" Height="30" Grid.Row="2"
                              EditValue="{Binding Path=AppKey,Mode=TwoWay}"></dxe:TextEdit>
                
                
  
            </Grid>
        </GroupBox>
    </Grid>
</UserControl>
