protected void SelectAppListItem(DependencyObject element)
        {
            DependencyObject dobj = AppList.ContainerFromElement(element);

            AppList.SelectedIndex = AppList.ItemContainerGenerator.IndexFromContainer(dobj);
        }