Class DuplicatedEmbeddedFileNameResolvingEventArgs
Event args for resolving duplicate embedded file names during merge; holds original, proposed, and used names.
Inheritance
Inherited Members
Namespace: Telerik.Windows.Documents.Fixed.Model
Assembly: Telerik.Windows.Documents.Fixed.dll
Syntax
public class DuplicatedEmbeddedFileNameResolvingEventArgs : EventArgs
Constructors
DuplicatedEmbeddedFileNameResolvingEventArgs(String, String, IEnumerable<String>)
Create args with conflicting file name, proposed new name, and existing attachment names.
Declaration
public DuplicatedEmbeddedFileNameResolvingEventArgs(string name, string newName, IEnumerable<string> usedNames)
Parameters
|
System.String
name
The current name of the embedded file. |
|
System.String
newName
The new name of the embedded file. |
|
System.Collections.Generic.IEnumerable<System.String>
usedNames
The names that are currently used in the EmbeddedFiles. |
Properties
Name
The conflicting original embedded file name.
Declaration
public string Name { get; }
Property Value
|
System.String
The name. |
NewName
Proposed unique embedded file name (handler may change).
Declaration
public string NewName { get; set; }
Property Value
|
System.String
The new name. |
UsedNames
Existing embedded file names for collision checks.
Declaration
public IEnumerable<string> UsedNames { get; }
Property Value
|
System.Collections.Generic.IEnumerable<System.String>
The used names. |