NodeShapeGeometry.DrawResizeableGrabHandles Method
Draws resizeable grab handles on a shape. The grab handles also indicate focus.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0.dll)
Syntax
'Declaration
Protected Shared Sub DrawResizeableGrabHandles ( _
g As Graphics, _
styleSet As StyleSet, _
innerSelectionRectangle As RectangleF, _
selectionThickness As SizeF, _
isPrimary As Boolean, _
canResizeLeft As Boolean, _
canResizeTop As Boolean, _
canResizeRight As Boolean, _
canResizeBottom As Boolean _
)
protected static void DrawResizeableGrabHandles(
Graphics g,
StyleSet styleSet,
RectangleF innerSelectionRectangle,
SizeF selectionThickness,
bool isPrimary,
bool canResizeLeft,
bool canResizeTop,
bool canResizeRight,
bool canResizeBottom
)
protected:
static void DrawResizeableGrabHandles(
Graphics^ g,
StyleSet^ styleSet,
RectangleF innerSelectionRectangle,
SizeF selectionThickness,
bool isPrimary,
bool canResizeLeft,
bool canResizeTop,
bool canResizeRight,
bool canResizeBottom
)
static member DrawResizeableGrabHandles :
g:Graphics *
styleSet:StyleSet *
innerSelectionRectangle:RectangleF *
selectionThickness:SizeF *
isPrimary:bool *
canResizeLeft:bool *
canResizeTop:bool *
canResizeRight:bool *
canResizeBottom:bool -> unit
protected static function DrawResizeableGrabHandles(
g : Graphics,
styleSet : StyleSet,
innerSelectionRectangle : RectangleF,
selectionThickness : SizeF,
isPrimary : boolean,
canResizeLeft : boolean,
canResizeTop : boolean,
canResizeRight : boolean,
canResizeBottom : boolean
)
Parameters
- g
Type: Graphics
- styleSet
Type: Microsoft.VisualStudio.Modeling.Diagrams.StyleSet
- innerSelectionRectangle
Type: RectangleF
- selectionThickness
Type: SizeF
- isPrimary
Type: Boolean
- canResizeLeft
Type: Boolean
- canResizeTop
Type: Boolean
- canResizeRight
Type: Boolean
- canResizeBottom
Type: Boolean
.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.