bulletedlistitem.cs

来自「AJAX 应用 实现页面的无刷新」· CS 代码 · 共 36 行

CS
36
字号
// (c) Copyright Microsoft Corporation.
// This source is subject to the Microsoft Permissive License.
// See http://www.microsoft.com/resources/sharedsource/licensingbasics/sharedsourcelicenses.mspx.
// All other rights reserved.


using System;
using System.Collections.Generic;
using System.Text;
using System.Web.UI.WebControls;
using System.Web.UI;

namespace AjaxControlToolkit
{
    /// <summary>
    /// We create our own BulletedListItem control here (LI)
    /// because the ASP.NET BulletedList control exposes a collection of list items
    /// rather than a child collection of controls.
    /// </summary>
    [System.ComponentModel.ToolboxItem(false)]
    public class BulletedListItem : WebControl
    {
        public BulletedListItem()
        {            
        }

        protected override HtmlTextWriterTag TagKey
        {
            get
            {
                return HtmlTextWriterTag.Li;
            }
        }
    }
}

⌨️ 快捷键说明

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