Spread Windows Forms 18
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread.CellType Namespace / PercentCellType Class / GetReusableEditorControl Method
Editor control to reuse
Parent control
Appearance settings
Numeric value for scaling the display of the control


In This Topic
    GetReusableEditorControl Method (PercentCellType)
    In This Topic
    Implementation of IReuseEditorControl.GetEditorControl for use by cell types.
    Syntax
    'Declaration
     
    
    Public Function GetReusableEditorControl( _
       ByVal irec As IReuseEditorControl, _
       ByVal parent As Control, _
       ByVal appearance As Appearance, _
       ByVal zoomFactor As Single _
    ) As Control
    'Usage
     
    
    Dim instance As PercentCellType
    Dim irec As IReuseEditorControl
    Dim parent As Control
    Dim appearance As Appearance
    Dim zoomFactor As Single
    Dim value As Control
     
    value = instance.GetReusableEditorControl(irec, parent, appearance, zoomFactor)

    Parameters

    irec
    Editor control to reuse
    parent
    Parent control
    appearance
    Appearance settings
    zoomFactor
    Numeric value for scaling the display of the control

    Return Value

    Control
    Remarks
    After calling this method, if initialized is false, you must call IReuseEditorControl.InitializeEditorControl to make the editor control ready for editing.
    See Also