Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Represents a document window in the Domain-Specific Language Designer or generated designer.
This API is not CLS-compliant.
Inheritance Hierarchy
System.Object
  Microsoft.VisualStudio.Shell.WindowPane
    Microsoft.VisualStudio.Modeling.Shell.ModelingWindowPane
      Microsoft.VisualStudio.Modeling.Shell.ModelingDocView
        Microsoft.VisualStudio.Modeling.Shell.DiagramDocView
Namespace:  Microsoft.VisualStudio.Modeling.Shell
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Shell.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.12.0.dll)
Syntax
'Declaration
<CLSCompliantAttribute(False)> _
Public MustInherit Class ModelingDocView _
    Inherits ModelingWindowPane _
    Implements IVsStatusbarUser, IVsToolboxUser, IVsToolboxActiveUserHook
[CLSCompliantAttribute(false)]
public abstract class ModelingDocView : ModelingWindowPane, 
    IVsStatusbarUser, IVsToolboxUser, IVsToolboxActiveUserHook
[CLSCompliantAttribute(false)]
public ref class ModelingDocView abstract : public ModelingWindowPane, 
    IVsStatusbarUser, IVsToolboxUser, IVsToolboxActiveUserHook
[<AbstractClass>]
[<CLSCompliantAttribute(false)>]
type ModelingDocView =  
    class 
        inherit ModelingWindowPane 
        interface IVsStatusbarUser 
        interface IVsToolboxUser 
        interface IVsToolboxActiveUserHook 
    end
public abstract class ModelingDocView extends ModelingWindowPane implements IVsStatusbarUser, IVsToolboxUser, IVsToolboxActiveUserHook
The ModelingDocView type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| .gif) | ModelingDocView | Initializes a new instance of the ModelingDocView class. | 
Top
Properties
| Name | Description | |
|---|---|---|
| .gif) | ActiveInPlaceEditWindow | Gets and sets the active window for in-place editing. (Inherited from ModelingWindowPane.) | 
| .gif) | Content | (Inherited from WindowPane.) | 
| .gif) | DefaultToolboxTabName | Gets the name of the Toolbox tab that the user clicked. | 
| .gif) | DefaultToolboxTabToolboxItemsCount | |
| .gif) | DocData | Gets a document for the document window. | 
| .gif) | Frame | Gets the IVsWindowFrame that corresponds to this window.. (Inherited from ModelingWindowPane.) | 
| .gif) | HasSelectableObjects | Gets the document window and if the document window is open, enables the Select Objects option. (Overrides ModelingWindowPane.HasSelectableObjects.) | 
| .gif) | HelpService | Gets the help service. (Inherited from ModelingWindowPane.) | 
| .gif) | InitializationMode | (Inherited from WindowPane.) | 
| .gif) | IsPrimaryView | Gets the document window and verifies whether this window is the primary document window. | 
| .gif) | MenuService | Gets the menu command service. (Inherited from ModelingWindowPane.) | 
| .gif) | PrimarySelection | Gets the primary selected element in the window pane. (Inherited from ModelingWindowPane.) | 
| .gif) | ProvideViewHelper | Gets the document window and verifies whether a view helper should be created for the document window. | 
| .gif) | SelectedElements | Gets the elements that are selected in the window pane. (Inherited from ModelingWindowPane.) | 
| .gif) | SelectionCount | Gets the number of elements that are selected in the window pane. (Inherited from ModelingWindowPane.) | 
| .gif) | SelectionHelpService | Gets the selection help service. (Inherited from ModelingWindowPane.) | 
| .gif) | ServiceProvider | Gets the service provider that is local to this window pane. (Inherited from ModelingWindowPane.) | 
| .gif) | TargetToolboxItemFilterAttributes | Gets a collection of filter attributes for the document window. | 
| .gif) | ToolboxService | Gets the Toolbox service. | 
| .gif) | Window | (Inherited from WindowPane.) | 
Top
Methods
| Name | Description | |
|---|---|---|
| .gif) | BaseLoadView | To be called when the associated DocData is finished loading or reloading, primarily from DocView.LoadView(). Performs any basic initialization required after loading a new DocData into the view. | 
| .gif) | CommitPendingEditForCommand | When implemented in a derived class, specifies whether pending edits should be committed before a command is executed. (Inherited from ModelingWindowPane.) | 
| .gif) | CountAllObjects | Gets the number of elements in the window pane. (Inherited from ModelingWindowPane.) | 
| .gif) | CountObjects | Counts the number of elements in the window pane or in the current selection. (Inherited from ModelingWindowPane.) | 
| .gif) | CountSelectedObjects | Gets the number of elements in the current selection. (Inherited from ModelingWindowPane.) | 
| .gif) | Dispose() | (Inherited from WindowPane.) | 
| .gif) | Dispose(Boolean) | Releases the unmanaged resources used by the ModelingDocView and optionally releases the managed resources. (Overrides ModelingWindowPane.Dispose(Boolean).) | 
| .gif) | DoSelectObjects | When implemented in a derived class, selects elements in the window pane. (Inherited from ModelingWindowPane.) | 
| .gif) | Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | 
| .gif) | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | 
| .gif) | GetAllObjects | Gets all elements in the window pane. (Inherited from ModelingWindowPane.) | 
| .gif) | GetComponentSelected | Specifies whether the given component is selected. (Inherited from ModelingWindowPane.) | 
| .gif) | GetContainerSelected | Specifies whether the given container is selected. (Inherited from ModelingWindowPane.) | 
| .gif) | GetHashCode | Serves as the default hash function. (Inherited from Object.) | 
| .gif) | GetObjects | Gets either the elements that are currently selected or the elements that can be selected in the window pane. (Inherited from ModelingWindowPane.) | 
| .gif) | GetSelectedComponents | Gets the components that are selected in the window pane. (Inherited from ModelingWindowPane.) | 
| .gif) | GetSelectedObjects | Gets the elements that are selected in the window pane. (Inherited from ModelingWindowPane.) | 
| .gif) | GetService | Gets the service of the specified type. Override this method to return the custom menu command service (Inherited from ModelingWindowPane.) | 
| .gif) | GetSite | Gets the site that was set with SetSite. (Inherited from ModelingWindowPane.) | 
| .gif) | GetType | Gets the Type of the current instance. (Inherited from Object.) | 
| .gif) | Hide | Hides the window pane. (Inherited from ModelingWindowPane.) | 
| .gif) | Initialize | Initializes an instance of the ModelingDocView class. (Overrides WindowPane.Initialize().) | 
| .gif) | InterceptDataObject | Called by toolbox when the input data object is about to go into a drag-drop operation. This method allows the input data object to be substituted by the returned data object, which will go into the drag-drop operation instead. The base implementation returns null, which means no substitution of the input data object. | 
| .gif) | IsDataObjectSupported | Verifies whether an item in the Toolbox can be used with the document window. | 
| .gif) | IsSupported | Verifies whether the document window supports an item in the Toolbox. | 
| .gif) | ItemPicked | Notifies clients that a user clicked an item in the Toolbox or pressed ENTER to select the item. | 
| .gif) | LoadUIState | (Inherited from WindowPane.) | 
| .gif) | LoadView | Verifies whether the document has loaded in a document window. | 
| .gif) | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | 
| .gif) | OnClose | Removes window pane objects from the shortcut menu selection when the window pane is closed. (Inherited from ModelingWindowPane.) | 
| .gif) | OnCreate | When the document is loaded, creates a view for the document window. (Overrides WindowPane.OnCreate().) | 
| .gif) | OnSelectionChanged | Notifies event listeners after the selection changes. (Inherited from ModelingWindowPane.) | 
| .gif) | OnSelectionChanging | Notifies event listeners before the selection changes. (Inherited from ModelingWindowPane.) | 
| .gif) | OnToolboxItemSelected | When a user clicks an item in the Toolbox, calls ToolboxItemSelected. | 
| .gif) | OnToolboxSelectionChanged | |
| .gif) | PreProcessMessage | Handles window messages. (Inherited from ModelingWindowPane.) | 
| .gif) | SaveUIState | (Inherited from WindowPane.) | 
| .gif) | SelectObjects | Selects elements in the window pane. (Inherited from ModelingWindowPane.) | 
| .gif) | SetInfo | Updates the status bar for the document window. | 
| .gif) | SetSelectedComponents(ICollection) | Adds the specified components into the selection container and notifies the shell of the selection change. (Inherited from ModelingWindowPane.) | 
| .gif) | SetSelectedComponents(ICollection, SelectionTypes) | Not currently implemented. (Inherited from ModelingWindowPane.) | 
| .gif) | SetSite | Initializes the window pane in the environment. (Inherited from ModelingWindowPane.) | 
| .gif) | Show | Displays the window pane, brings it to the front, and makes it the active window. (Inherited from ModelingWindowPane.) | 
| .gif) | ShowNoActivate | Displays the window pane, brings it to the front, but does not make it the active window. (Inherited from ModelingWindowPane.) | 
| .gif) | ToString | Returns a string that represents the current object. (Inherited from Object.) | 
Top
Events
| Name | Description | |
|---|---|---|
| .gif) | SelectionChanged | Fired after the selection in the window pane has changed. (Inherited from ModelingWindowPane.) | 
| .gif) | SelectionChanging | Fired before the selection in the window pane changes. (Inherited from ModelingWindowPane.) | 
| .gif) | ToolboxItemSelected | Occurs when the user drags the selected item from the Toolbox to the document window. | 
| .gif) | ToolboxSelectionChanged | Called when toolbox selection changes (through single-click or pressing up/down arrow keys). | 
Top
Explicit Interface Implementations
| Name | Description | |
|---|---|---|
| .gif) .gif) | IVsToolboxActiveUserHook.InterceptDataObject | Called by toolbox when the input data object is about to go into a drag-drop operation. This method allows the input data object to be substituted by the output data object, which will go into the drag-drop operation instead. | 
| .gif) .gif) | IVsStatusbarUser.SetInfo | Called by the shell when it's time for us to set info on the status bar. | 
| .gif) .gif) | IVsToolboxActiveUserHook.ToolboxSelectionChanged | Called when selection on toolbox changes (through a single-click or pressing up/down arrow keys). | 
| .gif) .gif) | IVsWindowPane.ClosePane | Obsolete. (Inherited from WindowPane.) | 
| .gif) .gif) | IVsUIElementPane.CloseUIElementPane | (Inherited from WindowPane.) | 
| .gif) .gif) | IVsWindowPane.CreatePaneWindow | Obsolete. (Inherited from WindowPane.) | 
| .gif) .gif) | IVsUIElementPane.CreateUIElementPane | (Inherited from WindowPane.) | 
| .gif) .gif) | IOleCommandTarget.Exec | (Inherited from WindowPane.) | 
| .gif) .gif) | IVsWindowPane.GetDefaultSize | Obsolete. (Inherited from WindowPane.) | 
| .gif) .gif) | IVsUIElementPane.GetDefaultUIElementSize | (Inherited from WindowPane.) | 
| .gif) .gif) | IServiceProvider.GetService | (Inherited from WindowPane.) | 
| .gif) .gif) | IVsUIElementPane.LoadUIElementState | (Inherited from WindowPane.) | 
| .gif) .gif) | IVsWindowPane.LoadViewState | Obsolete. (Inherited from WindowPane.) | 
| .gif) .gif) | IOleCommandTarget.QueryStatus | (Inherited from WindowPane.) | 
| .gif) .gif) | IVsUIElementPane.SaveUIElementState | (Inherited from WindowPane.) | 
| .gif) .gif) | IVsWindowPane.SaveViewState | Obsolete. (Inherited from WindowPane.) | 
| .gif) .gif) | IVsWindowPane.SetSite | Obsolete. (Inherited from WindowPane.) | 
| .gif) .gif) | IVsUIElementPane.SetUIElementSite | (Inherited from WindowPane.) | 
| .gif) .gif) | IVsWindowPane.TranslateAccelerator | Obsolete. (Inherited from WindowPane.) | 
| .gif) .gif) | IVsUIElementPane.TranslateUIElementAccelerator | (Inherited from WindowPane.) | 
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.