⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 toolbaritemcollectioneditor.cs

📁 浏览器端看到树型目录结构,用户可以完整地看到像windows资源管理器一样的效果
💻 CS
字号:
//------------------------------------------------------------------------------
// Copyright (c) 2000-2003 Microsoft Corporation. All Rights Reserved.
//------------------------------------------------------------------------------

namespace Microsoft.Web.UI.WebControls.Design
{
    using System;
    using System.ComponentModel.Design;

    /// <summary>
    /// Designer editor for the ToolbarItem collection.
    /// </summary>
    public class ToolbarItemCollectionEditor : ItemCollectionEditor
    {
        /// <summary>
        /// Initializes a new instance of the ToolbarItemCollectionEditor class.
        /// </summary>
        /// <param name="type">The type of collection this object is to edit.</param>
        public ToolbarItemCollectionEditor(Type type) : base(type)
        {
        }

        /// <summary>
        /// Returns the type of objects the editor can create.
        /// </summary>
        /// <returns>An array of types.</returns>
        protected override Type[] CreateNewItemTypes()
        {
            return new Type[]
            {
                typeof(ToolbarButton),
                typeof(ToolbarCheckButton),
                typeof(ToolbarCheckGroup),
                typeof(ToolbarLabel),
                typeof(ToolbarSeparator),
                typeof(ToolbarTextBox),
                typeof(ToolbarDropDownList),
            };
        }
    }
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -