public bool IsRowGroupHiddenByParent(int row){int endLevel;bool endHidden;int endOfOutlineGroupIdx = FindEndOfRowOutlineGroup(row);if (GetRow(endOfOutlineGroupIdx + 1) == null){endLevel = 0;endHidden = false;}else{endLevel = GetRow(endOfOutlineGroupIdx + 1).OutlineLevel;endHidden = GetRow(endOfOutlineGroupIdx + 1).ZeroHeight;}int startLevel;bool startHidden;int startOfOutlineGroupIdx = FindStartOfRowOutlineGroup(row);if (startOfOutlineGroupIdx - 1 < 0 || GetRow(startOfOutlineGroupIdx - 1) == null){startLevel = 0;startHidden = false;}else{startLevel = GetRow(startOfOutlineGroupIdx - 1).OutlineLevel;startHidden = GetRow(startOfOutlineGroupIdx - 1).ZeroHeight;}if (endLevel > startLevel){return endHidden;}else{return startHidden;}}