Spread Windows Forms 17
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread.CellType Namespace / IReuseEditorControl Interface / GetEditorControl Method
Parent control
Appearance settings of the control
Numeric value for scaling the display of the control


In This Topic
    GetEditorControl Method (IReuseEditorControl)
    In This Topic
    Gets the control associated with the editor for the specified parent control.
    Syntax
    'Declaration
     
    
    Function GetEditorControl( _
       ByVal parent As Control, _
       ByVal appearance As Appearance, _
       ByVal zoomFactor As Single _
    ) As Control
    'Usage
     
    
    Dim instance As IReuseEditorControl
    Dim parent As Control
    Dim appearance As Appearance
    Dim zoomFactor As Single
    Dim value As Control
     
    value = instance.GetEditorControl(parent, appearance, zoomFactor)

    Parameters

    parent
    Parent control
    appearance
    Appearance settings of the control
    zoomFactor
    Numeric value for scaling the display of the control

    Return Value

    Control
    Remarks
    After creating the control the first time, add it to the parent. Returns the same instance when called again for that parent.
    See Also