ClassDuplicatedJavaScriptNameResolvingEventArgs
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:
public class DuplicatedJavaScriptNameResolvingEventArgs : EventArgs
Inheritance: objectEventArgsDuplicatedJavaScriptNameResolvingEventArgs
Inherited Members
Constructors
DuplicatedJavaScriptNameResolvingEventArgs(string, string, IEnumerable<string>)
Create args with conflicting name, proposed unique name, and set of existing JavaScript names.
Declaration
public DuplicatedJavaScriptNameResolvingEventArgs(string name, string newName, IEnumerable<string> usedNames)
Parameters
name
The current name of the JavaScript.
newName
The new name of the JavaScript.
usedNames
The names that are currently used in the .
Properties
Name
The conflicting original JavaScript name.
NewName
Proposed new unique JavaScript name (handler may adjust).
Declaration
public string NewName { get; set; }
Property Value
The new name.
UsedNames
Collection of already used JavaScript names for collision detection.
Declaration
public IEnumerable<string> UsedNames { get; }
Property Value
The used names.