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.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
Syntax
'宣告
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: System.Drawing.Graphics
- styleSet
Type: Microsoft.VisualStudio.Modeling.Diagrams.StyleSet
- innerSelectionRectangle
Type: System.Drawing.RectangleF
- selectionThickness
Type: System.Drawing.SizeF
- isPrimary
Type: System.Boolean
- canResizeLeft
Type: System.Boolean
- canResizeTop
Type: System.Boolean
- canResizeRight
Type: System.Boolean
- canResizeBottom
Type: System.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.