This commit is contained in:
Kathy committed 2012-09-27 11:19:26 +00:00
1 parent 6c23626864
commit b62a1ce79c
1 file changed
+6
@@ -296,6 +296,12 @@ namespace Volian.Controls.Library
// get { return _MyItemInfo; } // get { return _MyItemInfo; }
// set { _MyItemInfo = value; } // set { _MyItemInfo = value; }
//} //}
public bool TopRowHasBorder()
{
for (int c = 0; c < Cols.Count - 1; c++)
if (MyBorders.HorizontalLines[0, c] != GridLinePattern.None) return true;
return false;
}
public void SetBorders(CellRange myRange, public void SetBorders(CellRange myRange,
GridLinePattern top, GridLinePattern middle, GridLinePattern bottom, GridLinePattern top, GridLinePattern middle, GridLinePattern bottom,
GridLinePattern left, GridLinePattern center, GridLinePattern right) GridLinePattern left, GridLinePattern center, GridLinePattern right)