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

OnLostFocus() protected method

Raises the LostFocus event
protected OnLostFocus ( EventArgs e ) : void
e EventArgs An EventArgs that contains the event data
return void
        protected override void OnLostFocus(EventArgs e)
        {
            if (!this.FocusedCell.IsEmpty)
            {
                this.RaiseCellLostFocus(this.FocusedCell);
            }

            if (this.SelectedIndicies.Length > 0)
            {
                this.Invalidate(this.CellDataRect);
            }

            if (this.BorderColor != this.UnfocusedBorderColor)
                this.Invalidate(false);

            base.OnLostFocus(e);
        }
Table