XPTable.Models.Table.RaiseHeaderMouseLeave C# (CSharp) Method

RaiseHeaderMouseLeave() protected method

Raises a MouseLeave event for the Column header at the specified colunm index position
protected RaiseHeaderMouseLeave ( int index ) : void
index int The index of the column to recieve the event
return void
        protected void RaiseHeaderMouseLeave(int index)
        {
            if (index < 0 || this.ColumnModel == null || index >= this.ColumnModel.Columns.Count)
            {
                return;
            }

            if (this.HeaderRenderer != null)
            {
                Column column = this.ColumnModel.Columns[index];

                HeaderMouseEventArgs mhea = new HeaderMouseEventArgs(column, this, index, this.DisplayRectToClient(this.ColumnModel.ColumnHeaderRect(index)));

                this.OnHeaderMouseLeave(mhea);
            }
        }
Table