Spread ASP.NET 17
FarPoint.Web.Spread Assembly / FarPoint.Web.Spread.Editor Namespace / BaseEditor Class / GetEditorControl Method
Unique identifier for the editor control
Parent control of the editor control
Appearance settings of the cell for the editor control
Margin settings for the editor control
Value to set in the editor control
Whether to render to a up-level browser


In This Topic
    GetEditorControl Method (BaseEditor)
    In This Topic
    Creates the cell editor control.
    Syntax
    'Declaration
     
    
    Public MustOverride Function GetEditorControl( _
       ByVal id As String, _
       ByVal parent As TableCell, _
       ByVal style As Appearance, _
       ByVal margin As Inset, _
       ByVal value As Object, _
       ByVal upperLevel As Boolean _
    ) As Control
    'Usage
     
    
    Dim instance As BaseEditor
    Dim id As String
    Dim parent As TableCell
    Dim style As Appearance
    Dim margin As Inset
    Dim value As Object
    Dim upperLevel As Boolean
    Dim value As Control
     
    value = instance.GetEditorControl(id, parent, style, margin, value, upperLevel)
    public abstract Control GetEditorControl( 
       string id,
       TableCell parent,
       Appearance style,
       Inset margin,
       object value,
       bool upperLevel
    )

    Parameters

    id
    Unique identifier for the editor control
    parent
    Parent control of the editor control
    style
    Appearance settings of the cell for the editor control
    margin
    Margin settings for the editor control
    value
    Value to set in the editor control
    upperLevel
    Whether to render to a up-level browser

    Return Value

    Control object containing the cell editor control
    See Also