private void OnItemClicked(object sender, RoutedEventArgs e) { if (e.OriginalSource is KinectButtonBase) { var args = new KinectItemClickEventArgs(ItemClickedEvent, e.OriginalSource); this.RaiseEvent(args); } }