CommandBindingsCollectionSetItem Method

Replaces the binding at the specified index. The overridden binding will be disposed.

Definition

Namespace: KGySoft.ComponentModel
Assembly: KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 10.0.0
C#
protected override void SetItem(
	int index,
	ICommandBinding item
)

Parameters

index  Int32
The zero-based index of the binding to replace.
item  ICommandBinding
The binding to insert at the specified index.

Exceptions

See Also