ClassDuplicatedEmbeddedFileNameResolvingEventArgs
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:
public class DuplicatedEmbeddedFileNameResolvingEventArgs : EventArgs
Inheritance: objectEventArgsDuplicatedEmbeddedFileNameResolvingEventArgs
Inherited Members
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
name
The current name of the embedded file.
newName
The new name of the embedded file.
usedNames
The names that are currently used in the EmbeddedFiles.
Properties
Name
The conflicting original embedded file name.
NewName
Proposed unique embedded file name (handler may change).
Declaration
public string NewName { get; set; }
Property Value
The new name.
UsedNames
Existing embedded file names for collision checks.
Declaration
public IEnumerable<string> UsedNames { get; }
Property Value
The used names.