Skip to main content
Version: 3.5

LayoutEngine

Namespace: Wisej.Web.Layout

Assembly: Wisej.Framework (3.5.0.0)

Layout engine base class.

public class LayoutEngine : LayoutEngine

Methods​

Instance memberGetPreferredSize(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 memberInitLayout(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 memberLayout(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: