Search
DiagramView.OnSizeRequest Method
See Also
 






This method is called during the measure pass of a layout cycle to get the desired size of an element.

Namespace: MindFusion.Diagramming
Assembly: MindFusion.Diagramming

 Syntax

C#  Copy Code

protected override SizeRequest OnSizeRequest (
    double widthConstraint,
    double heightConstraint
)

Visual Basic  Copy Code

Protected Overrides Function OnSizeRequest( _
    widthConstraint As Double, _
    heightConstraint As Double _
) As SizeRequest

 Parameters

widthConstraint

The available width for the element to use.

heightConstraint

The available height for the element to use.

 Return Value

 See Also