[]
        
(Showing Draft Content)

GrapeCity.Wpf.SpreadSheet.CellType.Editors.NumberDisplayFieldCollection.SetItem

SetItem Method

SetItem(int, NumberDisplayField)

Replaces the element at the specified index.

Declaration
protected override void SetItem(int index, NumberDisplayField item)
Protected Overrides Sub SetItem(index As Integer, item As NumberDisplayField)
Parameters
Type Name Description
int index

The zero-based index of the element to replace.

NumberDisplayField item

The new value for the element at the specified index.

Overrides
Exceptions
Type Condition
InvalidOperationException

When the collection is locked.

ArgumentOutOfRangeException

The assigned value of index is less than 0
-or-
index is greater than Count.

ArgumentNullException

When the item is null.

InvalidOperationException

More than one instance of the NumberDecimalPartDisplayField exists in the collection.