Class NameChangingEventArgs
Provides data for the NameChanging event, which occurs when the name of a style is about to change.
Inheritance
Namespace: Telerik.Windows.Documents.Model.Styles
Assembly: Telerik.Windows.Controls.RichTextBox.dll
Syntax
public class NameChangingEventArgs : EventArgs
Constructors
NameChangingEventArgs(String, String)
Initializes a new instance of the NameChangingEventArgs class with the specified old and new names.
Declaration
public NameChangingEventArgs(string oldName, string newName)
Parameters
System.String
oldName
The old name before the change occurred. |
System.String
newName
The new name that is being set. |
Properties
NewName
Represents the new name value that is being changed in the styles model.
Declaration
public string NewName { get; }
Property Value
System.String
The new name as a string. |
OldName
Gets the old name associated with the name changing event.
Declaration
public string OldName { get; }
Property Value
System.String
A string representing the old name before the change occurred. |