예제 #1
0
        private bool TryScrollToSelectedItem()
        {
            var selectedItem = LayoutList.SelectedItem;

            if (selectedItem == null)
            {
                return(false);
            }
            LayoutList.ScrollIntoView(selectedItem);
            return(true);
        }