Spread WPF 18
GrapeCity.Wpf.SpreadSheet.Dialogs Namespace / BuiltInDialogs Class / DefinedName Method
The GrapeCity.Wpf.SpreadSheet.GcSpreadSheet control to work with.
The defined name object to edit. Use null to create new defined name.
The context cell to modify defined name. Use GrapeCity.Spreadsheet.CellReference.Empty to refer to the current active cell.
The default range to create new defined name.


In This Topic
    DefinedName Method
    In This Topic
    Create or edit the name of cell ranges in workbook/worksheets.
    Syntax
    'Declaration
     
    Public Shared Function DefinedName( _
       ByVal spread As GcSpreadSheet, _
       ByVal definedName As IName, _
       ByVal contextCell As CellReference, _
       Optional ByVal range As IRange _
    ) As IDialog
    'Usage
     
    Dim spread As GcSpreadSheet
    Dim definedName As IName
    Dim contextCell As CellReference
    Dim range As IRange
    Dim value As IDialog
     
    value = BuiltInDialogs.DefinedName(spread, definedName, contextCell, range)
    public static IDialog DefinedName( 
       GcSpreadSheet spread,
       IName definedName,
       CellReference contextCell,
       IRange range
    )

    Parameters

    spread
    The GrapeCity.Wpf.SpreadSheet.GcSpreadSheet control to work with.
    definedName
    The defined name object to edit. Use null to create new defined name.
    contextCell
    The context cell to modify defined name. Use GrapeCity.Spreadsheet.CellReference.Empty to refer to the current active cell.
    range
    The default range to create new defined name.

    Return Value

    The IDialog object represents the defined name dialog.
    See Also