Skip to main content
All docs
V24.2

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

QueryDocumentEventArgs Members

Provides data for the QueryDocument event.

#Constructors

Name Description
QueryDocumentEventArgs(String, Boolean) Initializes a new instance of the QueryDocumentEventArgs class with specified settings.

#Fields
Show Inherited Hide Inherited

Name Description
Empty static Provides a value to use with events that do not have event data. Inherited from EventArgs.

#Properties

Name Description
Cancel Gets or sets whether the Document that triggered the QueryDocument event should be restored.
Caption Gets or sets the new caption of the restored Document.
Control Gets or sets the control hosted by this Document.
Name Returns the BaseDocument.ControlName property value of this Document.

#Methods
Show Inherited Hide Inherited

Name Description
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetType() Gets the Type of the current instance. Inherited from Object.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
ToString() Returns a string that represents the current object. Inherited from Object.
See Also