public ModSearchContentLibraryItemViewModel(ModLibraryViewModel library) : base(library) {
            _collectionContextMenu = new CollectionContextMenu(library);
            _modContextMenu = new ModContextMenu(library);
            _multiContentContextMenu = new MultiContentContextMenu(library);
            _modBarMenu = new ModBarMenu(library);
            _collectionBarMenu = new CollectionBarMenu(library);

            SetupMenus(HandleSingleMenu, HandleMultiMenu);
        }
Ejemplo n.º 2
0
        public ModSearchContentLibraryItemViewModel(ModLibraryViewModel library) : base(library)
        {
            _collectionContextMenu   = new CollectionContextMenu(library);
            _modContextMenu          = new ModContextMenu(library);
            _multiContentContextMenu = new MultiContentContextMenu(library);
            _modBarMenu        = new ModBarMenu(library);
            _collectionBarMenu = new CollectionBarMenu(library);

            SetupMenus(HandleSingleMenu, HandleMultiMenu);
        }
        public BrowseContentLibraryItemViewModel(ModLibraryViewModel library, T model, string icon = null,
                                                 LibraryGroupViewModel @group = null, bool isFeatured = false,
                                                 bool doGrouping = false)
            : base(library, model, icon, @group, isFeatured, doGrouping)
        {
            _collectionContextMenu   = new CollectionContextMenu(library);
            _modContextMenu          = new ModContextMenu(library);
            _multiContentContextMenu = new MultiContentContextMenu(library);
            _modBarMenu        = new ModBarMenu(library);
            _collectionBarMenu = new CollectionBarMenu(library);

            SetupMenus(HandleSingleMenu, HandleMultiMenu);
        }
        public CollectionLibraryItemViewModel(ModLibraryViewModel library, Collection model, string icon,
                                              LibraryGroupViewModel @group = null, bool isFeatured = false,
                                              bool doGrouping = false)
            : base(library, model, icon, @group, isFeatured, doGrouping)
        {
            MainIcon        = SixIconFont.withSIX_icon_Folder;
            ShowItemsInTree = true;
            Items.KeepCollectionInSync2(Children);


            _collectionContextMenu   = new CollectionContextMenu(library);
            _modContextMenu          = new ModContextMenu(library);
            _multiContentContextMenu = new MultiContentContextMenu(library);
            _modBarMenu        = new ModBarMenu(library);
            _collectionBarMenu = new CollectionBarMenu(library);

            SetupMenus(HandleSingleMenu, HandleMultiMenu);
        }