Diagram.InvalidateRectangle Method
Invalidates the shapes that are in the selection rectangle.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
Syntax
'Déclaration
Public Sub InvalidateRectangle ( _
rectangle As RectangleD _
)
public void InvalidateRectangle(
RectangleD rectangle
)
public:
void InvalidateRectangle(
RectangleD rectangle
)
member InvalidateRectangle :
rectangle:RectangleD -> unit
public function InvalidateRectangle(
rectangle : RectangleD
)
Parameters
- rectangle
Type: Microsoft.VisualStudio.Modeling.Diagrams.RectangleD
The selection rectangle.
Remarks
When a shape is invalidated, it is redrawn.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.