Class
DuplicatedEmbeddedFileNameResolvingEventArgs

Event args for resolving duplicate embedded file names during merge; holds original, proposed, and used names.

Definition

Namespace:Telerik.Windows.Documents.Fixed.Model

Assembly:Telerik.Windows.Documents.Fixed.dll

Syntax:

cs-api-definition
public class DuplicatedEmbeddedFileNameResolvingEventArgs : EventArgs

Inheritance: objectEventArgsDuplicatedEmbeddedFileNameResolvingEventArgs

Inherited Members EventArgs.Empty

Constructors

DuplicatedEmbeddedFileNameResolvingEventArgs(string, string, IEnumerable<string>)

Create args with conflicting file name, proposed new name, and existing attachment names.

Declaration

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

Parameters

name

string

The current name of the embedded file.

newName

string

The new name of the embedded file.

usedNames

IEnumerable<string>

The names that are currently used in the EmbeddedFiles.

Properties

Name

The conflicting original embedded file name.

Declaration

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

Property Value

string

The name.

NewName

Proposed unique embedded file name (handler may change).

Declaration

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

Property Value

string

The new name.

UsedNames

Existing embedded file names for collision checks.

Declaration

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

Property Value

IEnumerable<string>

The used names.