ILT – How to Create a Simple ArrayList Within XAML

25-09-2012 Following is a sample to create a simple ArrayList in XAML. This most of the time serves as a simple straightforward data-source to test your controls. If you wondered like I did, Following is the definition of col and sys namespaces. Add these lines to the main tag (Window, UserControl, etc.) of your XAMLContinue reading “ILT – How to Create a Simple ArrayList Within XAML”

How To Choose Between ItemsSource and DataContext

2012-02-24 // <![CDATA[ google_ad_client = "ca-pub-5478118713208336"; /* LeadIn */ google_ad_slot = “2638602320”; google_ad_width = 468; google_ad_height = 15; // ]]> I usually use ItemsSource property when I need to databind a control in WPF because it’s straightforward and the framework does everything for me. However, I came accross a situation where I had toContinue reading “How To Choose Between ItemsSource and DataContext”