using System.Windows;
using Telerik.Windows.Controls;
using System.Diagnostics;

namespace CustomThemeBasedOnOfficeBlack_GridWpf
{
	/// <summary>
	/// Interaction logic for Window1.xaml
	/// </summary>
	public partial class Window1 : Window
	{
		public Window1()
		{
			InitializeComponent();

			StyleManager.SetTheme(this.RadGridView1, new CustomTheme.MyCustomTheme());

			RadGridView1.ItemsSource = new Message[] { 
				new Message { Sender = "tom@hanna-barbera.com", Subject = "Cats are cool", Size = 100 },
				new Message { Sender = "jerry@hanna-barbera.com", Subject = "Mice are cool", Size = 100 },
				new Message { Sender = "spike@hanna-barbera.com", Subject = "Dogs are cool", Size = 100 }
			};
		}
	}
}
