Class
DuplicatedJavaScriptNameResolvingEventArgs

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:

cs-api-definition
public class DuplicatedJavaScriptNameResolvingEventArgs : EventArgs

Inheritance: objectEventArgsDuplicatedJavaScriptNameResolvingEventArgs

Inherited Members EventArgs.Empty

Constructors

DuplicatedJavaScriptNameResolvingEventArgs(string, string, IEnumerable<string>)

Create args with conflicting name, proposed unique name, and set of existing JavaScript names.

Declaration

cs-api-definition
public DuplicatedJavaScriptNameResolvingEventArgs(string name, string newName, IEnumerable<string> usedNames)

Parameters

name

string

The current name of the JavaScript.

newName

string

The new name of the JavaScript.

usedNames

IEnumerable<string>

The names that are currently used in the .

Properties

Name

The conflicting original JavaScript name.

Declaration

cs-api-definition
public string Name { get; }

Property Value

string

The name.

NewName

Proposed new unique JavaScript name (handler may adjust).

Declaration

cs-api-definition
public string NewName { get; set; }

Property Value

string

The new name.

UsedNames

Collection of already used JavaScript names for collision detection.

Declaration

cs-api-definition
public IEnumerable<string> UsedNames { get; }

Property Value

IEnumerable<string>

The used names.