Share via


VSDiagramView Class

Definition

Important

This API is not CLS-compliant.

Diagram view hosted inside VS.

public ref class VSDiagramView : Microsoft::VisualStudio::Modeling::Diagrams::DiagramView
[System.CLSCompliant(false)]
public class VSDiagramView : Microsoft.VisualStudio.Modeling.Diagrams.DiagramView
public class VSDiagramView : Microsoft.VisualStudio.Modeling.Diagrams.DiagramView
[<System.CLSCompliant(false)>]
type VSDiagramView = class
    inherit DiagramView
type VSDiagramView = class
    inherit DiagramView
Public Class VSDiagramView
Inherits DiagramView
Inheritance
VSDiagramView
Attributes

Constructors

VSDiagramView()

Constructor.

Properties

ActiveMouseAction

Gets or sets the active mouse action for this DiagramView.

(Inherited from DiagramView)
Diagram

Gets or sets the Diagram object associated with this DiagramView.

(Inherited from DiagramView)
DiagramClientView

Returns the client view design surface contained within the DiagramView.

(Inherited from DiagramView)
DocData
DocView
GripColor

The color to use to paint the gripper in the lower-right corner of the diagram when both vertical and horizontal scrollbars are visible.

(Inherited from DiagramView)
HasWatermark

Set this property to true to enable watermark on design surface or to false to disable it (false is default).

(Inherited from DiagramView)
MouseUpEvent

Occurs when mouse button is release.

Selection

Gets the selection for the DiagramView.

(Inherited from DiagramView)
SelectionService
Site

Sets the site for the diagram view. This property is a passthrough to the associated DiagramClientView's site.

(Inherited from DiagramView)
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.

(Inherited from DiagramView)
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.

(Inherited from DiagramView)
ZoomFactor

Gets the scaling factor.

(Inherited from DiagramView)

Methods

CreateAccessibilityInstance() (Inherited from DiagramView)
Dispose(Boolean)

Unregister event handlers on disposal

NudgeDown()

Moves the selection down.

(Inherited from DiagramView)
NudgeLeft()

Moves the selection left.

(Inherited from DiagramView)
NudgeRight()

Moves the selection right.

(Inherited from DiagramView)
NudgeUp()

Moves the selection up.

(Inherited from DiagramView)
OnHandleDestroyed(EventArgs)

Catch the handle destroy event to allow an orderly shutdown of the diagram if this is the final handle.

(Inherited from DiagramView)
OnMouseDown(MouseEventArgs)
OnMouseUp(MouseEventArgs)
OnSizeChanged(EventArgs)

Handles the SizeChanged event by repositioning and resizing all of child control

(Inherited from DiagramView)
OnWatermarkCreated()

Customizes the watermark font to match VS

ScrollDown()

Scrolls the view down.

(Inherited from DiagramView)
ScrollLeft()

Scrolls the view left.

(Inherited from DiagramView)
ScrollRight()

Scrolls the view right.

(Inherited from DiagramView)
ScrollUp()

Scrolls the view up.

(Inherited from DiagramView)
SelectedToolboxItemSupportsFilterString(String)

Determines whether the currently selected toolbox item supports the given filter string. Useful for recognizing custom filters.

(Inherited from DiagramView)
WndProc(Message)

Override the default WndProc so that we don't shutdown VS and launch Watson unless it's a critical exception. If it's not, then we just diplay the error message.

(Inherited from DiagramView)
ZoomAtViewCenter(Single)

Zooms in or out around the center point of the current view.

(Inherited from DiagramView)
ZoomIn()

Zooms in

(Inherited from DiagramView)
ZoomOut()

Zooms out

(Inherited from DiagramView)
ZoomToFit()

Zooms in or out to show the entire diagram as large as possible.

(Inherited from DiagramView)

Applies to