System.Windows.Forms.DataGridView.InvalidateCell(System.Windows.Forms.DataGridViewCell)

Here are the examples of the csharp api class System.Windows.Forms.DataGridView.InvalidateCell(System.Windows.Forms.DataGridViewCell) taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.

4 Examples 7

1. Example

View license
private void Invalidate() {
            if(DataGridView != null) {
                DataGridView.InvalidateCell(this);
            }
        }

2. Example

View license
protected override void OnMouseEnter(int rowIndex)
        {
            active = true;
            DataGridView.InvalidateCell(this);
        }

3. Example

View license
protected override void OnMouseLeave(int rowIndex)
        {
            active = false;
            DataGridView.InvalidateCell(this);
        }

4. Example

View license
public void ResetDropDown()
		{
			this.InvalidateDropDownButtonBounds();
			this.HideDropDown();
			if(this.DataGridView != null)
				this.DataGridView.InvalidateCell(this);
		}