[]
        
(Showing Draft Content)

FarPoint.Win.Spread.ConditionalStyleItemCollection.SetItem

SetItem Method

SetItem(int, ConditionalStyleItem)

Replaces the element at the specified index.

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

The zero based index of the element to replace.

ConditionalStyleItem item

The new value for the element at the specified index. The value can be null for reference types.

Overrides
Exceptions
Type Condition
ArgumentOutOfRangeException

The index is less than 0.

-or-

The index is greater than Count.

ArgumentNullException

The item is null.

ArgumentException

The item was added to another ConditionalStyleItemCollection.