0

I have Itemcontrol

<ItemsControl ItemsSource="{Binding}">
    <ItemsControl.ItemTemplate>
        <DataTemplate>
            <Border BorderBrush="Red" BorderThickness="1" Background="Blue">
                <TextBlock Text="{Binding Text}"/>
            </Border>
        </DataTemplate>
    </ItemsControl.ItemTemplate>
</ItemsControl>

How to bind the Itemcontrol using c sharp code.

Thomas Levesque
  • 278,830
  • 63
  • 599
  • 738
Lalchand
  • 7,377
  • 25
  • 65
  • 78

0 Answers0