41 lines
656 B
C#
41 lines
656 B
C#
![]() |
using System;
|
|||
|
|
|||
|
namespace CPF.ReoGrid.Actions
|
|||
|
{
|
|||
|
public abstract class BaseOutlineAction : BaseWorksheetAction
|
|||
|
{
|
|||
|
public RowOrColumn RowOrColumn
|
|||
|
{
|
|||
|
get
|
|||
|
{
|
|||
|
return this.rowOrColumn;
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
public BaseOutlineAction(RowOrColumn rowOrColumn)
|
|||
|
{
|
|||
|
this.rowOrColumn = rowOrColumn;
|
|||
|
}
|
|||
|
|
|||
|
protected internal string GetRowOrColumnDesc()
|
|||
|
{
|
|||
|
string result;
|
|||
|
switch (this.rowOrColumn)
|
|||
|
{
|
|||
|
case RowOrColumn.Row:
|
|||
|
result = "Row";
|
|||
|
break;
|
|||
|
case RowOrColumn.Column:
|
|||
|
result = "Column";
|
|||
|
break;
|
|||
|
default:
|
|||
|
result = "Row and Column";
|
|||
|
break;
|
|||
|
}
|
|||
|
return result;
|
|||
|
}
|
|||
|
|
|||
|
protected internal RowOrColumn rowOrColumn;
|
|||
|
}
|
|||
|
}
|