add ScrollViewer and Border
This commit is contained in:
parent
d9ee95294b
commit
74d24f3946
@ -16,15 +16,21 @@
|
|||||||
<TextBlock x:Name="MesDelError" Text="" Foreground="Red"/>
|
<TextBlock x:Name="MesDelError" Text="" Foreground="Red"/>
|
||||||
<TextBlock x:Name="MesDel" Text="" Foreground="Green"/>
|
<TextBlock x:Name="MesDel" Text="" Foreground="Green"/>
|
||||||
</StackPanel>
|
</StackPanel>
|
||||||
|
<Border Background="Red"
|
||||||
<ListBox Name="Items" SelectionChanged="ListBox_SelectionChanged">
|
CornerRadius="10"
|
||||||
<ListBox.ItemTemplate>
|
Padding="20"
|
||||||
<DataTemplate>
|
Margin="20"
|
||||||
<TextBlock Text="{Binding ClientName}"/>
|
Width="400"
|
||||||
</DataTemplate>
|
Height="500">
|
||||||
</ListBox.ItemTemplate>
|
<ScrollViewer>
|
||||||
</ListBox>
|
<ListBox Name="Items" SelectionChanged="ListBox_SelectionChanged">
|
||||||
|
<ListBox.ItemTemplate>
|
||||||
|
<DataTemplate>
|
||||||
|
<TextBlock Text="{Binding ClientName}"/>
|
||||||
|
</DataTemplate>
|
||||||
|
</ListBox.ItemTemplate>
|
||||||
|
</ListBox>
|
||||||
|
</ScrollViewer>
|
||||||
|
</Border>
|
||||||
</StackPanel>
|
</StackPanel>
|
||||||
</Window>
|
</Window>
|
||||||
|
@ -17,14 +17,21 @@
|
|||||||
<TextBlock x:Name="MesDel" Text="" Foreground="Green"/>
|
<TextBlock x:Name="MesDel" Text="" Foreground="Green"/>
|
||||||
</StackPanel>
|
</StackPanel>
|
||||||
|
|
||||||
|
<Border Background="Red"
|
||||||
<ListBox Name="Items" SelectionChanged="ListBox_SelectionChanged">
|
CornerRadius="10"
|
||||||
<ListBox.ItemTemplate>
|
Padding="20"
|
||||||
<DataTemplate>
|
Margin="20"
|
||||||
<TextBlock Text="{Binding EmployeesName}"/>
|
Width="400"
|
||||||
</DataTemplate>
|
Height="500">
|
||||||
</ListBox.ItemTemplate>
|
<ScrollViewer>
|
||||||
</ListBox>
|
<ListBox Name="Items" SelectionChanged="ListBox_SelectionChanged">
|
||||||
|
<ListBox.ItemTemplate>
|
||||||
|
<DataTemplate>
|
||||||
|
<TextBlock Text="{Binding EmployeesName}"/>
|
||||||
|
</DataTemplate>
|
||||||
|
</ListBox.ItemTemplate>
|
||||||
|
</ListBox>
|
||||||
|
</ScrollViewer>
|
||||||
|
</Border>
|
||||||
</StackPanel>
|
</StackPanel>
|
||||||
</Window>
|
</Window>
|
||||||
|
Loading…
Reference in New Issue
Block a user