Skip to main content

BaseView Methods

The base class for Views in a DocumentManager.
Name Description
ActivateDocument(Control) Activates the document that displays the specified control.
AddDocument(String, String) Adds an empty Document with specified BaseDocument.Caption and BaseDocument.ControlName properties to the current View.
AddDocument(Control, String) Creates a Document that wraps the target control, and adds this new Document to the current BaseView.
AddFloatDocument(Control, Point, Size) Creates a floating document that hosts the target control, has the required size, and is displayed in the given location.
AddFloatDocument(Control, Point) Creates the floating document that hosts the target control and is displayed at the given position.
AddFloatDocument(Control, String) Creates a floating document that hosts the target control.
AddFloatingDocumentsHost(BaseDocument) Creates a documents host window that contains the specified document. This method is in effect in the DocumentsHost mode.
AddFloatingDocumentsHost(BaseDocument[]) Creates a floating documents host (container) that will contain the specific BaseDocument objects collection.
AddFloatingDocumentsHost(Control) Creates a documents host window that contains a newly created document wrapping the specified control. This method is in effect in the DocumentsHost mode.
AddOrActivateDocument(Predicate<BaseDocument>, Func<Control>) Activates an existing document that contains the specific control. If no such document was found, a new document is created and added to this View.
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.
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.
ReleaseDeferredLoadControl(BaseDocument, Boolean, Boolean) Fires the BaseView.ControlReleasing event with the specified parameters for the specified document.
ReleaseDeferredLoadControl(BaseDocument, Boolean) Fires the BaseView.ControlReleasing event with the specified parameter for the specified document.
ReleaseDeferredLoadControl(BaseDocument) Disposes a specific deferred load Document within the current View.
ReleaseDeferredLoadControls() Disposes all deferred load Documents within the current view.
ReleaseDeferredLoadControls(Boolean, Boolean) Fires the BaseView.ControlReleasing event with the specified parameters for all documents with unreleased content in the current BaseView.
ReleaseDeferredLoadControls(Boolean) Fires the BaseView.ControlReleasing event with the specified parameter for all documents with unreleased content in the current BaseView.
RemoveDocument(Control) Removes a document whose BaseDocument.Control property’s value matches the specified control object.
RestoreLayoutFromRegistry(String) Restores the layout from a specific registry key.
RestoreLayoutFromStream(Stream, Boolean) Restores the layout from a stream that contains data in a specific format.
RestoreLayoutFromStream(Stream) Restores the layout from a stream that contains data in binary format.
RestoreLayoutFromXml(Stream) Restores the layout from a specific stream that contains data in XML format.
RestoreLayoutFromXml(String) Restores the layout from a specific XML file.
SaveLayoutToRegistry(String) Saves the layout in the system registry.
SaveLayoutToStream(Stream, Boolean) Saves the layout in a specific stream in binary format.
SaveLayoutToStream(Stream) Saves the layout in a specific stream in binary format.
SaveLayoutToXml(Stream) Saves the layout in a specific stream in XML format.
SaveLayoutToXml(String) Saves the layout in a specific file in XML format.
ToString() Gets the text representation of the BaseView object.
See Also