예제 #1
0
        /// <summary>
        /// Sets the selected item.
        /// </summary>
        /// <param name="item">The item.</param>
        /// <autogeneratedoc />
        public void SetSelectedItem(IFileSystemInfo item)
        {
            var value = item as MapleFileSystemContainerBase;

            if (value == null)
            {
                return;
            }

            SelectedItem = value;
            SelectedItem.ExpandPath();
            SelectedItem.Parent.IsSelected = true;
        }