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


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)
Requirements

Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows Server 2012 R2, Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8, Windows 8.1, Windows 10

See Also

Reference

Elements Class
Elements Members

 

 


Copyright © GrapeCity, inc. All rights reserved.