set data binding

This commit is contained in:
2024-04-03 12:24:04 +02:00
parent 6a4f55bbe9
commit 88dd3e6f6c

View File

@@ -8,7 +8,7 @@
Title="GetAllServices" Height="550" Width="350"> Title="GetAllServices" Height="550" Width="350">
<Grid> <Grid>
<ListBox> <ListBox ItemsSource="{Binding Services}">
<ListBox.ItemTemplate> <ListBox.ItemTemplate>
<DataTemplate> <DataTemplate>
<Border BorderBrush="Gray" BorderThickness="1"> <Border BorderBrush="Gray" BorderThickness="1">