Class DuplicatedJavaScriptNameResolvingEventArgs
Event args for resolving duplicate JavaScript action names during document merge; includes original, proposed, and used names.
Inheritance
Inherited Members
Namespace: Telerik.Windows.Documents.Fixed.Model
Assembly: Telerik.Windows.Documents.Fixed.dll
Syntax
public class DuplicatedJavaScriptNameResolvingEventArgs : EventArgs
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
|
System.String
name
The current name of the JavaScript. |
|
System.String
newName
The new name of the JavaScript. |
|
System.Collections.Generic.IEnumerable<System.String>
usedNames
The names that are currently used in the Telerik.Windows.Documents.Fixed.Model.RadFixedDocument.JavaScripts. |
Properties
Name
The conflicting original JavaScript name.
Declaration
public string Name { get; }
Property Value
|
System.String
The name. |
NewName
Proposed new unique JavaScript name (handler may adjust).
Declaration
public string NewName { get; set; }
Property Value
|
System.String
The new name. |
UsedNames
Collection of already used JavaScript names for collision detection.
Declaration
public IEnumerable<string> UsedNames { get; }
Property Value
|
System.Collections.Generic.IEnumerable<System.String>
The used names. |