DiagramView Class
This is the view control that creates design surface and scrollbars.
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)
System::MarshalByRefObject
System.ComponentModel::Component
System.Windows.Forms::Control
Microsoft.VisualStudio.Modeling.Diagrams::DiagramView
Microsoft.VisualStudio.Modeling.Shell::VSDiagramView
| Name | Description | |
|---|---|---|
![]() | DiagramView() | The default constructor creates and initializes all of the controls in the DiagramView. And, signs up for events from the scrollbars and DiagramClientView. |
| Name | Description | |
|---|---|---|
![]() | AccessibilityObject | (Inherited from Control.) |
![]() | AccessibleDefaultActionDescription | (Inherited from Control.) |
![]() | AccessibleDescription | (Inherited from Control.) |
![]() | AccessibleName | (Inherited from Control.) |
![]() | AccessibleRole | (Inherited from Control.) |
![]() | ActiveMouseAction | Gets or sets the active mouse action for this DiagramView. |
![]() | AllowDrop | (Inherited from Control.) |
![]() | Anchor | (Inherited from Control.) |
![]() | AutoScrollOffset | (Inherited from Control.) |
![]() | BackColor | (Inherited from Control.) |
![]() | BackgroundImage | (Inherited from Control.) |
![]() | BackgroundImageLayout | (Inherited from Control.) |
![]() | BindingContext | (Inherited from Control.) |
![]() | Bottom | (Inherited from Control.) |
![]() | Bounds | (Inherited from Control.) |
![]() | CanEnableIme | (Inherited from Control.) |
![]() | CanFocus | (Inherited from Control.) |
![]() | CanRaiseEvents | (Inherited from Control.) |
![]() | CanSelect | (Inherited from Control.) |
![]() | Capture | (Inherited from Control.) |
![]() | CausesValidation | (Inherited from Control.) |
![]() | ClientRectangle | (Inherited from Control.) |
![]() | ClientSize | (Inherited from Control.) |
![]() | CompanyName | (Inherited from Control.) |
![]() | Container | (Inherited from Component.) |
![]() | ContainsFocus | (Inherited from Control.) |
![]() | ContextMenu | (Inherited from Control.) |
![]() | ContextMenuStrip | (Inherited from Control.) |
![]() | Controls | (Inherited from Control.) |
![]() | Created | (Inherited from Control.) |
![]() | CreateParams | (Inherited from Control.) |
![]() | Cursor | (Inherited from Control.) |
![]() | DataBindings | (Inherited from Control.) |
![]() | DefaultCursor | (Inherited from Control.) |
![]() | DefaultImeMode | (Inherited from Control.) |
![]() | DefaultMargin | (Inherited from Control.) |
![]() | DefaultMaximumSize | (Inherited from Control.) |
![]() | DefaultMinimumSize | (Inherited from Control.) |
![]() | DefaultPadding | (Inherited from Control.) |
![]() | DefaultSize | (Inherited from Control.) |
![]() | DesignMode | (Inherited from Component.) |
![]() | Diagram | Gets or sets the Diagram object associated with this DiagramView. |
![]() | DiagramClientView | Returns the client view design surface contained within the DiagramView. |
![]() | DisplayRectangle | (Inherited from Control.) |
![]() | Disposing | (Inherited from Control.) |
![]() | Dock | (Inherited from Control.) |
![]() | DoubleBuffered | (Inherited from Control.) |
![]() | Enabled | (Inherited from Control.) |
![]() | Events | (Inherited from Component.) |
![]() | Focused | (Inherited from Control.) |
![]() | Font | (Inherited from Control.) |
![]() | FontHeight | (Inherited from Control.) |
![]() | ForeColor | (Inherited from Control.) |
![]() | GripColor | |
![]() | Handle | (Inherited from Control.) |
![]() | HasChildren | (Inherited from Control.) |
![]() | HasWatermark | Set this property to true to enable watermark on design surface or to false to disable it (false is default). |
![]() | Height | (Inherited from Control.) |
![]() | ImeMode | (Inherited from Control.) |
![]() | ImeModeBase | (Inherited from Control.) |
![]() | InvokeRequired | (Inherited from Control.) |
![]() | IsAccessible | (Inherited from Control.) |
![]() | IsDisposed | (Inherited from Control.) |
![]() | IsHandleCreated | (Inherited from Control.) |
![]() | IsMirrored | (Inherited from Control.) |
![]() | LayoutEngine | (Inherited from Control.) |
![]() | Left | (Inherited from Control.) |
![]() | Location | (Inherited from Control.) |
![]() | Margin | (Inherited from Control.) |
![]() | MaximumSize | (Inherited from Control.) |
![]() | MinimumSize | (Inherited from Control.) |
![]() | Name | (Inherited from Control.) |
![]() | Padding | (Inherited from Control.) |
![]() | Parent | (Inherited from Control.) |
![]() | PreferredSize | (Inherited from Control.) |
![]() | ProductName | (Inherited from Control.) |
![]() | ProductVersion | (Inherited from Control.) |
![]() | RecreatingHandle | (Inherited from Control.) |
![]() | Region | (Inherited from Control.) |
![]() | RenderRightToLeft | (Inherited from Control.) |
![]() | ResizeRedraw | (Inherited from Control.) |
![]() | Right | (Inherited from Control.) |
![]() | RightToLeft | (Inherited from Control.) |
![]() | ScaleChildren | (Inherited from Control.) |
![]() | Selection | Gets the selection for the DiagramView. |
![]() | ShowFocusCues | (Inherited from Control.) |
![]() | ShowKeyboardCues | (Inherited from Control.) |
![]() | Site | Sets the site for the diagram view. This property is a passthrough to the associated DiagramClientView's site.(Overrides Control::Site.) |
![]() | Size | (Inherited from Control.) |
![]() | TabIndex | (Inherited from Control.) |
![]() | TabStop | (Inherited from Control.) |
![]() | Tag | (Inherited from Control.) |
![]() | Text | (Inherited from Control.) |
![]() | Toolbox | Provide cached access to the toolbox. The diagram must be displayed by a diagram view that has access to the toolbox through it's Site property. |
![]() | Top | (Inherited from Control.) |
![]() | TopLevelControl | (Inherited from Control.) |
![]() | UseWaitCursor | (Inherited from Control.) |
![]() | Visible | (Inherited from Control.) |
![]() | Watermark | Returns LinkLabel which represents the watermark control on design surface. Use this property after HasWatermark is set to true to specify watermark text, link areas and link event handler. |
![]() | Width | (Inherited from Control.) |
![]() | ZoomFactor | Gets the scaling factor. |
| Name | Description | |
|---|---|---|
![]() ![]() | IDropTarget::OnDragDrop(DragEventArgs^) | (Inherited from Control.) |
![]() ![]() | IDropTarget::OnDragEnter(DragEventArgs^) | (Inherited from Control.) |
![]() ![]() | IDropTarget::OnDragLeave(EventArgs^) | (Inherited from Control.) |
![]() ![]() | IDropTarget::OnDragOver(DragEventArgs^) | (Inherited from Control.) |
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.






