Skip to main content
A newer version of this page is available. .

BaseDocument Members

The base class for documents within a DocumentManager.

Properties

Name Description
ActualImage Returns the currently displayed document image.
CanRaiseEvents protected Gets a value indicating whether the component can raise an event. Inherited from Component.
Caption Gets or sets the document’s caption.
Container Gets the IContainer that contains the Component. Inherited from Component.
Control Gets the control displayed within the current document.
ControlName Gets or sets the name of a control that will be passed to the current Document as content.
ControlTypeName Gets or sets the type of a control that will be passed to the current Document as content.
DesignMode protected Gets a value that indicates whether the Component is currently in design mode. Inherited from Component.
Events protected Gets the list of event handlers that are attached to this Component. Inherited from Component.
FloatLocation Gets or sets the current BaseDocument‘s top left corner coordinates according to which the document will be arranged when made floating.
FloatSize Gets or sets the size that the current BaseDocument will gain when made floating.
Footer Gets or sets the current document‘s footer.
Form Gets the form that displays the document’s contents when the document is floating.
Header Gets or sets the current document‘s header.
Image Gets or sets the image associated with the current document.
ImageIndex Gets or sets the index of an image within the DocumentManager.Images collection.
ImageOptions Provides access to properties that allow you to set up raster and vector images for this document.
ImageUri Gets or sets an image stored within the DevExpress Image Gallery that should be assigned to this BaseDocument.
IsActive Gets whether the document is active.
IsDeferredControlLoad Gets if the current BaseDocument is loaded in the Deferred Load mode.
IsDisposing Gets whether the BaseComponent object is currently being disposed of. Inherited from BaseComponent.
IsDockPanel Gets if the current document displays a DockPanel.
IsEnabled Gets whether the document is enabled.
IsFloating Gets whether the document is floating.
IsInitialized Indicates whether or not the BaseComponent object has been fully initialized. Inherited from BaseComponent.
IsInitializing Returns whether or not the BaseComponent object is currently being initialized. Inherited from BaseComponent.
IsMaximized Gets whether the BaseDocument is currently maximized.
IsUpdateLocked Returns whether or not this BaseComponent is currently locked, which prevents any visual updates. Inherited from BaseComponent.
IsVisible Gets whether the document is visible.
Manager Gets a DocumentManager that owns the current document.
Properties Provides access to the current document’s properties.
Site Gets or sets the ISite of the Component. Inherited from Component.
Tag Gets or sets an object that contains data on the current BaseDocument object.

Methods

Name Description
BeginUpdate() Locks the BaseComponent, preventing visual updates of the object and its elements until the EndUpdate or CancelUpdate method is called. Inherited from BaseComponent.
CancelUpdate() Unlocks the BaseComponent object after it has been locked by the BeginUpdate method, without causing an immediate visual update. Inherited from BaseComponent.
CreateObjRef(Type) Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. Inherited from MarshalByRefObject.
Dispose() Releases all resources used by the Component. Inherited from Component.
EndUpdate() Unlocks the BaseComponent object after a call to the BeginUpdate method and causes an immediate visual update. Inherited from BaseComponent.
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.
GetLifetimeService() Retrieves the current lifetime service object that controls the lifetime policy for this instance. Inherited from MarshalByRefObject.
GetLogicalChildren() This member supports the internal infrastructure, and is not intended to be used directly from your code.
GetService(Type) protected Returns an object that represents a service provided by the Component or by its Container. Inherited from Component.
GetType() Gets the Type of the current instance. Inherited from Object.
InitializeLifetimeService() Obtains a lifetime service object to control the lifetime policy for this instance. Inherited from MarshalByRefObject.
LayoutChanged() Updates the element. Inherited from BaseComponent.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
MemberwiseClone(Boolean) protected Creates a shallow copy of the current MarshalByRefObject object. Inherited from MarshalByRefObject.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
ResetProperties() Resets settings of the BaseDocument.Properties object to their default values.
ShouldSerializeProperties() Returns whether settings of the BaseDocument.Properties object should be serialized.
ToString() Returns a String containing the name of the Component, if any. This method should not be overridden. Inherited from Component.

Events

Name Description
Disposed Occurs when the component is disposed by a call to the Dispose() method. Inherited from Component.
See Also