Search
ButtonComponent.GetDesiredSize Method
See Also
 





ContentComponent.GetDesiredSize override.

Namespace: MindFusion.Diagramming.Components
Assembly: MindFusion.Diagramming

 Syntax

C#  Copy Code

public override Size GetDesiredSize (
    Size availableSize,
    IGraphics graphics
)

Visual Basic  Copy Code

Public Overrides Function GetDesiredSize( _
    availableSize As Size, _
    graphics As IGraphics _
) As Size

 Parameters

availableSize
The available size.
graphics
An IGraphics object that can be used for text measurement.

 Return Value

A Microsoft.Maui.Graphics.Size representing the desired size of the component given the specified available size.

 See Also