Click or drag to resize

AbstractPadContent Class

Base class for pad content view models.
Inheritance Hierarchy
SystemObject
  Altaxo.Gui.WorkbenchAbstractPadContent
    More

Namespace: Altaxo.Gui.Workbench
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntax
C#
public abstract class AbstractPadContent : IPadContent, 
	IWorkbenchContent, IMVCController, IDisposable, INotifyPropertyChanged, IServiceProvider

The AbstractPadContent type exposes the following members.

Constructors
 NameDescription
Protected methodAbstractPadContentInitializes a new instance of the AbstractPadContent class
Top
Properties
 NameDescription
Public propertyCategory Gets or sets the category used to determine where the menu item for this pad is placed.
Public propertyContentId Gets a string which uniquely identifies the content.
Public propertyDefaultPosition Gets the default position of this pad.
Public propertyIconSource Gets the icon bitmap resource name of the pad. May be an empty string if the pad has no icon defined.
Public propertyInitiallyFocusedControl Gets the control which has focus initially.
Public propertyIsActive Gets or sets a value indicating whether the view of this instance is active in the UI.
Public propertyIsSelected Gets or sets a value indicating whether the view of this instance is selected (e.g. inside its container).
Public propertyIsVisible Gets or sets the visibility of the pad. If false, the pad is not visible. If true, the pad may be visible or is collapsed.
Public propertyModelObject Gets the model (document) that this controller manages.
Public propertyPadDescriptor Gets or sets the pad descriptor that has created this pad content.
Public propertyShortcut Gets or sets the menu shortcut for the view menu item.
Public propertyTitle Returns the title of the pad (IPadContent), or the text on the tab page of the document window (IViewContent).
Public propertyViewObject Gets or sets the GUI element that shows the model to the user.
Top
Methods
 NameDescription
Public methodBringToFront Brings the pad to the front by making it visible and selected.
Public methodDisposePerforms application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetService Gets a service provided by this pad content.
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Protected methodOnPropertyChanged Raises the PropertyChanged event.
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
Events
 NameDescription
Public eventPropertyChangedOccurs when a property value changes.
Top
Fields
 NameDescription
Protected field_category Stores the pad category when no descriptor is assigned.
Protected field_contentId Stores the content identifier when no descriptor is assigned.
Protected field_iconSource Stores the icon source when no descriptor is assigned.
Protected field_isActive Stores whether the pad is active.
Protected field_isSelected Stores whether the pad is selected.
Protected field_isVisible Stores whether the pad is visible.
Protected field_padDescriptor Stores the descriptor that defines the pad metadata.
Protected field_shortCut Stores the shortcut when no descriptor is assigned.
Protected field_title Stores the pad title when no descriptor is assigned.
Top
See Also
Inheritance Hierarchy