Spread ASP.NET 17
FarPoint.Web.Spread Assembly / FarPoint.Web.Spread.Editor Namespace / MultiColumnEditor Class / GetEditorControl Method
Unique identifier of the control
Parent cell (TableCell object) for the control
Style settings (Appearance object) for the control
Margin settings (Inset object) for the control
Value (as object) to put in the control
Whether the control can render in an up-level browser


In This Topic
    GetEditorControl Method (MultiColumnEditor)
    In This Topic
    Gets the control used to edit the cell.
    Syntax
    'Declaration
     
    
    Public Overrides 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 MultiColumnEditor
    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 override Control GetEditorControl( 
       string id,
       TableCell parent,
       Appearance style,
       Inset margin,
       object value,
       bool upperLevel
    )

    Parameters

    id
    Unique identifier of the control
    parent
    Parent cell (TableCell object) for the control
    style
    Style settings (Appearance object) for the control
    margin
    Margin settings (Inset object) for the control
    value
    Value (as object) to put in the control
    upperLevel
    Whether the control can render in an up-level browser

    Return Value

    Control object containing the editor control to edit the cell
    Remarks

    The Spread component always positions the editor control returned by the GetEditorControl method so that the editor control covers the entire cell.

    See Also