Class
NameChangingEventArgs

Provides data for the NameChanging event, which occurs when the name of a style is about to change.

Definition

Namespace:Telerik.Windows.Documents.Model.Styles

Assembly:Telerik.Windows.Controls.RichTextBox.dll

Syntax:

cs-api-definition
public class NameChangingEventArgs : EventArgs

Inheritance: objectEventArgsNameChangingEventArgs

Inherited Members EventArgs.Empty

Constructors

NameChangingEventArgs(string, string)

Initializes a new instance of the NameChangingEventArgs class with the specified old and new names.

Declaration

cs-api-definition
public NameChangingEventArgs(string oldName, string newName)

Parameters

oldName

string

The old name before the change occurred.

newName

string

The new name that is being set.

Properties

NewName

Represents the new name value that is being changed in the styles model.

Declaration

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

Property Value

string

The new name as a string.

OldName

Gets the old name associated with the name changing event.

Declaration

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

Property Value

string

A string representing the old name before the change occurred.