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

📄 repeateritem.cs

📁 不错的人事管理系统
💻 CS
字号:
using System;
using System.Web.UI;

namespace System.Web.UI.WebControls
{
	/// <summary>
	/// Summary description for RepeaterItem.
	/// </summary>
	public class RepeaterItem : Control,INamingContainer
	{
		private object dataItem;
		private int itemIndex;
		private System.Web.UI.WebControls.ListItemType itemType;

		public RepeaterItem(int itemIndex, ListItemType itemType) : base() 
		{
			this.itemIndex = itemIndex;
			this.itemType = itemType;
		}

		protected virtual bool OnBubbleEvent(object source, EventArgs e) 
		{
			RepeaterCommandEventArgs local0;

			if (e as CommandEventArgs != null) 
			{
				local0 = new RepeaterCommandEventArgs(this, source, (CommandEventArgs) e);
				this.RaiseBubbleEvent(this, local0);
				return true;
			}
			return false;
		}
	
		public virtual object DataItem 
		{
			get
			{
				return this.dataItem;
			}
			set
			{
				this.dataItem = value;
			}
		}

		public virtual int ItemIndex 
		{
			get
			{
				return this.itemIndex;
			}
		}

		public virtual ListItemType ItemType 
		{
			get
			{
				return this.itemType;
			}
		}

	}
}

⌨️ 快捷键说明

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