public boolean isRowGroupCollapsed(int row) {int collapseRow = findEndOfRowOutlineGroup(row) + 1;return getRow(collapseRow) != null && getRow(collapseRow).getColapsed();}

public bool IsRowGroupCollapsed(int row){int collapseRow = FindEndOfRowOutlineGroup(row) + 1;if (GetRow(collapseRow) == null)return false;elsereturn GetRow(collapseRow).Colapsed;}
