New to Telerik UI for WinFormsStart a free 30-day trial

Provides data for the ItemReplaced event, including the original and new names of the replaced item.

Definition

Namespace:Telerik.Windows.Documents.Spreadsheet.Core

Assembly:Telerik.Windows.Documents.Spreadsheet.dll

Syntax:

C#
public class NamedObjectsItemReplaceEventArgs : EventArgs

Inheritance: objectEventArgsNamedObjectsItemReplaceEventArgs

Inherited Members EventArgs.Empty

Constructors

Initializes a new instance of the NamedObjectsItemReplaceEventArgs class.

C#
public NamedObjectsItemReplaceEventArgs(string itemName, string newItemName)
Parameters:itemNamestring

Name of the item.

newItemNamestring

New name of the item.

Properties

Gets the original name of the item that was replaced.

C#
public string ItemName { get; }
Property Value:

The name of the item.

Gets the name of the replacement item.

C#
public string NewItemName { get; }
Property Value:

The new name of the item.