PrintDocument for WinForms | ComponentOne
C1.PrintDocument.4.8 Assembly / C1.C1Preview.DataBinding Namespace / ExpressionCollection Class / OnSet Method
The item index.
The old item.
The new item.

In This Topic
    OnSet Method (ExpressionCollection)
    In This Topic
    Called when an item is about to be set.
    Syntax
    'Declaration
     
    Protected Overridable Sub OnSet( _
       ByVal index As Integer, _
       ByVal oldValue As Object, _
       ByVal newValue As Object _
    ) 
    protected virtual void OnSet( 
       int index,
       object oldValue,
       object newValue
    )

    Parameters

    index
    The item index.
    oldValue
    The old item.
    newValue
    The new item.
    See Also