FireClick() public method

Raises the OnClick event for the specified row
public FireClick ( ObjRow row ) : void
row ObjRow Row to raise event with
return void
示例#1
0
        /// <summary>
        /// Called when the mouse clicks on a row
        /// </summary>
        /// <param name="col">The column the mouse was over when the button was clicked</param>
        public void Click(CustomListColumn col)
        {
            clickCol = col;
            addStr   = "|";
            cursorTimer.Start();

            if (col.Property != null)
            {
                editBuffer = clickCol.Property.Value(obj).ToString();
                editing    = true;
            }
            col.FireClick(this);
        }
示例#2
0
		/// <summary>
		/// Called when the mouse clicks on a row 
		/// </summary>
		/// <param name="col">The column the mouse was over when the button was clicked</param>
		public void Click(CustomListColumn col)
		{
			clickCol=col;
			addStr="|";
			cursorTimer.Start();
			if(col.Property!=null)
			{
				editBuffer = clickCol.Property.Value(obj).ToString();
				editing=true;
			}

			col.FireClick(this);
		}