Event args for resolving duplicate JavaScript action names during document merge; includes original, proposed, and used names.
Definition
Namespace:Telerik.Windows.Documents.Fixed.Model
Assembly:Telerik.Windows.Documents.Fixed.dll
Syntax:
C#
public class DuplicatedJavaScriptNameResolvingEventArgs : EventArgs
Inheritance: objectEventArgsDuplicatedJavaScriptNameResolvingEventArgs
Inherited Members
Constructors
Create args with conflicting name, proposed unique name, and set of existing JavaScript names.
C#
public DuplicatedJavaScriptNameResolvingEventArgs(string name, string newName, IEnumerable<string> usedNames)
The current name of the JavaScript.
newNamestringThe new name of the JavaScript.
usedNamesIEnumerable<string>The names that are currently used in the .
Properties
The conflicting original JavaScript name.
C#
public string Name { get; }
The name.
Proposed new unique JavaScript name (handler may adjust).
C#
public string NewName { get; set; }
The new name.
Collection of already used JavaScript names for collision detection.
C#
public IEnumerable<string> UsedNames { get; }
The used names.