C# Class Smrf.AppLib.ExcelColumnHider

Hides and shows columns in an Excel workbook.
Call ShowHiddenColumns to show all the hidden columns in a table, then call RestoreHiddenColumns to hide them again. Use ShowColumns, HideColumns, and to show or hide a specified set of table columns.

All methods are static.

Afficher le fichier Open project: 2014-sed-team3/term-project

Méthodes publiques

Méthode Description
HideColumns ( ListObject table, String columnNames ) : void
RestoreHiddenColumns ( ListObject table, ExcelHiddenColumns excelHiddenColumns ) : void
ShowColumns ( ListObject table, String columnNames ) : void
ShowHiddenColumns ( ListObject table ) : ExcelHiddenColumns
ShowOrHideColumn ( ListColumn column, System.Boolean show ) : System.Boolean
ShowOrHideColumn ( ListObject table, String columnName, System.Boolean show ) : System.Boolean
ShowOrHideColumns ( ListObject table, String columnNames, System.Boolean show ) : void

Method Details

HideColumns() public static méthode

public static HideColumns ( ListObject table, String columnNames ) : void
table ListObject
columnNames String
Résultat void

RestoreHiddenColumns() public static méthode

public static RestoreHiddenColumns ( ListObject table, ExcelHiddenColumns excelHiddenColumns ) : void
table ListObject
excelHiddenColumns ExcelHiddenColumns
Résultat void

ShowColumns() public static méthode

public static ShowColumns ( ListObject table, String columnNames ) : void
table ListObject
columnNames String
Résultat void

ShowHiddenColumns() public static méthode

public static ShowHiddenColumns ( ListObject table ) : ExcelHiddenColumns
table ListObject
Résultat ExcelHiddenColumns

ShowOrHideColumn() public static méthode

public static ShowOrHideColumn ( ListColumn column, System.Boolean show ) : System.Boolean
column ListColumn
show System.Boolean
Résultat System.Boolean

ShowOrHideColumn() public static méthode

public static ShowOrHideColumn ( ListObject table, String columnName, System.Boolean show ) : System.Boolean
table ListObject
columnName String
show System.Boolean
Résultat System.Boolean

ShowOrHideColumns() public static méthode

public static ShowOrHideColumns ( ListObject table, String columnNames, System.Boolean show ) : void
table ListObject
columnNames String
show System.Boolean
Résultat void