Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


Write the code to populate the controls in silverlight?



Write the code to populate the controls in silverlight?..

Answer / 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

More Microsoft Silverlight Interview Questions

what is name scope in silverlight?

1 Answers   Microsoft,


How to change the default page of a Silverlight application?

1 Answers  


What is the parent xaml tag of silverlight page? Explain its purposes.

1 Answers  


Difference between wpf and silverlight?

1 Answers  


How to perform event handling in silver light?

1 Answers  


What is the Silverlight plug-in?

1 Answers  


What is the difference between logical and visual tree?

1 Answers  


Describe how to perform event handling in silverlight.

1 Answers  


What is Moonlight?

1 Answers  


what are the steps will followed when consuming wcf in silver light?

1 Answers   Microsoft,


How does silverlight 2 differ from adobe flash?

1 Answers  


Differentiate between Silverlight and Windows Presentation Foundation (WPF)?

1 Answers  


Categories