finished basics
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
xmlns:local="clr-namespace:Yapper"
|
||||
xmlns:viewmodel="clr-namespace:YapperClient.MVVM.ViewModel"
|
||||
mc:Ignorable="d"
|
||||
Title="MainWindow" Height="450" Width="800">
|
||||
Title="MainWindow" Height="474" Width="816">
|
||||
|
||||
<Window.DataContext>
|
||||
<viewmodel:MainViewModel/>
|
||||
@@ -41,11 +41,14 @@
|
||||
</DockPanel>
|
||||
|
||||
<StackPanel Grid.Column="1">
|
||||
<ListView Height="380"></ListView>
|
||||
<ListView Height="380"
|
||||
ItemsSource="{Binding Messages}"></ListView>
|
||||
|
||||
<StackPanel Orientation="Horizontal">
|
||||
<TextBox Height="55" Width="545" VerticalContentAlignment="Center"></TextBox>
|
||||
<Button Width="55" Content="send"/>
|
||||
<TextBox Height="55" Width="545" VerticalContentAlignment="Center"
|
||||
Text="{Binding Message, UpdateSourceTrigger=PropertyChanged}"></TextBox>
|
||||
<Button Width="55" Content="send"
|
||||
Command="{Binding SendMessageCommand}"/>
|
||||
</StackPanel>
|
||||
|
||||
</StackPanel>
|
||||
|
||||
Reference in New Issue
Block a user