public MainPage() { this.InitializeComponent(); // Construct the object for the LED strip. Change the 120 to however many "pixels" you have. this.pixelStrip = new Lpd8806Strip(120); this.Loaded += this.MainPage_Loaded; }