add ScrollViewer and Border
This commit is contained in:
parent
d9ee95294b
commit
74d24f3946
@ -16,7 +16,13 @@
|
|||||||
<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"
|
||||||
|
CornerRadius="10"
|
||||||
|
Padding="20"
|
||||||
|
Margin="20"
|
||||||
|
Width="400"
|
||||||
|
Height="500">
|
||||||
|
<ScrollViewer>
|
||||||
<ListBox Name="Items" SelectionChanged="ListBox_SelectionChanged">
|
<ListBox Name="Items" SelectionChanged="ListBox_SelectionChanged">
|
||||||
<ListBox.ItemTemplate>
|
<ListBox.ItemTemplate>
|
||||||
<DataTemplate>
|
<DataTemplate>
|
||||||
@ -24,7 +30,7 @@
|
|||||||
</DataTemplate>
|
</DataTemplate>
|
||||||
</ListBox.ItemTemplate>
|
</ListBox.ItemTemplate>
|
||||||
</ListBox>
|
</ListBox>
|
||||||
|
</ScrollViewer>
|
||||||
|
</Border>
|
||||||
</StackPanel>
|
</StackPanel>
|
||||||
</Window>
|
</Window>
|
||||||
|
@ -17,7 +17,13 @@
|
|||||||
<TextBlock x:Name="MesDel" Text="" Foreground="Green"/>
|
<TextBlock x:Name="MesDel" Text="" Foreground="Green"/>
|
||||||
</StackPanel>
|
</StackPanel>
|
||||||
|
|
||||||
|
<Border Background="Red"
|
||||||
|
CornerRadius="10"
|
||||||
|
Padding="20"
|
||||||
|
Margin="20"
|
||||||
|
Width="400"
|
||||||
|
Height="500">
|
||||||
|
<ScrollViewer>
|
||||||
<ListBox Name="Items" SelectionChanged="ListBox_SelectionChanged">
|
<ListBox Name="Items" SelectionChanged="ListBox_SelectionChanged">
|
||||||
<ListBox.ItemTemplate>
|
<ListBox.ItemTemplate>
|
||||||
<DataTemplate>
|
<DataTemplate>
|
||||||
@ -25,6 +31,7 @@
|
|||||||
</DataTemplate>
|
</DataTemplate>
|
||||||
</ListBox.ItemTemplate>
|
</ListBox.ItemTemplate>
|
||||||
</ListBox>
|
</ListBox>
|
||||||
|
</ScrollViewer>
|
||||||
|
</Border>
|
||||||
</StackPanel>
|
</StackPanel>
|
||||||
</Window>
|
</Window>
|
||||||
|
Loading…
Reference in New Issue
Block a user