text: public void ExpandRow(int rowNumber){int idx = rowNumber;if (idx == -1)return;if (!IsRowGroupCollapsed(idx))return;int startIdx = FindStartOfRowOutlineGroup(idx);RowRecord row = GetRow(startIdx);int endIdx = FindEndOfRowOutlineGroup(idx);if (!IsRowGroupHiddenByParent(idx)){for (int i = startIdx; i <= endIdx; i++){if (row.OutlineLevel == GetRow(i).OutlineLevel)GetRow(i).ZeroHeight = (false);else if (!IsRowGroupCollapsed(i))GetRow(i).ZeroHeight = (false);}}GetRow(endIdx + 1).Colapsed = (false);}