System.Windows.Forms.DataGridViewRow.GetState(int)

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

1 Example 7

1. Example

Project: SQLMonitor
Source File: OutlookGridRow.cs
View license
public override DataGridViewElementStates GetState(int rowIndex)
        {
            if (!IsGroupRow && _group != null && _group.Collapsed)
            {
                return base.GetState(rowIndex) & DataGridViewElementStates.Selected;   
            }

            return base.GetState(rowIndex);
        }