System.Windows.Forms.DataGridView.GetCellCount(System.Windows.Forms.DataGridViewElementStates)

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

1 Example 7

1. Example

Project: OrionSDK
Source File: QueryTab.cs
private void CopyActiveGridCellToClipboard(DataGridView visibleDataGridView)
        {
            if (visibleDataGridView.GetCellCount(DataGridViewElementStates.Selected) > 0)
            {
                Clipboard.SetDataObject(visibleDataGridView.GetClipboardContent());
            }
        }