Spread Windows Forms 18
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread Namespace / FpSpread Class / RemoveControl Method
Child control being removed
Sheet index


In This Topic
    RemoveControl Method (FpSpread)
    In This Topic
    Removes a child control from the specified sheet.
    Syntax
    'Declaration
     
    
    Public Overridable Function RemoveControl( _
       ByVal child As Control, _
       ByVal sheetIndex As Integer _
    ) As Boolean
    'Usage
     
    
    Dim instance As FpSpread
    Dim child As Control
    Dim sheetIndex As Integer
    Dim value As Boolean
     
    value = instance.RemoveControl(child, sheetIndex)
    public virtual bool RemoveControl( 
       Control child,
       int sheetIndex
    )

    Parameters

    child
    Child control being removed
    sheetIndex
    Sheet index

    Return Value

    True if the control was successfully removed; otherwise, false
    See Also