Xceed Toolkit Plus for WPF v4.6 Documentation
Remove Method (ListBase<T>)


Xceed.Wpf.Toolkit Assembly > Xceed.Wpf.Toolkit.Chart Namespace > ListBase<T> Class : Remove Method
The object to remove from the ListBase.
Removes the first occurrence of a specific object from the ListBase.
Syntax
'Declaration
 
Public Overridable Function Remove( _

   ByVal item As T _

) As Boolean
'Usage
 
Dim instance As ListBase(Of T)

Dim item As T

Dim value As Boolean

 

value = instance.Remove(item)
public virtual bool Remove( 

   T item

)

Parameters

item
The object to remove from the ListBase.

Return Value

true if item is successfully removed; otherwise, false. This method also returns false if item was not found in the ListBase.
Remarks

The OnBeforeListChanged method is called before the list is changed.

The OnListChanged method is called if the list is successfully changed.

Requirements

Target Platforms: Windows 11, Windows 10, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

ListBase<T> Class
ListBase<T> Members