Source/Rendering/Office2007RibbonTabGroupColorTableCollection.cs
(开头部分) 4KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
using System;
using System.Collections;
using System.Text;
namespace DevComponents.DotNetBar.Rendering
{
/// <summary>
/// Collection for Office2007RibbonTabGroupColorTable type.
/// </summary>
public class Office2007RibbonTabGroupColorTableCollection : CollectionBase
{
#region Internal Implementation
/// <summary>Creates new instance of the class.</summary>
public Office2007RibbonTabGroupColorTableCollection() { }
/// <summary>
/// Adds new object to the collection.
/// </summary>
/// <param name="Office2007RibbonTabItemColorTable">Object to add.</param>
/// <returns>Index of newly added object.</returns>
public int Add(Office2007RibbonTabGroupColorTable colorTable)
{
return List.Add(colorTable);
}
/// <summary>
/// Returns reference to the object in collection based on it's index.
/// </summary>
public Office2007RibbonTabGroupColorTable this[int index]
{
get {return (Office2007RibbonTabGroupColorTable)(List[index]);}
set {List[index] = value;}
}
/// <summary>
/// Returns reference to the object in collection based on it's index.
/// </summary>
public Office2007RibbonTabGroupColorTable this[string name]
{
get
{
foreach (Office2007RibbonTabGroupColorTable ct in this.List)
{
if (ct.Name == name)
return ct;
}
return null;
}
}
/// <summary>
/// Inserts new object into the collection.
/// </summary>
/// <param name="index">Position of the object.</param>
/// <param name="value">Object to insert.</param>
public void Insert(int index, Office2007RibbonTabGroupColorTable value)
{
List.Insert(index, value);
}
/// <summary>
后面还有 91 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。