Example #1
0
		/// <summary>
		/// Initializes new instance of Cell class.
		/// </summary>
		/// <param name="text">Cell text.</param>
		public Cell(string text)
		{
			m_Text=text;
			m_Images=new CellImages(this);
		}
Example #2
0
		/// <summary>
		/// Sets the Images to the new CellImages object.
		/// </summary>
		/// <param name="ci">CellImages object.</param>
		internal void SetCellImages(CellImages ci)
		{
			m_Images=ci;
			m_Images.Parent=this;
		}
Example #3
0
		/// <summary>Makes a copy of a CellImages object.</summary>
		public virtual CellImages Copy()
		{
			CellImages ci=new CellImages(null);
			ci.Image=this.Image;
//			ci.ImageDisabled=this.ImageDisabled;
//			ci.ImageDisabledIndex=this.ImageDisabledIndex;
			ci.ImageExpanded=this.ImageExpanded;
			ci.ImageExpandedIndex=this.ImageExpandedIndex;
			ci.ImageIndex=this.ImageIndex;
			ci.ImageMouseOver=this.ImageMouseOver;
			ci.ImageMouseOverIndex=this.ImageMouseOverIndex;
			return ci;
		}