PrintDocument for WinForms | ComponentOne
C1.Win.PrintPreview.8 Assembly / C1.Win.C1Preview Namespace / ViewHistoryItemCollection Class / OnInsert Method
The item index.
The item.

In This Topic
    OnInsert Method (ViewHistoryItemCollection)
    In This Topic
    Called when an item is about to be iserted. Fires the C1.C1Preview.EventCollection.Changing event.
    Syntax
    'Declaration
     
    Protected Overridable Sub OnInsert( _
       ByVal index As Integer, _
       ByVal value As Object _
    ) 
    protected virtual void OnInsert( 
       int index,
       object value
    )

    Parameters

    index
    The item index.
    value
    The item.
    See Also