PrintDocument for WPF | ComponentOne
C1.WPF.PrintDocument.4.6.2 Assembly / C1.C1Preview.DataBinding Namespace / FieldCollection Class / OnSet Method
The item index.
The old item.
The new item.

In This Topic
    OnSet Method (FieldCollection)
    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