Aspose.Cells.GridDesktop Specifies the border line type for a gridCell. No border. A solid line border. A solid line border.Line width is 2f. A dashed line border. A dotted line border. A solid line border.Line width is 3f. A dashed line border.Line width is 2f. A dashDotted line border. A dashDotted line border.Line width is 2f. A dashDotDotted line border. A dashDotDotted line border.Line width is 2f. Represents a cell control. Internal use only. Gets or sets the text associated with this control. Represents a cell button control. Gets or sets the width of the control. Gets or sets the height of the control. Gets or sets if the Button should always visible, only work for Cell Control Button. Gets or sets the background image. Represents a cell checkbox control. Gets or set a value indicating whether the check box is in the checked state. Represents a cell combobox control. Sets the Selected index of the ComboBox. This will not calculate formula. To calculate formula,need to call GridDesktop.RunAllFormulas manually. It will not auto calculate formulas in any case even GridDesktop.RecalculateFormulas is true. Gets or sets the index specifying the currently selected item. Setting the index will call GridDesktop.RunAllFormulas method automatic if GridDesktop.RecalculateFormulas property is true. Gets or sets the width of the list control. Gets or sets the height of the list control. Gets an object representing the collection of the items contained in this ComboBox. Gets an object representing the collection of the values contained in this ComboBox. Indicates if the user can input text to the combobox. The inputted text will be saved as the cell's value. The default value is "false". Encapsulates a collection of cell control. Internal use only. Removes the item at the specified row column index of the cell. Row index of cell. Column index of cell. Removes the item by cell name. cell name(in excel name format, like 'A1', 'F22') Adds a button to a specified cell at row column index. Row index of cell. Column index of cell. Width of button. Height of button. Button text. The added button. Adds a button to a specified cell by cell name. Name of grid cell. Width of button. Height of button. Button text. The added button. Adds a button to a specified cell at row column index. Row index of cell. Column index of cell. Width of button. Height of button. Button text. If the Button should always visible, only work for Cell Control Button. The added button. Adds a button to a specified cell by cell name. Name of grid cell. Width of button. Height of button. Button text. If the Button should always visible, only work for Cell Control Button. The added button. Adds a checkbox to a specified cell at row column index. Row index of cell. Column index of cell. Checkbox checked property state. The added checkbox. Adds a checkbox to a specified cell by cell name. Name of grid cell. Checkbox checked property state. The added checkbox. Adds a combobox to a specified cell at row column index. Row index of cell. Column index of cell. The collection of the items contained in ComboBox. The added combobox. Adds a combobox to a specified cell at row column index. Row index of cell. Column index of cell. The collection of the items contained in ComboBox. The collection of the values contained in ComboBox. The added combobox. Adds a combobox to a specified cell by cell name. Name of grid cell. The collection of the items contained in ComboBox. The added combobox. Adds a combobox to a specified cell by cell name. Name of grid cell. The collection of the items contained in ComboBox. The collection of the values contained in ComboBox. The added combobox. Gets the cell control at specified row and column index. row index. column index. If there is not a CellControl object at specified row column index, this will check the column CellControl object. Gets the cell control by specified cell name. cell name(in excel name format, like 'A1', 'F22') If there is not a CellControl object at specified row column index, this will check the column CellControl object. Indicates the cell location. Override the ToString() of the object. Determines whether the specified Object is equal to the current Object. The Object to compare with the current Object. true if the specified Object is equal to the current Object; otherwise, false. Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table. A hash code for the current Object. Overload operator == Overload opertor != Gets or sets the column of the cell location. Gets or sets the row of the cell location. Encapsulates the object that represents a range of cells within a spreadsheet. Default Constructor. CellRange Constructor. Start Row index. Start Column index. End Row index. End Column index. CellRange Constructor. Start cell name. End cell name. check whether current CellRange is inside in the target CellRange target CellRange. Copies from another CellRange object. The CellRange object to copy from. Returns a String that represents the current CellRange. Gets worksheet object. Gets or sets the index of the start row of the range. Gets or sets the index of the end row of the range. Gets or sets the index of the start column of the range. Gets or sets the index of the end column of the range. Gets the address of CellRange object. Represents context menu item's available status. Gets the shortcut menu associated with the control. Gets or sets a value indicating whether the context menu item "Cut" is available. Gets or sets a value indicating whether the context menu item "Copy" is available. Gets or sets a value indicating whether the context menu item "Paste" is available. Gets or sets a value indicating whether the context menu item separator "Separator1" is available. Gets or sets a value indicating whether the context menu item "AddRow" is available. Gets or sets a value indicating whether the context menu item "Insert" is available. Gets or sets a value indicating whether the context menu item "InsertRow" is available. Gets or sets a value indicating whether the context menu item "InsertColumn" is available. Gets or sets a value indicating whether the context menu item "Delete" is available. Gets or sets a value indicating whether the context menu item "DeleteRow" is available. Gets or sets a value indicating whether the context menu item "DeleteColumn" is available. Gets or sets a value indicating whether the context menu item "ClearContents" is available. Gets or sets a value indicating whether the context menu item separator "Separator2" is available. Gets or sets a value indicating whether the context menu item "InsertComment" is available. Gets or sets a value indicating whether the context menu item "DeleteComment" is available. Gets or sets a value indicating whether the context menu item separator "Separator3" is available. Gets or sets a value indicating whether the context menu item "FormatCells" is available. Gets or sets a value indicating whether the context menu item "Hyperlink" is available. Gets or sets a value indicating whether the context menu item "EditHyperlink" is available. Gets or sets a value indicating whether the context menu item "OpenHyperlink" is available. Gets or sets a value indicating whether the context menu item "RemoveHyperlink" is available. Gets or sets a value indicating whether the context menu item "Hide" is available. Gets or sets a value indicating whether the context menu item "UnHide" is available. Sets a value indicating whether all the context menu items are available. Represents identifier information. Returns or sets the name of the object. Returns or sets the value of the custom property. A collection of CustomProperty objects that represent additional information. Adds custom property information. The name of the custom property. The value of the custom property. Gets the custom property by the specific index. The index. The custom property Gets the custom property by the property name. The property name. The custom property Enumerates spreadsheet file format types Represents an Excel2003 file. Represents an Excel2007 xlsx file. Represents a SpreadSheetML file. Conditional format rule type. This conditional formatting rule compares a cell value to a formula calculated result, using an operator. This conditional formatting rule contains a formula to evaluate. When the formula result is true, the cell is highlighted. This conditional formatting rule creates a gradated color scale on the cells. This conditional formatting rule displays a gradated data bar in the range of cells. This conditional formatting rule applies icons to cells according to their values. This conditional formatting rule highlights cells whose values fall in the top N or bottom N bracket, as specified. This conditional formatting rule highlights unique values in the range. This conditional formatting rule highlights duplicated values. This conditional formatting rule highlights cells containing given text. Equivalent to using the SEARCH() sheet function to determine whether the cell contains the text. This conditional formatting rule highlights cells that are not blank. Equivalent of using LEN(TRIM()). This means that if the cell contains only characters that TRIM() would remove, then it is considered blank. An empty cell is also considered blank. This conditional formatting rule highlights cells in the range that begin with the given text. Equivalent to using the LEFT() sheet function and comparing values. This conditional formatting rule highlights cells ending with given text. Equivalent to using the RIGHT() sheet function and comparing values. This conditional formatting rule highlights cells that are completely blank. Equivalent of using LEN(TRIM()). This means that if the cell contains only characters that TRIM() would remove, then it is considered blank. An empty cell is also considered blank. This conditional formatting rule highlights cells that are not blank. Equivalent of using LEN(TRIM()). This means that if the cell contains only characters that TRIM() would remove, then it is considered blank. An empty cell is also considered blank. This conditional formatting rule highlights cells with formula errors. Equivalent to using ISERROR() sheet function to determine if there is a formula error. This conditional formatting rule highlights cells without formula errors. Equivalent to using ISERROR() sheet function to determine if there is a formula error. This conditional formatting rule highlights cells containing dates in the specified time period. The underlying value of the cell is evaluated, therefore the cell does not need to be formatted as a date to be evaluated. For example, with a cell containing the value 38913 the conditional format shall be applied if the rule requires a value of 7/14/2006. This conditional formatting rule highlights cells that are above or below the average for all values in the range. Aspose GridDesktop class Represents a root object to create an GridDesktop control. To use this control, simply drag it from your toolbox to a form or usercontrol. Please refer to .NET SDK document about further information about System.Windows.Forms.UserControl. [C#] gridDesktop1.Worksheets[0].Cells[0, 0].Value = "2"; gridDesktop1.Worksheets[0].Cells[1, 0].Value = "3"; gridDesktop1.Worksheets[0].Cells[2, 1].Value = "=a1*a2"; gridDesktop1.RunAllFormulas(); gridDesktop1.Invalidate(); [Visual Basic] gridDesktop1.Worksheets(0).Cells(0, 0).Value = "2" gridDesktop1.Worksheets(0).Cells(1, 0).Value = "3" gridDesktop1.Worksheets(0).Cells(2, 1).Value = "=a1*a2" gridDesktop1.RunAllFormulas() gridDesktop1.Invalidate() Get the release version. The release version. Aspose GridDesktop class Clears GridDesktop control. [C#] gridDesktop1.Clear(); gridDesktop1.Worksheets.Add(); gridDesktop1.Worksheets.Insert(0); [Visual Basic] gridDesktop1.Clear() gridDesktop1.Worksheets.Add() gridDesktop1.Worksheets.Insert(0) Gets current active worksheet. Worksheet object. [C#] Worksheet worksheet = gridDesktop1.GetActiveWorksheet(); [Visual Basic] Dim worksheet As Worksheet = gridDesktop1.GetActiveWorksheet() Refresh the GridDesktop control. Opens a style dialog,to set cells style,font,colors etc. [C#] gridDesktop1.ShowStyleDialog(); [Visual Basic] gridDesktop1.ShowStyleDialog() Imports from an excel file stream, including disk file stream or memory stream. [C#] private void button1_Click(object sender, System.EventArgs e) { FileStream fs = new FileStream("d:\\bookx.xls", FileMode.Open); try { gridDesktop1.ImportExcelFile(fs); } catch(Exception ex) { } finally { fs.Close(); } } [Visual Basic] Private Sub menuItem1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles menuItem6.Click Dim fs As FileStream = New FileStream("d:\bookx.xls",FileMode.Open) Try gridDesktop1.ImportExcelFile(fs) Catch ex As Exception Throw ex Finally fs.Close() End Try End Sub Imports from an excel file stream, including disk file stream or memory stream. stream object. if true, this method will invoke RunAllFormulas method. Imports from an excel file. [C#] private void button1_Click(object sender, System.EventArgs e) { gridDesktop1.ImportExcelFile("FinancialPlan.xls"); } [Visual Basic] Private Sub menuItem1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles menuItem6.Click gridDesktop1.ImportExcelFile("FinancialPlan.xls") End Sub Imports from an excel file. excel file name. if true, this method will invoke RunAllFormulas method. Imports a worksheet from an excel file. excel file name. index of sheet to be imported. Exports to a excel file stream, including disk IO stream or memory stream. [C#] private void button1_Click(object sender, System.EventArgs e) { FileStream fs = new FileStream("d:\\bookx.xls", FileMode.OpenOrCreate); try { gridDesktop1.Worksheets.ExportExcelFile(fs); } catch(Exception ex) { } finally { fs.Close(); } } [Visual Basic] Private Sub menuItem1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles menuItem6.Click Dim fs As FileStream = New FileStream("d:\bookx.xls", FileMode.OpenOrCreate) Try gridDesktop1.Worksheets.ExportExcelFile(fs) Catch ex As Exception Throw ex Finally fs.Close() End Try End Sub Exports to a excel file stream, including disk IO stream or memory stream. Stream where to save the spreadsheet. Excel file format type. Exports to an excel file. [C#] private void button1_Click(object sender, System.EventArgs e) { gridDesktop1.Worksheets.ExportExcelFile("savedemo.xls"); } [Visual Basic] Private Sub menuItem1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles menuItem7.Click gridDesktop1.Worksheets.ExportExcelFile("savedemo.xls") End Sub Exports to a excel file. The name of created file. Excel file format type. Notifies GridDesktop to start FormatPainter. if formatOnce is true,FormatPainter can use once, if formatOnce is false,FormatPainter can use multi-times,until invokes EndFormatPainter(). [C#] gridDesktop1.StartFormatPainter(true); [Visual Basic] gridDesktop1.StartFormatPainter(True) Notifies GridDesktop to end FormatPainter. [C#] gridDesktop1.StartFormatPainter(false); ... //User Interface Operation ... gridDesktop1.EndFormatPainter(); [Visual Basic] gridDesktop1.StartFormatPainter(False) ... 'User Interface Operation ... gridDesktop1.EndFormatPainter() Opens the FindReplace dialog to find or replace cells. If true, open the Find dialog; else open the Replace dialog. Copies focused cell content to clipboard. Cuts focused cell content to clipboard. Pastes clipboard content to focused cell. Runs all the cells's formula. [C#] gridDesktop1.Worksheets[0].Cells[0, 0].Value = "2"; gridDesktop1.Worksheets[0].Cells[1, 0].Value = "3"; gridDesktop1.Worksheets[0].Cells[2, 1].Value = "=a1*a2"; gridDesktop1.RunAllFormulas(); gridDesktop1.Invalidate(); [Visual Basic] gridDesktop1.Worksheets(0).Cells(0, 0).Value = "2" gridDesktop1.Worksheets(0).Cells(1, 0).Value = "3" gridDesktop1.Worksheets(0).Cells(2, 1).Value = "=a1*a2" gridDesktop1.RunAllFormulas() gridDesktop1.Invalidate() Clean up any resources being used. Sets all scrollbars visible. Sets Split view. Unset Split view. Gets or sets the default font of the cell Gets or sets the default font color of the cell. Gets or sets the default displaying font of comment text. Gets or sets the default displaying font of sheet bar. Gets or sets the active sheet displaying font of sheet bar. Gets or sets a value indicating whether column header is visible. Gets or sets a value indicating whether row header is visible. Gets or sets a value indicating whether the control using R1C1 reference style. Gets or sets a value indicating whether the control can show context menu. Gets or sets a value indicating whether we need to run all formulas,as when we run all formulas, when update one cell value,and it affect others ,and others affect others ,more and more, cause the whole cells need recalculate ,just like the Butterfly Effect,it needs lots of stack opertation , it will get very low performance, like in CELLSNET-41921,this issue contains the very file that can show this scenario we'd better just run all formulas, ,as when run all formulas we may have some optimization. Gets or sets a value indicating whether the copy operation will copy the style's CellLocked attribute value of a cell. Gets or sets a value indicating whether the copy operation will extend the number of rows or columns. Indicates the border style for the control. Gets or sets a value indicating whether sheet bar is visible. Gets or sets the selected sheet index. [C#] gridDesktop1.ActiveSheetIndex = 0; [Visual Basic] gridDesktop1.ActiveSheetIndex = 0 Gets the collection of all the Name objects in the spreadsheet. Occurs when the SelectedSheetIndex property is changed. [C#] private void gridDesktop1_SelectedSheetIndexChanged(object sender, System.EventArgs e) { MessageBox.Show("selected index changed!"); } [Visual Basic] Private Sub gridDesktop1_SelectedSheetIndexChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles gridDesktop1.SelectedSheetIndexChanged MessageBox.Show("selected index changed!") End Sub Occurs when the grid cell data property is changed. [C#] private void gridDesktop1_CellDataChanged(object sender, Aspose.Cells.GridDesktop.Event.CellEventArgs e) { MessageBox.Show("Cell Data changed!"); } [Visual Basic] Private Sub gridDesktop1_CellDataChanged(ByVal sender As Object, ByVal e As Aspose.Cells.GridDesktop.Event.CellEventArgs) Handles gridDesktop1.CellDataChanged MessageBox.Show("Cell Data changed!") End Sub Occurs when the grid workbook state is changed. [C#] private void gridDesktop1_BeforeLoadFile(object sender, Aspose.Cells.GridDesktop.Event.WorkBookEvents e) { MessageBox.Show("before load file!"); } [Visual Basic] Private Sub gridDesktop1_BeforeLoadFile(ByVal sender As Object, ByVal e As Aspose.Cells.GridDesktop.Event.WorkBookEvents) Handles gridDesktop1.CellDataChanged MessageBox.Show("before load file!") End Sub Occurs when the grid workbook state is changed. [C#] private void gridDesktop1_FinishLoadFile(object sender, Aspose.Cells.GridDesktop.WorkBookEvents e) { MessageBox.Show("finish load file!"); } [Visual Basic] Private Sub gridDesktop1_FinishLoadFile(ByVal sender As Object, ByVal e As Aspose.Cells.GridDesktop.WorkBookEvents) Handles gridDesktop1.CellDataChanged MessageBox.Show("finish load file!") End Sub Occurs when the grid workbook state is changed. [C#] private void gridDesktop1_BeforeCalculate(object sender, Aspose.Cells.GridDesktop.Event.WorkBookEvents e) { MessageBox.Show("before calculate formula!"); } [Visual Basic] Private Sub gridDesktop1_BeforeCalculate(ByVal sender As Object, ByVal e As Aspose.Cells.GridDesktop.Event.WorkBookEvents) Handles gridDesktop1.CellDataChanged MessageBox.Show("before calculate formula!") End Sub Occurs when the grid workbook state is changed. [C#] private void gridDesktop1_FinishCalculate(object sender, Aspose.Cells.GridDesktop.Event.WorkBookEvents e) { MessageBox.Show("finish calculate formula!"); } [Visual Basic] Private Sub gridDesktop1_FinishCalculate(ByVal sender As Object, ByVal e As Aspose.Cells.GridDesktop.Event.WorkBookEvents) Handles gridDesktop1.CellDataChanged MessageBox.Show("finish calculate formula!") End Sub Occurs when the focused cell is changed. Occurs when the gridcell is clicked. Occurs when the shape is clicked. Occurs when the gridcell is double clicked. Occurs when a key is pressed while a cell has focus. Occurs when a grid cell validates failed. Occurs when a grid cell ComboBox is being copied. Occurs when the row header clicked. Occurs when the row header double clicked. Occurs when the column header clicked. Occurs when the column header double clicked. Occurs after new row is inserted. Occurs after new column is inserted. Occurs after row is deleted. Occurs after column is deleted. Occurs when the cell button clicked. Occurs when the cell checkbox Checked property is changed. Occurs when the cell combobox SelectedIndex property has changed. Occurs when the comment data has changed. Occurs when the selected cellrange is changed. Occurs when the cell format is changed via Format Cells dialog box. Occurs when the row/column hide status changed. Occurs when typing characters in a grid cell. Occurs after row filter item selected. Gets the Worksheets. [C#] gridDesktop1.Worksheets.Add(); gridDesktop1.Worksheets.Insert(0); [Visual Basic] gridDesktop1.Worksheets.Add() gridDesktop1.Worksheets.Insert(0) Gets or sets a value indicating whether to recalculate all the cells' formula when a cell's value changed. The default value is true. Gets or sets a value indicating whether to show the calculate status The default value is true. Indicates whether to copy/paste based on clipboard,so that it can copy/paste with MS-EXCEL. It only copys/pastes cell value ,It does not copy any other setting of the cell like format,border style and so on The default value is false. Gets the UndoManager instance. Gets or sets a value indicating whether the Undo function is enabled. The default value is false. Indicates which paste type when do paste action,only available when EnableClipboardCopyPaste is false . Gets the ContextMenuManager instance. Sets visible statue for Vertical ScrollBar. Sets visible statue for Horizontal ScrollBar. Sets /Gets width of Sheet Tab. Summary description for RowFilter. Filters rows using criteria string. Clears all filter settings and display all rows. internal uses only. Enables auto filtering. The HeaderRow will display dropdown buttons to let user select the column's value to be filtered. The start row number of the filter range. The end row number of the filter range. If this value is set to -1, the last row number of the sheet is used. The start col number of the filter range. The end col number of the filter range. The header row number which will display filter dropdown buttons. The filter criteria string. The filter criteria string. below are the criteria string examples: CELL0 = 12.3 CELL1 = "ABC" AND(CELL0 = 123, CELL1 = "ABC") OR(CELL0 = 123, CELL1 = "ABC") CELL0 = B1 + 4 Represents sorting orientation SortOrientation.SortTopToBottom represents sorting datas from top to bottom and exchanging data row by row. SortOrientation.SortLeftToRight represents sorting datas from left to right and exchanging data column by column. Represents sorting datas from top to bottom and exchanging data row by row. Represents sorting datas from left to right and exchanging data column by column. Represents what order the data sort by. Sorts by ascending Sorts by descending Indicates a range of a Worksheet and provide method to sort the range datas by row or column. Intializes a new instance of the class by specifing a worksheet range and sort orientation. The Worksheet that contains the range. The start row of the range. The start column of the range. The number of the rows. The number of the columns The sort orientation: top to bottom or left to right. Determines whether the sort datas is case sensitive if datas are string Sorts the datas ascend in the range by index. The column(or row) index that specifis the sort column(or row). If sort orientation is top to bottom, the index represents column index. If sort orientation is left to right, the index represents row index. Sorts the datas in the range by index. The column(or row) index that specifis the sort column(or row). If sort orientation is top to bottom, the index represents column index. If sort orientation is left to right, the index represents row index. The sort order Sorts the datas ascend in the range by some field that are specifed by array indexes. The index array that specifies the data sorted by. Sorts the datas in the range by some field that are specifed by array indexes. The index array that specifies the data sorted by. The sort order array Provides data for grid cell events. Represents a grid cell. The argument of the event. Represents the method that intend to handle cell events. The source of the event. The event argument. Provides data for grid cellrange events. Represents a cellrange object. Represents the method that intend to handle cellrange events. The source of the event. The event argument. Worksheet Events category. Row header is clicked. Row header is double clicked. Column header is clicked. Column header is double clicked. Columns are hidden. Columns are unhidden. Rows are hidden. Rows are unhidden. new row inserted. new column inserted. row filtered. row deleted. column deleted. WorkBook Events category. before load workbook. finish load workbook. before calculate formula. finish calculate formula. Provides data for worksheet events. Gets row or column index of worksheet Gets row or column index array of worksheet Gets event category. Represents the method that intend to handle worksheet events. Represents the method that intend to handle workbook events. Provides data for cell control events. Gets row index of worksheet. Gets column index of worksheet. Represents the method that intend to handle cell control events. The source of the event. The event argument. Provides data for cell ComboBox events. Gets the new value to be set. Gets or sets the value indicating whether the event should be handled. Represents the method that intend to handle cell ComboBox events. The source of the event. The event argument. Provides data for grid cell key events. Gets row index of worksheet. Gets column index of worksheet. Represents the method that intend to handle cell key events. The source of the event. The event argument. Provides data for comment events. Gets row index. Gets column index. Gets old text data of comment Gets new text data of comment Represents the method that intend to handle comment events. The source of the event. The event argument. Provides data for grid cell validation events. Represents a grid cell. Gets the new value set to cell. Gets or sets the value indicating whether the event should be handled. Represents the method that intend to handle cell validation events. The source of the event. The event argument. Provides data for grid cell format event. Gets the format sources, list of CellRange. Gets the new style. Gets the new font. Gets the new font color. Represents the method that intend to handle cell format events. The source of the event. The event argument. Provides data for cell copy ComboBox events. Gets row index of worksheet. Gets column index of worksheet. Gets or sets the value indicating whether the event should be handled. Gets an object representing the collection of the items contained in this ComboBox. Gets an object representing the collection of the values contained in this ComboBox. Represents the method that intend to handle cell copy events. The source of the event. The event argument. Interface for custom row caption. get the custom column caption. column index. return the column caption. Interface for custom row caption. get the custom row caption. Row index. return the row caption. Represents the interface that intend to handle cell events. void handleCellEvent(Object sender, CellEventArgs e); The source grid of the event. The event argument. The e.Cell is the cell who fires the event. The e.Argument contains the argument of the event. Represents the method that intend to handle cell events. same as CellEventHandler interface,but return string result String handleCellEvent(Object sender, CellEventArgs e); The source grid of the event. The event argument. The e.Cell is the cell who fires the event. The e.Argument contains the argument of the event. string value Represents the interface that intend to handle Custom Command events. void handleCellEvent(Object sender, String command); The source grid of the event. The command string user send. Style Constructor. GridDesktop object. Gets or sets Shrink to fit attribute. Gets or sets the custom number format string. Specifies the border type for a gridCell. GridCell has Left border. GridCell has Right border. GridCell has Top border. GridCell has Bottom border. GridCell has DiagonalDown border. GridCell has DiagonalUp border. Represents the paste special type. Copies all data of the ranage. It works as "All" behavior of MS Excel. Copies all data of the ranage withoutd the range. It works as "All except borders" behavior of MS Excel. Only copies the widths of the range. Only copies the heights of the range. Represents a cell object. Returns a string represents the current Cell object. Copies data from a source cell. Source object. Puts a DateTime value into the cell. Input value Puts a String value into the cell. Input value Puts an object value into the cell.same as setValue(Object param_object) input value Puts a int value into the cell. Input value Puts a value into the cell, if appropriate the value will be converted to other data type and cell's number format will be reset. Input value True: converted to other data type if appropriate. True: set the number format to cell's style when converting to other data type Puts a string value into the cell and converts the value to other data type if appropriate. Input value True: converted to other data type if appropriate. Puts a boolean value into the cell. Input value Puts a double value into the cell. Input value Represents if the specified cell contains formula. Gets the parent worksheet. Set the formula and the value of the formula. The formula. The value of the formula. copy the style and set the style for the cell The source style. sets the custom format, null or empty string means no custom format. the custom string presentation Sets the cell's value with a string value and set cell format by this value. Input value. set the display format of numbers and dates the value of ther numbertype,see GridTableItemStyle.NumberType Checks if a formula can properly evaluate a result. Only applies to formula cell. Indicates wether this cell contains an external link. Only applies when the cell is a formula cell. Gets the width of the value in unit of pixels. If the value is a formula,this method set cell's value as FormulaType, Gets cell style. When change the style,you should invoke "SetStyle" method, to set style to cell. return copy of cell style. [C#] Style style = sheet.GetCell(0, 0).GetStyle(); style.CellLocked = true; style.VAlignment = VerticalAlignmentType.Top; ... sheet.GetCell(0, 0).SetStyle(style); [Visual Basic] Dim style As Style = sheet.GetCell(0,0).GetStyle() style.CellLocked = True style.VAlignment = VerticalAlignmentType.Top ... sheet.GetCell(0, 0).SetStyle(style) Sets style to cell. To improve performance,implement "SetStyle" method, not implement "Style" property. style to be set. [C#] Style style = sheet.GetCell(0, 0).GetStyle(); style.CellLocked = true; style.VAlignment = VerticalAlignmentType.Top; ... sheet.GetCell(0, 0).SetStyle(style); [Visual Basic] Dim style As Style = sheet.GetCell(0,0).GetStyle() style.CellLocked = True style.VAlignment = VerticalAlignmentType.Top ... sheet.GetCell(0, 0).SetStyle(style) Sets font to cell. To improve performance,implement "SetFont" method, not implement "Font" property. font to be set. [C#] GridCell cell = gridDesktop1.GetActiveWorksheet().Cells[0, 0]; Font font = new Font("Courier New", 8, FontStyle.Italic); cell.SetFont(font); Color color = cell.GetFontColor(); color = Color.Black; cell.SetFontColor(color); [Visual Basic] Dim cell As GridCell = gridDesktop1.GetActiveWorksheet().Cells(0, 0) Dim font As Font = New Font("Courier New",8,FontStyle.Italic) cell.SetFont(font) Dim color As Color = cell.GetFontColor() color = Color.Black cell.SetFontColor(color) Gets cell font. When change the font, you should invoke "SetFont" method, to set font to cell. return copy of cell font. [C#] GridCell cell = gridDesktop1.GetActiveWorksheet().Cells[0, 0]; Font font = new Font("Courier New", 8, FontStyle.Italic); cell.SetFont(font); Color color = cell.GetFontColor(); color = Color.Black; cell.SetFontColor(color); [Visual Basic] Dim cell As GridCell = gridDesktop1.GetActiveWorksheet().Cells(0, 0) Dim font As Font = New Font("Courier New",8,FontStyle.Italic) cell.SetFont(font) Dim color As Color = cell.GetFontColor() color = Color.Black cell.SetFontColor(color) Sets font color to cell. To improve performance,implement "SetFontColor" method, not implement "FontColor" property. font color to be set. [C#] GridCell cell = gridDesktop1.GetActiveWorksheet().Cells[0, 0]; Font font = new Font("Courier New", 8, FontStyle.Italic); cell.SetFont(font); Color color = cell.GetFontColor(); color = Color.Black; cell.SetFontColor(color); [Visual Basic] Dim cell As GridCell = gridDesktop1.GetActiveWorksheet().Cells(0, 0) Dim font As Font = New Font("Courier New",8,FontStyle.Italic) cell.SetFont(font) Dim color As Color = cell.GetFontColor() color = Color.Black cell.SetFontColor(color) Gets cell font color. When change the color,you should invoke "SetFontColor" method, to set font color to cell. return cell font color. [C#] GridCell cell = gridDesktop1.GetActiveWorksheet().Cells[0, 0]; Font font = new Font("Courier New", 8, FontStyle.Italic); cell.SetFont(font); Color color = cell.GetFontColor(); color = Color.Black; cell.SetFontColor(color); [Visual Basic] Dim cell As GridCell = gridDesktop1.GetActiveWorksheet().Cells(0, 0) Dim font As Font = New Font("Courier New",8,FontStyle.Italic) cell.SetFont(font) Dim color As Color = cell.GetFontColor() color = Color.Black cell.SetFontColor(color) Gets the name of the cell. For example: A1, F102. Gets the value contained in this cell. Possible type:

null,

Boolean,

DateTime,

Double,

Integer

String.

return the cell value type ,the meaning can see GridCellValueType.java Gets or sets a formula of the . A formula string always begins with an equal sign (=). And please always use comma(,) as parameters delimeter, such as "=SUM(A1, E1, H2)".

User can set any formula in Workbook designer file. Aspose.Cells will keep all the formulas. If user use this property to set a formula to a cell, major part of Workbook built-in functions is supported. And more is coming. If you have any special need for Workbook built-in functions, please let us know.
[C#] cell.Formula = "=SUM(A1:C3) + E6*2"; [Visual Basic] cell.Formula = "=SUM(A1:C3) + E6*2"
Gets the string value contained in the cell. Gets the copy of cell style. set the style for the cell. Style object. Gets the DateTime value contained in the cell. Gets worksheet object. Gets row number (zero based) of the cell. Cell row number Gets column number (zero based) of the cell. Gets the formatted string value of this cell. Gets the integer value contained in the cell. Gets the double value contained in the cell. Gets the float value contained in the cell. Gets the boolean value contained in the cell. Indicates if the cell's style is set. If return false, it means this cell has a default cell format. Gets and sets the html string which contains data and some formattings in this cell. Indicates if the cell is protected. If the value is "true", user can not modify the cell through the user interface. This attribute has nothing to do with the Style.CellLocked property and will not be saved to file when grid data exported. The default value is "false". Represents an area of cells. Gets or sets the start row of this area. Gets or sets the end row of this area. Gets or sets the start column of this area. Gets or sets the end column of this area. Test if the object equals to another WebCellArea object. Get the hashcode. Used in WebCellException. Represents the cell error type. The cell's validation failed. When insert the sheet's binding row to datasource, an error occured. When update the sheet's binding row or object's field, an error occured. When delete the sheet's binding row to datasource, an error occured. Represents a cell operation error. Gets the error cell. If the Cell is null, the error is cause by an CommitNewBindRow operation, that means the DataTable rejected the new created row. Gets the error type. Get the error value. Encapsulates a collection of objects. Merges a specified range of cells into a single cell. First row of this range(zero based) First column of this range(zero based) Number of rows(one based) Number of columns(one based) Reference the merged cell via the address of the upper-left cell in the range. Gets the element or null at the specified cell row index and column index. Row index Column index Return Cell object if a Cell object exists. Return null if the cell does not exist. Gets the element or at the specified cell row index. Row index If the row object does exist return Row object Gets the element or at the specified cell column index. Column index If the column object does exist return column object Gets the rows enumerator The rows enumerator Checks whether a row at given index is hidden. row index true if the row is hidden Checks whether a column at given index is hidden. column index true if the column is hidden. Unmerges a specified range of merged cells. First row of this range(zero based) First column of this range(zero based) Number of rows(one based) Number of columns(one based) Hides a row. Row index. Sets the height of the specified row. Row index. Height of row.In unit of point It should be between 0 and 409.5. To hide a row, sets row height to zero. Sets row height in unit of pixels. Row index. Number of pixels. Sets row height in unit of inches. Row index. Number of inches.It should be between 0 and 409.5/72. Gets the height of a specified row. Row index Height of row Gets the height of a specified row in unit of pixel. Row index Height of row Gets the height of a specified row in unit of inches. Row index Height of row Sets the width of the specified column. Column index. Width of column.Column width must be between 0 and 255. To hide a column, sets column width to zero. Sets column width in unit of pixels. Column index. Number of pixels. Sets column width in unit of inches. Column index. Number of inches. Get the width in different view type. The column index. the column width in unit of pixels Gets the width of the specified column Column index Width of column Gets the width of the specified column, in units of pixel. Column index Width of column in normal view. Gets the width of the specified column, in units of inches. Column index Width of column Unhides a row. Row index. Hides a column. Column index. Unhides a column Column index. Column width..Column width must be between 0 and 255 Copies data and formattings of a whole column. Source Cells object contains data and formattings to copy. Source column index. Destination column index. Copies data and formattings of a whole column. Source Cells object contains data and formattings to copy. Source column index. Destination column index. The copied column number. Copies data and formattings of a whole row. Source Cells object contains data and formattings to copy. Source row index. Destination row index. Copies data and formattings of some whole rows. Source Cells object contains data and formattings to copy. Source row index. Destination row index. The copied row number. Ungroups columns. The first column index to be ungrouped. The last column index to be ungrouped. Groups columns. The first column index to be grouped. The last column index to be grouped. Groups columns. The first column index to be grouped. The last column index to be grouped. Specifies if the grouped columns are hidden. Ungroups rows. The first row index to be ungrouped. The last row index to be ungrouped. Only removes outter group info. Groups rows. The first row index to be grouped. The last row index to be grouped. Deletes a column. Column index. Deletes a column. Column index. Indicates if update references in other worksheets. Deletes several columns. Column index. Number of columns to be deleted. Indicates if update references in other worksheets. Inserts some columns into the worksheet. Column index. The number of columns. Inserts some columns into the worksheet. Column index. The number of columns. Indicates if references in other worksheets will be updated.v Inserts a new column into the worksheet. Column index. Indicates if references in other worksheets will be updated. Inserts a new column into the worksheet. Column index. Deletes several rows. The first row index to be deleted. Number of rows to be deleted. If the deleted range contains the top part(not whole) of the table(ListObject), the ranged could not be deleted and nothing will be done.It works as MS Excel. Deletes multiple rows in the worksheet. Row index. Number of rows to be deleted. Indicates if update references in other worksheets. Deletes a row. Row index. Inserts multiple rows into the worksheet. Row index. Number of rows to be inserted. Indicates if references in other worksheets will be updated. Inserts multiple rows into the worksheet. Row index. Number of rows to be inserted. Inserts a new row into the worksheet. Row index. Delete all blank columns which do not contain any data. Checks whether given column is blank(does not contain any data). the column index true if given column does not contain any data Delete all blank rows which do not contain any data. Clears contents and formatting of a range. Start row index. Start column index. End row index. End column index. Clears contents and formatting of a range. Range to be cleared. Clears contents of a range. Start row index. Start column index. End row index. End column index. Clears contents of a range. Range to be cleared. Clears formatting of a range. Start row index. Start column index. End row index. End column index. Clears formatting of a range. Range to be cleared. Sets the style to a specified range of cells. First row of this range(zero based) First column of this range(zero based) Number of rows(one based) Number of columns(one based) The style object to be set Sets the style to a specified range of cells. The range of cells' names, like "A1:D6" The style object to be set Removes all formula and replaces with the value of the formula. Sorts the datas ascend/decend top to bottom in a range of a Worksheet by specified column index. Sorts the datas ascend/decend left to right in a range of a Worksheet by specified row index. The row number of the first cell to sort. The column number of the first cell to sort. Number of rows to be imported. Number of columns to be imported. The column index that specifis the sort column. if the Orientation is top to bottom ,it stand for the column index that specifis the sort column. if the Orientation is from left to right,it stand for the row index that specifis the sort row. whether the sorting order is asending . whether the sort is casesensitive . whether the sort orientation is from left to right [C#] GridWeb1.WebWorksheets[0].Cells.Sort(1,0,25,6,3,true,true,false); [VB] GridWeb1.WebWorksheets(0).Cells.Sort(1,0,25,6,3,true,true,false) Clear all cells in the collection. Gets column index according to column name. Column name. Column index. Gets column name according to column index. Column index. Name of column. Gets cell name according to its row and column indexes. Row index. Column index. Name of cell. Gets the cell row and column indexes according to its name Name of cell. Output row index Output column index Gets the rows enumerator The rows enuerator. Gets item within the worksheet The zero based index of the element. The element at the specified index. This is the indexer for the Cells class. Gets the cell element at the specified index. Gets the element at the specified cell row index and column index. Row index. Column index. The object. [C#] Cells cells = excel.Worksheets[0].Cells; Cell cell = cells[0, 0]; //Gets the cell at "A1" [Visual Basic] Dim cells As Cells = excel.WorkSheets(0).Cells Dim cell As Cell = cells(0,0) 'Gets the cell at "A1" Gets the element at the specified cell name. Cell name,including its column letter and row number, for example A5. A object [C#] Cells cells = excel.Worksheets[0].Cells; Cell cell = cells["A1"]; //Gets the cell at "A1" [Visual Basic] Dim cells As Cells = excel.Worksheets(0).Cells Dim cell As Cell = cells("A1") 'Gets the cell at "A1" Gets the number of cells. Gets or sets the default column width in the worksheet,in unit of characters. Gets or sets the default row height in this worksheet,in unit of points. Gets or sets the default row height in this worksheet,in unit of pixels. Gets the collection of merged cells. In this collection, each item is a structure which represents an area of merged cells. Maximum row index of cell which contains data or style. Return -1 if there is no cell whiche contains data or style in the worksheet. Maximum column index of cell which contains data or style. Return -1 if ther is not cell. Represents a single column in a worksheet. Default width of gridcolumn. Removes the CellControl object of the column. Adds a button to the column. Width of button. Height of button. Button text. Adds a validation to the column. Value indicating whether cell value of this column is required. Regular expression. Adds a combobox to the column. The collection of the items contained in ComboBox. Adds a combobox to the column. The collection of the items contained in ComboBox. The collection of the values contained in ComboBox. Adds a checkbox to the column. Gets the index of this column. Indicates whether the column is hidden. Gets or sets the width of column object.in unit of pixel Gets the CellControl object of the column. Collects the objects that represent the individual columns in a worksheet. Gets the rows enumerator The rows enumerator Gets the object by the position in the list. The position in the list. Returns the column object. Gets a object by column index. The Column object of given column index will be instantiated if it does not exist before. Encapsulates the object that represents a cell comment. Get or set the width of the comment. Default value is 140. The input value should between 20 and 1000. It will be set to 20 if a value less than 20 is inputted. It will be set to 1000 if a value greater than 1000 is inputed. Get or set the height of the comment. Default value is 120. The input value should between 20 and 1000. It will be set to 20 if a value less than 20 is inputted. It will be set to 1000 if a value greater than 1000 is inputed. Encapsulates a collection of objects. Gets the rows enumerator The rows enumerator Adds a comment to the collection. Cell row index. Cell column index. object index. Adds a comment to the collection. Cell name. object index. Removes the comment of the specific cell. The name of cell which contains a comment. Removes the comment of the specific cell. The row index. the column index. Removes all comments; Adds a comment to a specified cell by cell name. Name of grid cell. Text of comment. Removes the comment at the specified row column index of the cell. Row index of cell. Column index of cell. Gets the element at the specified index. The zero based index of the element. The element at the specified index. Gets the element at the specified cell. Cell name. The element at the specified cell. Gets the element at the specified row index and column index. Row index. Column index. The element at the specified cell. Encapsulates the object that represents a hyperlink. Represents the address of a hyperlink. Returns or sets the self defined command value text for the specified hyperlink. Represents the text to be displayed for the specified hyperlink. The default value is the address of the hyperlink. Gets the range of hyperlink. Returns or sets the ScreenTip text for the specified hyperlink. Get or Set web link target type,please note this is an extension attribute and can not keep in excel file Indicates whether to discard user input at client browser when user click this CellCommand hyperlink. Could be used as an "undo" action. Get or Set Image URL for the link, there is no imageurl properties in hyperlink, so actually use TextToDisplay to record this value ,TextToDisplay will be set to <img src=value > so it will change the value of TextToDisplay Encapsulates a collection of objects. Adds a hyperlink to a specified cell or a range of cells. First row of the hyperlink range. First column of the hyperlink range. Number of rows in this hyperlink range. Number of columns of this hyperlink range. Address of the hyperlink. object index. [C#] Worksheet worksheet = excel.Worksheets[0]; worksheet.Hyperlinks.Add("A4", 1, 1, "http://www.aspose.com"); worksheet.Hyperlinks.Add("A5", 1, 1, "c:\\book1.xls"); [Visual Basic] Dim worksheet as Worksheet = excel.Worksheets(0) worksheet.Hyperlinks.Add("A4", 1, 1, "http://www.aspose.com") worksheet.Hyperlinks.Add("A5", 1, 1, "c:\\book1.xls") Adds a hyperlink to a specified cell or a range of cells. Cell name. Number of rows in this hyperlink range. Number of columns of this hyperlink range. Address of the hyperlink. object index. Adds a hyperlink to a specified cell . Cell name. Address of the hyperlink. object index. Adds a hyperlink to a specified cell or a range of cells. The top-left cell of the range. The bottom-right cell of the range. Address of the hyperlink. The text to be displayed for the specified hyperlink. The screenTip text for the specified hyperlink. object index. Clears all hyperlinks. Remove the hyperlink at the specified index. The zero based index of the element. Adds a hyperlink to a specified cell at row column index. Row index of cell. Column index of cell. Url of hyperlink. Gets the element at the specified index. The zero based index of the element. The element at the specified index. Gets the element at the specified cell. The row of the cell. The col of the cell. The element at the specified index.you may get null if no hyperlinks find in this cell Only for preserving the drawing object in the template file. Only for preserving the drawing object in the xlsx file. Encapsulates the object that represents a name object. Returns a string represents the current Range object. Gets the name text of the object. Returns or sets the formula that the name is defined to refer to, beginning with an equal sign. Indicates this name belongs to Workbook or Worksheet. 0 = Global name, otherwise index to sheet (one-based) Encapsulates a collection of objects. Gets the rows enumerator The rows enumerator Defines a new global name. Name text.It can have sheetname . The formula that the name is defined to refer to.It must have a sheetname .eg.'sheet hello!'A1:B2. Name object index. Defines a new name in the specified sheet. The sheet index that the name is applyed in. Name text.It can not have sheetname . The formula that the name is defined to refer to.It must have sheetname .eg.'sheet hello!'A1:B2. Name's SheetIndex ,the index is from 1. Name object index. Remove an array of name The names' text. Remove the name at the specific index. Please make sure that the name is not referred by the other formulas before calling the method. And if the name is referred,please only set Name.RefersTo as null. Removes all Names; Gets the element at the specified index. The zero based index of the element. The element at the specified index. Represents Between operator of conditional format and data validation. Represents Equal operator of conditional format and data validation. Represents GreaterThan operator of conditional format and data validation. Represents GreaterOrEqual operator of conditional format and data validation. Represents LessThan operator of conditional format and data validation. Represents LessOrEqual operator of conditional format and data validation. Represents no comparision. Represents NotBetween operator of conditional format and data validation. Represents NotEqual operator of conditional format and data validation. Encapsulates the object that represents a single picture in a spreadsheet. Moves the picture to a specified location. Upper left row index. Upper left column index. Indicates whether the shape is a group. Adds a hyperlink to the shape. Address of the hyperlink. Return the new hyperlink object. Remove the hyperlink of the shape. Moves the shape to a specified range. Upper left row index. Upper left column index. Lower right row index Lower right column index Moves the picture to the top-right corner. the row index. the column index. Gets the data of the picture. Gets the original height of the picture. Gets the original width of the picture. Represents the of the border line of a picture. Gets or sets the weight of the border line of a picture in units of pt. Gets or sets the path and name of the source file for the linked image. The default value is an empty string. If SourceFullName is not an empty string, the image is linked. If SourceFullName is not an empty string, but Data is null, then the image is linked and not stored in the file. Gets the image format of the picture. Gets or sets the Image object. Gets the original height of picture, in unit of centimeters. Gets the original width of picture, in unit of centimeters. Gets the original height of picture, in unit of inches. Gets the original width of picture, in unit of inches. Gets and sets the name of the shape. Indicates whether the object is visible. True if the object is locked, False if the object can be modified when the sheet is protected. Represents the height of shape, in unit of pixel. Represents the width of shape, in unit of pixels. Returns the position of a shape in the z-order. True means that don't allow changes in aspect ratio. Gets and sets the rotation of the shape. Gets the hyperlink of the shape. Represents the horizontal offset of shape from its left column, in unit of pixels. Represents the vertical offset of shape from its top row, in unit of pixels. If the shape is in the chart, represents the vertical offset of shape from its top border. Represents the width of the shape's horizontal offset from its lower right corner column, in unit of pixels. Represents upper left corner column index. Represents upper left corner row index. If the shape is in the shape or in the group , UpperLeftRow will be ignored. Represents lower right corner column index. Represents lower right corner row index. Gets or sets the shape's vertical offset from its upper left corner row. The range of value is 0 to 256. Gets or sets the shape's horizontal offset from its upper left corner column. The range of value is 0 to 1024. Gets or sets the shape's vertical offset from its lower right corner row. The range of value is 0 to 256. Gets or sets the shape's horizontal offset from its lower right corner column. The range of value is 0 to 1024. Represents the width of the shape, in unit of inch. Represents the width of the shape, in unit of point. Represents the width of the shape, in unit of centimeters. Represents the height of the shape, in unit of inches. Represents the height of the shape, in unit of points. Represents the height of the shape, in unit of inches. Represents the horizontal offset of shape from its left column, in unit of inches. Represents the horizontal offset of shape from its left column, in unit of centimeters. Represents the vertical offset of shape from its top row, in unit of inches. Represents the vertical offset of shape from its top row, in unit of centimeters. Gets and sets the horizonal offset of shape from worksheet left border,in unit of pixels. Gets and sets the vertical offset of shape from worksheet top border,in unit of pixels. Gets and sets the width scale, in unit of percent of the original picture width. If the shape is not picture ,the WidthScale property only returns 100; Gets and sets the height scale,in unit of percent of the original picture height. If the shape is not picture ,the HeightScale property only returns 100; Gets and sets the line border of the shape is visible. Gets and sets whether shape is vertically flipped . Indicates whether shape is relative to original picture size. Gets or sets the worksheet range linked to the control's value. Represents the string in this TextBox object. Gets and sets the html string which contains data and some formattings in this textbox. Gets and sets the text wrapped type of the shape which contains text. Represents the horizontal offset of shape from its left column, in unit of pixels. Represents the vertical offset of shape from its top row, in unit of pixels. Encapsulates a collection of objects. Adds a picture to the collection. Upper left row index. Upper left column index. Lower right row index Lower right column index Stream object which contains the image data. object index. Adds a picture to the collection. Upper left row index. Upper left column index. Lower right row index Lower right column index Image filename. object index. Adds a picture to the collection. Upper left row index. Upper left column index. Stream object which contains the image data. object index. Adds a picture to the collection. Upper left row index. Upper left column index. Image filename. object index. Adds a picture to the collection. Upper left row index. Upper left column index. Image filename. Scale of image width, a percentage. Scale of image height, a percentage. object index. Gets the rows enumerator The rows enumerator Adds a Picture to a specified cell by cell name. Name of grid cell. File name of picture. Adds a Picture to a specified cell at row column index. Row index of cell. Column index of cell. Image. Removes the items at the specified row column index of the cell. Row index of cell. Column index of cell. Gets the element at the specified index. The zero based index of the element. The element at the specified index. Sets whether the specific PivotItem in a data field is hidden. the index of the pivotItem in the pivotField. whether the specific PivotItem is hidden Sets whether the specific PivotItem in a data field is hidden. the value of the pivotItem in the pivotField. whether the specific PivotItem is hidden Sets whether the specific PivotItem in a data field is hidden. the name of the pivotItem in the pivotField. whether the specific PivotItem is hidden Represents the function used to summarize the PivotTable data field. Indicates whether the specified PivotTable field is automatically sorted. Indicates whether the specified PivotTable field is autosorted ascending. Represents the PivotField display name. Represents the PivotField index in the PivotFields. Encapsulates a collection of objects. Adds a PivotField Object to the specific type PivotFields. a PivotField Object. the index of the PivotField Object in this PivotFields. Clears all PivotFields. Gets the element at the specified index. The zero based index of the element. The element at the specified index. Represents Sum function. Represents Count function. Represents Average function. Represents Max function. Represents Min function. Represents Product function. Represents Count Nums function. Represents StdDev function. Represents StdDevp function. Represents Var function. Represents Varp function. Presents base pivot field type. Presents row pivot field type. Presents column pivot field type. Presents page pivot field type. Presents data pivot field type. Moves the item up or down. The number of moving up or down. Move the item up if this is less than zero; Move the item down if this is greater than zero. Gets the string value of the pivot item If the value is null, it will return "" Gets the double value of the pivot item If the value is null or not number ,it will return 0 Gets the date time value of the pivot item If the value is null ,it will return DateTime.MinValue Gets and Sets whether the pivot item is hidden. Gets the value of the pivot item Gets the name of the pivot item. Gets the index of the pivot item in the pivot field Encapsulates a collection of objects. Adds a PivotItem Object to the specific type PivotItems. a PivotItem Object. the index of the PivotItem Object in this PivotItems. Gets the element at the specified index. The zero based index of the element. The element at the specified index. Represents a PivotTable report on a worksheet. The PivotTable object is a member of the collection. The PivotTables collection contains all the PivotTable objects on a control. Gets the specific fields by the field type. the field type. the specific fields Gets the specific field by the field name. the field name. the specific field clear all pivot fields. Adds the field to the specific area. The fields area type. The field index in the base fields. The field position in the specific fields. Adds the field to the specific area. The fields area type. The name in the base fields. The field position in the specific fields.If there is no field named as it, return -1. Refreshes pivottable's data and setting from it's data source. We will gather data from data source to a pivot cache ,then calcualte the data in the cache to the cells. This method is only used to gather all data to a pivot cache. Calculates pivottable's data to cells. Cell.Value in the pivot range could not return the correct result if the method is not been called. This method caclulates data with an inner pivot cache,not original data source. So if the data source is changed, please call RefreshData() method first. Encapsulates a collection of objects. Adds a new PivotTable cache to a PivotCaches collection. The data cell range for the new PivotTable.Example : Sheet1!A1:C8 The cell in the upper-left corner of the PivotTable report's destination range. The name of the new PivotTable report. The new added cache index. Adds a new PivotTable cache to a PivotCaches collection. The source work sheet. The area in the source worksheet. The row of the cell in the upper-left corner of the PivotTable report's destination range. The column of the cell in the upper-left corner of the PivotTable report's destination range. The name of the new PivotTable report. The new added cache index. Adds a new PivotTable cache to a PivotCaches collection. The name of the source worksheet. The area in the source worksheet. The row of the cell in the upper-left corner of the PivotTable report's destination range. The column of the cell in the upper-left corner of the PivotTable report's destination range. The name of the new PivotTable report. The new added cache index. Adds a new PivotTable cache to a PivotCaches collection. The name of the source worksheet. The area in the source worksheet. The cell in the upper-left corner of the PivotTable report's destination range. The name of the new PivotTable report. The new added cache index. Clears all PivotTables. Remove the PivotTable at the specified index. The zero based index of the element. Gets the element at the specified index. The zero based index of the element. The element at the specified index. Encapsulates the object that represents a single picture in a spreadsheet. Default height of gridrow. Gets the cells enumerator The cells enumerator Gets the cell. The column index Gets or sets the height of row object.in unit of pixel Encapsulates a collection of objects. Gets the rows enumerator The rows enumerator Gets the row object by the position in the list. The position. The Row object at given position. Gets a object by given row index. The Row object of given row index will be instantiated if it does not exist before. Enumerates supported file format types. CSV Excel 2003, Excel97-2003 xls file. Excel 2007 Represents an xlsx file Excel 2007 xlsm file which enable macros Excel Template file Represents an Xltx file which enable macros. Represents a tab delimited text file,txt file. Represents a html file. Represents a pdf file. Represents a ods file. SpreadsheetML,Represents an Excel 2003 xml file. Represents a XLSB file. Represents a mhtml file. Represents a XPS file. Represents a TIFF file. Represents a SVG file. Data Interchange Format. Represents a shape object. Gets and sets mso drawing type. Represents upper left corner row index. If the shape is in the shape or in the group , UpperLeftRow will be ignored. Represents upper left corner column index. Represents the string in this TextBox object. Gets and sets the name of the shape. Represents the horizontal offset of shape from its left column, in unit of pixels. Represents the vertical offset of shape from its top row, in unit of pixels. If the shape is in the chart, represents the vertical offset of shape from its top border. Returns the position of a shape in the z-order. Gets the image format of the picture. Represents the horizontal offset of shape from its left column, in unit of pixels. Represents the vertical offset of shape from its top row, in unit of pixels. Remove the shape. The index of the shape. Gets the rows enumerator The rows enumerator Gets the element at the specified index. The zero based index of the element. The element at the specified index. Sets the border line type of the specified border. borderType which border to set. borderLineType border line type of the specified border. Sets the color of the specified border. borderType which border to set. of the specified border. Creates and returns a copy of this object. NOTE:If you clone a named style, name is not cloned becaule style name must be unique. Therefore, the cloned style will not "equals to" the original style. Return a new Style object. same as NumberFormat Gets or sets the cell background pattern type. Gets or sets the cell shading color. when pattern is none ,it return Color.Empty; when pattern is BackgroundType.Solid,it return ForegroundColor; others it return BackgroundColor Gets or sets the cell background color,if style pattern is not set to solid,then it will take affect Gets or sets a style's foreground color. It means no color setting if Color.Empty is returned. Gets or sets a value indicating whether the text within a cell is wrapped. Represents the m_IndentLevel level for the cell or range. Can only be an integer from 0 to 15. If text horizontal alignment type is set to value other than left or right, m_IndentLevel level will be reset to zero. Represents text rotation angle.

0: Not rotated.

255: Top to Bottom.

-90: Downward.

90: Upward.

You can set 255 or value ranged from -90 to 90.
Gets or sets horizontal alignment attribute. Gets or sets vertical alignment attribute. Gets or sets text direction attribute. Gets or sets the display format of numbers and dates.
Value   Type   Format String  
0 General General
1 Decimal 0
2 Decimal 0.00
3 Decimal #,##0
4 Decimal #,##0.00
5 Currency $#,##0;($#,##0)
6 Currency $#,##0;[Red]($#,##0)
7 Currency $#,##0.00;($#,##0.00)
8 Currency $#,##0.00;[Red]($#,##0.00)
9 Percentage 0%
10 Percentage 0.00%
11 Scientific 0.00E+00
12 Fraction # ?/?
13 Fraction # ??/??
14 Date m/d/yyyy
15 Date d-mmm-yy
16 Date d-mmm
17 Date mmm-yy
18 Time h:mm AM/PM
19 Time h:mm:ss AM/PM
20 Time h:mm
21 Time h:mm:ss
22 Time m/d/yyyy h:mm
37 Accounting #,##0;(#,##0)
38 Accounting #,##0;[Red](#,##0)
39 Accounting #,##0.00;(#,##0.00)
40 Accounting #,##0.00;[Red](#,##0.00)
41 Accounting _ * #,##0_ ;_ * (#,##0)_ ;_ * "-"_ ;_ @_
42 Currency _ $* #,##0_ ;_ $* (#,##0)_ ;_ $* "-"_ ;_ @_
43 Accounting _ * #,##0.00_ ;_ * (#,##0.00)_ ;_ * "-"??_ ;_ @_
44 Currency _ $* #,##0.00_ ;_ $* (#,##0.00)_ ;_ $* "-"??_ ;_ @_
45 Time mm:ss
46 Time [h]:mm:ss
47 Time mm:ss.0
48 Scientific ##0.0E+00
49 Text @
add the validation settings in the cell. The row index. The column index. add the validation settings in the cell. cell name. Applies the validation to the area. The area. In this method , we will remove all old validations on this area. Remove the validation settings in the range. The range which contains the data validation settings. Remove the validation settings in the cell. The row index. The column index. Gets or sets the validation type. Gets/Sets the value list object. Represents a collection of which contains the data validation settings. The old valvidations on the area will not be removed if directly adding are to this list. Represents the value or expression associated with the data validation. Represents the value or expression associated with the second part of the data validation. Represents the operator for the data validation. Represents the data validation error message. Represents the title of the data-validation input dialog box. Indicates whether the data validation error message will be displayed whenever the user enters invalid data. Represents the data validation error message. Represents the title of the data-validation error dialog box. Gets or sets the regular expression string. Gets or sets the client validation javascript function name. Use the ClientValidationFunction property to specify the client validation function's name. The function should be declared as this formation:
function customValicationFunction(source, value)
The parameter "source" is the cell object. The parameter "value" is the string value of a cell to be checked. The function should returns true if the value is valid.
Gets or sets the custom validation object. Gets or sets the custom message title to show when a invalid value input. Gets or sets the custom message to show when user edits invalid value. Gets or sets the custom message to show when user's operation brings invalid value. Encapsulates a collection of objects. Add a to the collection. A validation object. object index. Add a to the collection. the added GridValidation instance. Add a to the collection.the validation is applied to the specificed cell. the name of the cell. the added GridValidation instance. Add a to the collection.the validation is applied to the specificed cell. Row index of cell. Column index of cell. the added GridValidation instance. Clears all validations. Remove the validation at the specified index. The zero based index of the element. Adds a validation to a specified cell by cell name. Name of grid cell. Value indicating whether cell value is required. Regular expression. Adds a validation to a specified cell at row column index. Row index of cell. Column index of cell. Custom validaton object. Adds a validation to a specified cell at row column index. Row index of cell. Column index of cell. Value indicating whether cell value is required. Regular expression. Adds a validation to a specified cell by cell name. Name of grid cell. Custom validaton object. Gets the element at the specified index. The zero based index of the element. The element at the specified index. Gets the element at the specified cell.if no validation ,then return null. The row of the cell. The column of the cell. The element at the specified index. If there is not a validation object at specified row column index, this will check the column validation object. Any value validation type. Whole number validation type. Decimal validation type. List validation type. Date validation type. Time validation type. Text length validation type. Custom validation type. Show dropdown list. Free List validation type. Custom validation type, using regular expression. TRUE or FALSE DateTime (yyyy-MM-dd or yyyy-MM-dd hh:mm:ss). Custom javascript function validation. Use the ClientValidationFunction property to specify the client validation function's name. The function should be declared as this formation:
function customValicationFunction(source, value)
The parameter "source" is the cell object. The parameter "value" is the string value of a cell to be checked. The function should returns true if the value is valid.
Display the cell as a checkbox. And the value of the cell is True of False. Represents a root object to create an Excel spreadsheet. Calculates the result of formulas. Encapsulates the object that represents a single worksheet. Copies contents and formats from another worksheet. Source worksheet. Indicates if the worksheet is protected. Unfreezes panes in the worksheet. Freezes panes at the specified cell in the worksheet. Cell name. Number of visible rows in top pane, no more than row index. Number of visible columns in left pane, no more than column index. Row index and column index cannot all be zero. Number of rows and number of columns also cannot all be zero. Freezes panes at the specified cell in the worksheet. Row index. Column index. Number of visible rows in top pane, no more than row index. Number of visible columns in left pane, no more than column index.

Row index and column index cannot all be zero. Number of rows and number of columns also cannot all be zero.

The first two parameters specify the freezed position and the last two parameters specify the area freezed on the left top pane.

Gets the freeze panes. Row index. Column index. Number of visible rows in top pane, no more than row index. Number of visible columns in left pane, no more than column index. Return whether the worksheet is frozen Sets the range to which the specified AutoFilter applies. header Row index. Start column index. End column Index. Sets the filter for the column.notice we shall call AddAutoFilter before calling of filterString The filter criteria string. notice we use comma->"," as split char,so the cell value you want to filter shall not contains with comma filterString(10,"123,456") means column 10 shall contain 123 or 456, filterString(10,"123") means column10 shall contain 123 value split with comma,eg. 123,456,789 or abc Refresh auto filters to hide or unhide the rows. Remove the auto filter of the worksheet. The integer offset of the field on which you want to apply ,based on the first filter column (from the left of the list; the leftmost field is field 0). Add custom filter for the specified row. The filter criteria string. notice we use , and ; as split char,so the cell value shall not contains with those split char below are the criteria string examples: //column 0 with value 12.3 CELL0 = 12.3 //column 1 with value ABC CELL1 = ABC //column 0 with value 123 or 456 or ABC and column 1 with value ABC CELL0 = 123,456,ABC; CELL1 = ABC Moves the sheet to another location in the spreadsheet. Destination sheet index. Clears all comments in designer spreadsheet. Calculates a formula. Protects worksheet. This method protects worksheet without password. It can protect worksheet in all versions of Excel file. unProtects worksheet. Autofits the column width. Column index. First row index. Last row index. This method autofits a row based on content in a range of cells within the row. Autofits the column width. Column index. AutoFitColumn is an imprecise function. Autofits all columns in this worksheet. Autofits the columns width. First column index. Last column index. AutoFitColumn is an imprecise function. Autofits the columns width. First row index. First column index. Last row index. Last column index. AutoFitColumn is an imprecise function. Autofits all rows in this worksheet. Autofits all rows in this worksheet.It will also auto fit row height when the cells is merged in a row. If the cells in merged in a row and auto fit the rows in MS Excel, MS Excel do not expand the row height. Aspose.Cells will expand the row height to fit the cells' data. Autofits the row height. Row index. AutoFitRow is an imprecise function. Autofits the row height. Row index. First column index. Last column index. This method autofits a row based on content in a range of cells within the row. Autofits row height in a rectangle range. Start row index. End row index. Start column index. End column index. Autofits row height in a range. Start row index. End row index. Makes all cells readonly.this is extended attribute notice this attribute can not keep in actual cell,if you want to keep protect please use setProtect Makes all cells editable.this is extended attribute Gets the column caption. If the caption is not set, returns empty string. Column index. The column caption. If the caption is not set, returns empty string. Sets the caption for the column.please note this is an extension attribute and can not keep in excel file Column index. The column caption. Pass null or empty string if you want cancel the caption. Gets whether the cell is readonly.this is an extended attribute of GridWeb ,it will not keep in actual excel file Sets whether the cell is readonly.this is an extended attribute ,it will not keep in actual excel file Default rows count of worksheet. Default columns count of worksheet. Determines whether the cell is focused. Gets the focused cell. Cell object. Gets the cell location by client coordinates point. Client coordinates point CellLocation object. Gets a cell location which is focused. Sets the cell focus at the specified location. Cell location. Sets the cell focus at the specified column and row. Row index. Column index. Gets the cell range of last selected. CellRange object. Gets all selected ranges of this worksheet. an ArrayList contains all selected CellRange objects. Add a new selected range to the worksheet. The added selected range Determines whether the specified cell location is in selected. Cell location. Determines whether the specified column at index is in selected. Determines whether the specified row at index is in selected. Clear the selection in Worksheet. Merges a specified range of cells into a single cell. CellRange of this range(zero based) Reference the merged cell via the address of the upper-left cell in the range. Unmerges a specified range of cells into a single cell. CellRange of this range(zero based) Reference the merged cell via the address of the upper-left cell in the range. Remove the specified cell location from merges. Cell location. Remove the specified cell row column index from merges. Row index. Column index. Clear all merges. Gets a value whether the specified cell location is in merges. Gets the index of the focused merge. Gets a value that indicates whether the specified column in merges. Gets a value that indicates whether the specified row in merges. Gets the cell range of the merge at the specified index. Gets a value that indicates whether the specified cell range in merges. Binds data from data source object with Worksheet object. The data source for GridDesktop control. The data member string that specifies the table to bind to within the data source object. Unbind data from data source object with Worksheet object. Groups rows. The first row index to be grouped. The last row index to be grouped. outlineLevel Specifies if the grouped rows are shown. Groups rows. The first row index to be grouped. The last row index to be grouped. Specifies if the grouped rows are shown. Ungroups rows. The first row index to be ungrouped. The last row index to be ungrouped. Ungroups columns. The first column index to ungrouped. The last column index to ungrouped. Groups rows. The first row index to be grouped. The last row index to be grouped. outlineLevel Specifies if the grouped rows are shown. Specifies if this operation will be added into undo manager. And the GridDesktop's EnableUndo property must be set to true. Ungroups rows. The first row index to be ungrouped. The last row index to be ungrouped. Specifies if this operation will be added into undo manager. And the GridDesktop's EnableUndo property must be set to true. Ungroups columns. The first column index to ungrouped. The last column index to ungrouped. Specifies if this operation will be added into undo manager. And the GridDesktop's EnableUndo property must be set to true. Groups columns. The first column index to be grouped. The last column index to be grouped. Specifies if the grouped columns are hidden Specifies if this operation will be added into undo manager. And the GridDesktop's EnableUndo property must be set to true. Groups columns. The first column index to be grouped. The last column index to be grouped. outlineLevel Specifies if the grouped columns are hidden Groups rows. The first row index to be grouped. The last row index to be grouped. Specifies if the grouped rows are shown. Specifies if this operation will be added into undo manager. And the GridDesktop's EnableUndo property must be set to true. Groups rows. The first row index to be grouped. The last row index to be grouped. Groups columns. The first column index to be grouped. The last column index to be grouped. Set the first visible column index of sheet view. Get the first visible column index of sheet view. Set the first visible row index of sheet view. Get the first visible row index of sheet view. Adds a new column. Inserts a new column. Index of column is inserted. Adds a new row. Inserts a new row. row index is inserted. Removes a column at the specified index. Removes a row at the specified index. Gets cell r1c1 style name according to its row and column indexes. Row index. Column index. R1C1 style name of cell. Sets cellRange whether it is protected.this is an extended method used only in Grid. This method has nothing to do with the cell.Style.CellLocked property It will not take affect after save to excel file. CellRange object. Bool value to be set. Exports data in the Cells collection of a Worksheet to a specifed DataTable object. The DataTable object that exports data to. The row number of the first cell to export out. The column number of the first cell to export out. Number of rows to be imported. Number of columns to be imported. True if a row in the control represents a row in DataTable. False if a column in the control represents a row in DataTable. Exported DataTable object. The method permits first create a DataTable object. Then exports data to the DataTable object. If dataTable don't be set valid, the method will return a new DataTable object by calling overload method 'Export(bool exportColumnName, bool isVertical)'. [C#] DataTable dataTable = new DataTable(); dataTable.Columns.Add("Column a",System.Type.GetType("System.String")); dataTable.Columns.Add("Column b"); dataTable.Columns.Add("Column c"); dataTable.Columns.Add("Column d",System.Type.GetType("System.Double")); dataTable.Columns.Add("Column e",System.Type.GetType("System.Int32")); dataTable.Columns.Add("Column f",System.Type.GetType("System.Int32")); DataTable exportTable = gridDesktop.Worksheets[0].Export(dataTable,1,0,10,6,true); DataGrid1.SetDataBinding(exportTable, null); [VB] Dim dataTable As DataTable = New DataTable() dataTable.Columns.Add("Column a",System.Type.GetType("System.String")) dataTable.Columns.Add("Column b") dataTable.Columns.Add("Column c") dataTable.Columns.Add("Column d",System.Type.GetType("System.Double")) dataTable.Columns.Add("Column e",System.Type.GetType("System.Int32")) dataTable.Columns.Add("Column f",System.Type.GetType("System.Int32")) Dim exportTable As DataTable = GridDesktop.Worksheets(0).Export(dataTable,1,0,10,6,True) DataGrid1.SetDataBinding(exportTable) Exports data in the Cells collection of a Worksheet to a new DataTable object. The row number of the first cell to export out. The column number of the first cell to export out. Number of rows to be imported. Number of columns to be imported. Indicates whether the data in the first row are exported to the column name of the DataTable. True if a row in the control represents a row in DataTable. False if a column in the control represents a row in DataTable. Exported DataTable object. [C#] DataTable exportTable = gridDesktop.Worksheets[0].Export(0,0,10,2,true,false); DataGrid1.SetDataBinding(exportTable, null); [VB] Dim exportTable As DataTable = GridDesktop.Worksheets(0).Export(0,0,10,2,True,False) DataGrid1.SetDataBinding(exportTable) Imports a DataTable object into a worksheet. The DataTable object to be imported. Indicates whether the field name of the datatable will be imported to the first row. The row number of the first cell to import. The column number of the first cell to import. Total number of rows imported. Sets style object to cellRange. CellRange object. Style object to be set. Sets style object to cellRange. GridCellArea object. Style object to be set. Sets font object to cellRange. CellRange object. Font object to be set. Sets font color to cellRange. CellRange object. Font color to be set. Gets or sets the name of the worksheet. The max length of sheet name is 31. And you cannot assign same name(case insensitive) to two worksheets. For example, you cannot set "SheetName1" to the first worksheet and set "SHEETNAME1" to the second worksheet. Gets the index of sheet in the worksheets collection. Gets the cell control collection. Gets or sets a value indicating whether the gridelines are visible.Default is true. True if zero values are displayed. Indicates whether show outline. Indicates whether this worksheet is selected when the workbook is opened. Gets a collection. Gets a collection. Gets the collection. Gets the data validation setting collection in the worksheet. Gets the RowFilterSettings object of the sheet. Represents first visible row index. Represents the scaling factor in percent. It should be between 10 and 400. Please set the view type first. Represents worksheet tab color. This feature is only supported in ExcelXP(Excel2002) and above version. If you save file as Excel97 or Excel2000 format, it will be omitted. Represents worksheet code name. You cannot change the code name while the template file contains VBA/macro. Gets and sets worksheet background image. Gets the pivotTables in the worksheet. Gets Sheet's GridDesktop object. Gets or sets Worksheet's frozen row count. Frozen will start at first row. Gets or sets Worksheet's frozen column count. Frozen will start at first column. Gets the count of the merges Gets the specific list in a DataSource for Worksheet object. Gets the data source that the Worksheet object is displaying data for. Gets or sets the custom row caption for the worksheet. Gets or sets the custom column caption for the worksheet. Collects the objects that represent the individual rows in a worksheet. Searches for the specified sheet and returns the zero-based index of the first occurrence within the entire WorksheetCollection. The sheet to locate in the WorksheetCollection. Gets the rows enumerator The rows enumerator Adds a worksheet to the collection. object index. Adds a worksheet to the collection. Worksheet name object. Removes the element at a specified index. The index value of the element to remove. Removes the element at a specified name. The name of the element to remove. Sets the visible options. Whether the worksheet is visible Whether ignore error if this option is not valid. Adds a worksheet to the collection and copies data from an existed worksheet. Name of source worksheet. object index. Specifies an invalid worksheet name. Adds a worksheet to the collection and copies data from an existed worksheet. Index of source worksheet. object index. Clear all worksheets. A workbook must contains a worksheet. The sheet name. Returns an inserted worksheet. Swaps the two sheets. The first worksheet. The second worksheet. Calculates the result of formulas. Removes the worksheet at the specified index of the WorksheetCollection. If the specific sheet is the last sheet,after removes sheet,will add a new sheet to the WorksheetCollection. The zero-based index of the worksheet to remove. Inserts an worksheet into the WorksheetCollection at the specified index. This worksheet row count is 256,column count is 32. The worksheet name will be generated by Add() method. The zero-based index at which worksheet should be inserted. Return Worksheet object is added. Gets the element at the specified index. The zero based index of the element. The element at the specified index. Gets the element with the specified name. The name of the worksheet. The Worksheet with the name. Gets or sets the control's default font name. [C#] GridWeb1.DefaultFontName = "Arial"; [Visual Basic] GridWeb1.DefaultFontName = "Arial" Gets the collection of all the Name objects in the spreadsheet. Interface of a gridcell's custom validation. Validate a gridcell's data is valid or not. Worksheet object. Row index. Column index. Value to be validated. True is valid, false is invalid. Represents the number or datetime format type. General Decimal 0 Decimal 0.00 Decimal #,##0 Decimal #,##0.00 Currency $#,##0;$-#,##0 Currency $#,##0;[Red]$-#,##0 Currency $#,##0.00;$-#,##0.00 Currency $#,##0.00;[Red]$-#,##0.00 Percentage 0% Percentage 0.00% Scientific 0.00E+00 Fraction # ?/? Fraction # ??/?? Date m/d/yyyy Date d-mmm-yy Date d-mmm Date mmm-yy Time h:mm AM/PM Time h:mm:ss AM/PM Time h:mm Time h:mm:ss Time m/d/yy h:mm Currency #,##0;-#,##0 Currency #,##0;[Red]-#,##0 Currency #,##0.00;-#,##0.00 Currency #,##0.00;[Red]-#,##0.00 Accounting _ * #,##0_ ;_ * -#,##0_ ;_ * "-"_ ;_ @_ Accounting _ $* #,##0_ ;_ $* -#,##0_ ;_ $* "-"_ ;_ @_ Accounting _ * #,##0.00_ ;_ * -#,##0.00_ ;_ * "-"??_ ;_ @_ Accounting _ $* #,##0.00_ ;_ $* -#,##0.00_ ;_ $* "-"??_ ;_ @_ Time mm:ss Time [h]:mm:ss Time mm:ss.0 Scientific ##0.0E+00 Text @ Currency $#,##0;($#,##0) Currency $#,##0;[Red]($#,##0) Currency $#,##0.00;($#,##0.00) Currency $#,##0.00;[Red]($#,##0.00) Date YYYY?M? Date M?D? Date M?D? Date M/D/YY Date YYYY?M?D? Date YYYY?M? Date YYYY?M? Date M?D? Date YYYY?M? Date M?D? Date M?D? Date YYYY?M? Date M?D? Time h?mm? Time h?mm?ss? Time tth?mm? Time tth?mm?ss? Time tth?mm? Time tth?mm?ss? Used in the CellError event of the GridWeb. [C#] onErrorActionQuery.OnErrorAction = OnErrorActionType.Ignore; [VB] onErrorActionQuery.OnErrorAction = OnErrorActionType.Ignore Gets or set the action type. Used in CellError event of the GridWeb. User set the OnErrorActionQuery.OnErrorAction to tell the control Stop processing or Ignore error. Throws the current exception. Stops current processing. Ignores the error and continue processing. Represents the row/column type of the row/column events. Row type. Column type. Provides data for row/column events. Call this method in RowDeleting/ColumnDeleting event handlers to cancel the deleting operations. The row or column type. The row or column number, starts from zero. The argument of the event. shall we cancel the operation. Represents the interface that intend to handle row/column events. void handleCellEvent(Object sender, RowColumnEventArgs e); The source of the event. The event argument. Call e.RejectOperation() if you want to cancel the deleting operation in RowDeleting or ColumnDeleting event handlers. Used in WebCellException. Represents the cell error type. The cell's validation failed. When insert the sheet's binding row to datasource, an error occured. When update the sheet's binding row or object's field, an error occured. When delete the sheet's binding row to datasource, an error occured. Represents the interface that intend to handle workbook events. void handleCellEvent(Object sender, CellEventArgs e); The source of the event. The event argument. Enumerates cell background pattern types. Represents diagonal crosshatch pattern. Represents diagonal stripe pattern. Represents 6.25% gray pattern Represents 12.5% gray pattern Represents 25% gray pattern. Represents 50% gray pattern. Represents 75% gray pattern. Represents horizontal stripe pattern. Represents no background. Represents reverse diagonal stripe pattern. Represents solid pattern. Represents thick diagonal crosshatch pattern. Represents thin diagonal crosshatch pattern. Represents thin diagonal stripe pattern. Represents thin horizontal crosshatch pattern. Represents thin horizontal stripe pattern. Represents thin reverse diagonal stripe pattern. Represents thin vertical stripe pattern. Represents vertical stripe pattern. Licenses the component. A stream that contains the license.

Use this method to load a license from a stream.

[C#] License license = new License(); license.SetLicense(myStream); [Visual Basic] Dim license as License = new License license.SetLicense(myStream)
Licenses the component.

Tries to find the license in the following locations:

1. Explicit path.

2. The folder that contains the Aspose component assembly.

3. The folder that contains the client's calling assembly.

4. The folder that contains the entry (startup) assembly.

5. An embedded resource in the client's calling assembly.

Note:On the .NET Compact Framework, tries to find the license only in these locations:

1. Explicit path.

2. An embedded resource in the client's calling assembly.

In this example, an attempt will be made to find a license file named MyLicense.lic in the folder that contains the component, in the folder that contains the calling assembly, in the folder of the entry assembly and then in the embedded resources of the calling assembly. [C#] License license = new License(); license.SetLicense("MyLicense.lic"); [Visual Basic] Dim license As License = New License license.SetLicense("MyLicense.lic") Can be a full or short file name or name of an embedded resource. Use an empty string to switch to evaluation mode.
Encapsulates the object that manages the undo/redo operations. Performs a redo operation. Performs an undo operation. Performs a redo operation with mark. Performs an undo operation with mark. Clears the Undo and Redo stacks. Begins to record changes. Ends to record changes. Begins to mark changes. Ends to mark changes. Gets the current available redo steps count. Gets the current available undo steps count. Gets or sets the undo/redo stack size. The default value is 300. Gets or sets a value indicating whether the Undo function is enabled. The default value is false. FormulaBar Default constructor. Constructs a FormulaBar with the specified GridDesktop control. Clean up any resources being used. true if managed resources should be disposed; otherwise, false. Gets or sets a GridDesktop control that this FormalBar will apply to. Specifies how a gridcell is vertically aligned. The object or text is aligned on the top of the gridcell. The object or text is aligned in the center of the gridcell. The object or text is aligned on the bottom of the gridcell. Specifies how a gridcell is horizontally aligned. If object type is number,object is aligned on the right of the girdcell. If object type is string,object is aligned on the left of the girdcell. The object or text is aligned on the left of the gridcell. The object or text is aligned in the center of the gridcell. The object or text is aligned on the right of the gridcell. The object or text is Filled in the gridcell. Represents a theme color. The theme type. The tint value. Gets and sets the theme type. Gets and sets the tint value. The tint value is stored as a double from -1.0 .. 1.0, where -1.0 means 100% darken and 1.0 means 100% lighten. Also, 0.0 means no change. Enumerates the theme color types. The basic namespace of GridDesktop. The namespace of basic data represented classes of GridDesktop. The namespace of toolbar for GridDesktop control.