Spread Windows Forms 12.0 Product Documentation
RemoveAt Method (Elements)
Example 


FarPoint.Win Assembly > FarPoint.Win Namespace > Elements Class : RemoveAt Method
Index of the element
Removes the specified element (by index) from the collection.
Syntax
'Declaration
 
Public Overridable Sub RemoveAt( _
   ByVal index As Integer _
) 
'Usage
 
Dim instance As Elements
Dim index As Integer
 
instance.RemoveAt(index)
public virtual void RemoveAt( 
   int index
)

Parameters

index
Index of the element
Example
This example removes the sum option from the status bar menu options.
fpSpread1.StatusBarVisible = true;
fpSpread1.StatusBar.Elements.RemoveAt(0);
FpSpread1.StatusBarVisible = True
FpSpread1.StatusBar.Elements.RemoveAt(0)
See Also

Reference

Elements Class
Elements Members