XlsEventArgs module

class XlsEventArgs.XlsEventArgs

Bases: SpireObject

Class used as message sender on Property value change.

This class provides old and new values which allow user to create advanced logic. It can be used to track changes in property values and implement custom behaviors based on these changes.

property Name: str

Gets the name of the property.

Returns:

The name of the property that was changed.

Return type:

str

property Next: XlsEventArgs

Gets or sets the next event args in the chain.

If more than one property must be changed on one send message, this property allows creating a one-way directed list of property changes.

Returns:

The next event args in the chain.

Return type:

XlsEventArgs

static get_Empty() XlsEventArgs

Gets an empty XlsEventArgs instance.

Returns:

An empty instance of XlsEventArgs.

Return type:

XlsEventArgs

property newValue: SpireObject

Gets the new property value.

Returns:

The new value of the property after the change.

Return type:

SpireObject

property oldValue: SpireObject

Gets the old property value.

Returns:

The original value of the property before the change.

Return type:

SpireObject