Skip to main content
Version: 4.1

LayoutEngine

Namespace: Wisej.Web.Layout

Assembly: Wisej.Framework (4.1.0.0)

Layout engine base class.

public class LayoutEngine : LayoutEngine

Methods​

Instance member GetPreferredSize(container, proposedSize)​

Retrieves the size of a rectangular area into which a control can be fitted.

ParameterTypeDescription
containerIComponentThe container on which the layout engine will operate.
proposedSizeSizeProposed size of the container. Can be 0,0.

Returns: Size. The preferred Size.

Instance member InitLayout(child, specified)​

Initializes the layout engine.

ParameterTypeDescription
childObjectThe child control on which the layout engine will operate.
specifiedBoundsSpecifiedThe bounds defining the container's size and position.

Throws:

Instance member Layout(container, layoutEventArgs)​

Requests that the layout engine perform a layout operation.

ParameterTypeDescription
containerObjectThe container on which the layout engine will operate.
layoutEventArgsLayoutEventArgsAn event argument from a Layout event.

Returns: Boolean. true if layout should be performed again by the parent of container ; otherwise, false.

Throws: