Write the code to populate the controls in silverlight?
Answer Posted / Lalsingh
To populate controls in a Silverlight application, you can use data binding or manually set properties. Here's an example of using data binding with a ListBox:
xmlns:sys="clr-namespace:System;assembly=mscorlib"
xmlns:collection="clr-namespace:System.Collections.ObjectModel;assembly=mscorlib"
<ListBox x:Name="myListBox">
<sys:String>Item 1</sys:String>
<sys:String>Item 2</sys:String>
<!-- Add more items here -->
</ListBox>
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
No New Questions to Answer in this Category !! You can
Post New Questions
Answer Questions in Different Category