Click or drag to resize

IViewContent Interface

Interface for the viewmodel part of a document that is shown in the document area of the workbench.

Namespace: Altaxo.Gui.Workbench
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public interface IViewContent : IWorkbenchContent, 
	IMVCController, IDisposable, INotifyPropertyChanged, IServiceProvider, ICanBeDirty

The IViewContent type exposes the following members.

Properties
 NameDescription
Public propertyCloseCommand 
Public propertyCloseWithSolution Gets whether this view content should be closed when the solution is closed.
Public propertyInfoTip The tooltip that will be shown when you hover the mouse over the title
Public propertyInitiallyFocusedControl Gets the control which has focus initially.
(Inherited from IWorkbenchContent)
Public propertyIsActive
(Inherited from IWorkbenchContent)
Public propertyIsDirty If this property returns true the content has changed since the last load/save operation.
(Inherited from ICanBeDirty)
Public propertyIsDisposed 
Public propertyIsReadOnly Gets if the view content is read-only (can be saved only when choosing another file name).
Public propertyIsSelected Gets or sets a value indicating whether this pad or document is selected. If this is a document, it is selected if the tab of the document is selected.
(Inherited from IWorkbenchContent)
Public propertyIsViewOnly Gets if the view content is view-only (cannot be saved at all).
Public propertyIsVisible Gets or sets the visibility of a pad or document. If false for a pad, the pad is not visible. If false for a document, the document tab header is not visible (but the document itself maybe visible). If true for a pad, the pad may be visible or is collapsed. If true for a document, the document tab header is visible (if it fits in the bar), and the document is visible, if it is selected, too.
(Inherited from IWorkbenchContent)
Public propertyModelObject Returns the model (document) that this controller manages.
(Inherited from IMVCController)
Public propertyTitle Returns the title of the pad (IPadContent), or the text on the tab page of the document window (IViewContent).
(Inherited from IWorkbenchContent)
Public propertyViewObject Returns the Gui element that shows the model to the user.
(Inherited from IMVCController)
Top
Methods
 NameDescription
Public methodBuildNavPoint Builds an INavigationPoint for the current position.
Public methodDisposePerforms application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
(Inherited from IDisposable)
Public methodGetServiceGets the service object of the specified type.
(Inherited from IServiceProvider)
Public methodSetDisposeInProgress Announces that this view content is about to be disposed very soon. The view content should remain passiv (e.g. should not react to events any more), but should not release its resources yet (this is done later in Dispose).
Top
Events
 NameDescription
Public eventDisposed 
Public eventIsDirtyChanged Is called when the content is changed after a save/load operation and this signals that changes could be saved.
(Inherited from ICanBeDirty)
Public eventPropertyChangedOccurs when a property value changes.
(Inherited from INotifyPropertyChanged)
Top
See Also