Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

SavingEventArgs Class

Contains data for the Saving event.

#Declaration

TypeScript
export class SavingEventArgs extends EventArgs

#Remarks

The Saving event allows you to save a document. The event handler receives an argument of the SavingEventArgs type. The argument’s properties provide information specific to this event.

#Inheritance

EventArgs
SavingEventArgs

#Properties

#base64 Property

The file content that is encoded with base64 digits.

#Declaration

TypeScript
base64: string

#Property Value

Type Description
string

The file content.

#fileName Property

The name of the file to save.

#Declaration

TypeScript
fileName: string

#Property Value

Type Description
string

The file name.

#format Property

The format of the file to save.

#Declaration

TypeScript

#Property Value

Type Description
DocumentFormat

The document format.

#handled Property

Specifies whether the event is handled.

#Declaration

TypeScript
handled: boolean

#Property Value

Type Description
boolean

true, if the event is handled and further processing is not required; otherwise false.

#reason Property

Specifies the reason why the document saving process starts.

#Declaration

TypeScript
reason: string

#Property Value

Type Description
string

A value that identifies the reason.