isAllowedToDropOnTrackList() public method

public isAllowedToDropOnTrackList ( ) : System.Boolean
return System.Boolean
        protected void showBrowseListActionContextMenu(MediaItem _mediaItem, Point _point, ListBoxItem lbi, List<MediaItem> _mediaItems=null)
        {
            String text;

            if (ContentBrowseListControl.SelectedItem == null)
                return;

            if (!_mediaItem.isAllowedToDropOnTrackList())
                return;

            if (_mediaItems != null && !MediaItem.isAllowedToDropOnTrackList(_mediaItems))
                return;

            text = _mediaItem.text;

            if (_mediaItems != null && _mediaItems.Count > 1)
            {
                text += String.Format(" und {0} weitere", _mediaItems.Count - 1);
            }

            Point relativeLocation = ContentBrowseListControl.TranslatePoint(new Point(0, 0), lbi);

            //BrowseListActionPopupContentImage.DataContext = _mediaInformation;
            //BrowseListActionPopupContentInfo.Text = _mediaInformation.text;
            ContentBrowserContextMenuPopup.Width = ContentBrowseListControl.ActualWidth;
            ContentBrowserContextMenuPopup.DataContext = _mediaItem;
            ContentBrowserContextMenu.Text = text;
            //ContentBrowserContextMenuPopup.Tag = _mediaItems;
            ContentBrowserContextMenuPopup.PlacementRectangle = new Rect(0, _point.Y - (_point.Y - (relativeLocation.Y * -1) - 1), ContentBrowseListControl.ActualWidth + 1, 50);
            ContentBrowserContextMenuPopup.IsOpen = true;
            ContentBrowserContextMenuPopup.StaysOpen = false;
        }
        protected void showPlaylistManagementListActionContextMenu(MediaItem _mediaItem, Point _point, ListBoxItem lbi)
        {
            if (PlaylistManagementListControl.SelectedItem == null)
                return;

            if (!_mediaItem.isAllowedToDropOnTrackList())
                return;

            // TODO: Disabled due not finished ýet!
            return;

            Point relativeLocation = PlaylistManagementListControl.TranslatePoint(new Point(0, 0), lbi);

            PlaylistManagementContextMenuPopup.Width = PlaylistManagementListControl.ActualWidth;
            PlaylistManagementContextMenuPopup.DataContext = _mediaItem;
            PlaylistManagementContextMenuPopup.PlacementRectangle = new Rect(0, _point.Y - (_point.Y - (relativeLocation.Y * -1) - 1), PlaylistManagementListControl.ActualWidth + 1, 50);
            PlaylistManagementContextMenuPopup.IsOpen = true;
            PlaylistManagementContextMenuPopup.StaysOpen = false;
        }