DSIK_FILEZILLA/sikFtpClient/View/ConnectionView.xaml

29 lines
1.1 KiB
Plaintext
Raw Normal View History

2019-01-20 14:51:36 +01:00
<UserControl x:Class="sikFtpClient.View.ConnectionView"
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:local="clr-namespace:sikFtpClient.View"
xmlns:vm="clr-namespace:sikFtpClient.ViewModel"
mc:Ignorable="d"
d:DesignHeight="450" d:DesignWidth="800">
<UserControl.DataContext>
<vm:ConnectionViewModel/>
</UserControl.DataContext>
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="*"/>
<RowDefinition/>
<RowDefinition Height="*"/>
<RowDefinition Height="*"/>
</Grid.RowDefinitions>
<TextBox Height="30" Grid.Row="1" Text="{Binding Address}"/>
<TextBox Height="30" Grid.Row="2" Text="{Binding Port}"/>
<Button Command="{Binding ConnectCommand}"/>
</Grid>
</UserControl>