'Declaration Public Overloads Shared Function FormatCells( _ ByVal spread As GcSpreadSheet, _ ByVal range As IRange, _ ByVal styleFormat As StyleFormat, _ Optional ByVal activeTab As FormatCellsTabs, _ Optional ByVal numFmtCategory As Integer, _ Optional ByVal cellValue As Object, _ Optional ByVal isTable As Boolean _ ) As IDialog
'Usage Dim spread As GcSpreadSheet Dim range As IRange Dim styleFormat As StyleFormat Dim activeTab As FormatCellsTabs Dim numFmtCategory As Integer Dim cellValue As Object Dim isTable As Boolean Dim value As IDialog value = BuiltInDialogs.FormatCells(spread, range, styleFormat, activeTab, numFmtCategory, cellValue, isTable)
public static IDialog FormatCells( GcSpreadSheet spread, IRange range, StyleFormat styleFormat, FormatCellsTabs activeTab, int numFmtCategory, object cellValue, bool isTable )
Parameters
- spread
- The GrapeCity.Wpf.SpreadSheet.GcSpreadSheet control to work with.
- range
- The current cell range to work with.
- styleFormat
- The GrapeCity.Spreadsheet.StyleFormat value to display as current settings.
- activeTab
- The default active tab.
- numFmtCategory
- The default selected number format category.
- cellValue
- The cell value to display as preview.
- isTable
Return Value
The IDialog object represents the format cells dialog.