MindFusion.Wpf Pack Programmer's Guide
InternalUtils.DrawExpandButton Method (DrawingContext, Boolean, Rect, GraphicsUnit, Brush, DiagramItem)
See Also
 





Renders an expand/collapse button to the specified graphics.

Namespace: MindFusion.Diagramming.Wpf
Assembly: MindFusion.Diagramming.Wpf

 Syntax

C#  Copy Code

public static void DrawExpandButton (
    DrawingContext graphics,
    bool expanded,
    Rect bounds,
    GraphicsUnit measureUnit,
    Brush shadowBrush,
    DiagramItem item
)

Visual Basic  Copy Code

Public Shared Sub DrawExpandButton( _
    graphics As DrawingContext, _
    expanded As Boolean, _
    bounds As Rect, _
    measureUnit As GraphicsUnit, _
    shadowBrush As Brush, _
    item As DiagramItem _
)

 Parameters

graphics

The DrawingContext object that represents the target of the drawing operation.

expanded

Specifies whether the drawn button is expanded or collapsed.

bounds

The destination rectangle of the button.

measureUnit

The current measure unit.

shadowBrush

The Brush to use in order to draw the button shadow.

item

The item whose expand button is being drawn.

 Remarks

This method supports the Diagramming for WPF infrastructure and is not intended to be used directly from your code.

 See Also

DrawExpandButton Method Overload List
InternalUtils Members
InternalUtils Class
MindFusion.Diagramming.Wpf Namespace