Spread Windows Forms 7.0 Product Documentation
OnValidateNewItems Method
See Also  Support Options
GrapeCity.Win.PluginInputMan Assembly > GrapeCity.Win.Spread.InputMan.CellType.Fields Namespace > DateTimeFieldCollection Class : OnValidateNewItems Method


oldItem
An object indicates the old item when set item.
newItems
An object array indicates the new items.

Glossary Item Box

Performs additional custom processes to validating adding items.

Syntax

Visual Basic (Declaration) 
Protected Overrides Sub OnValidateNewItems( _
   ByVal oldItem As Object, _
   ByVal newItems() As Object _
) 
Visual Basic (Usage)Copy Code
Dim instance As DateTimeFieldCollection
Dim oldItem As Object
Dim newItems() As Object
 
instance.OnValidateNewItems(oldItem, newItems)
C# 
protected override void OnValidateNewItems( 
   object oldItem,
   object[] newItems
)

Parameters

oldItem
An object indicates the old item when set item.
newItems
An object array indicates the new items.

Requirements

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

See Also

© 2002-2014 ComponentOne, a division of GrapeCity. All Rights Reserved.