FlowLayoutPanel

Wisej.Web.FlowLayoutPanel

Namespace: Wisej.Web

Assembly: Wisej.Framework (3.0.0.0)

Represents a panel that dynamically arranges its children horizontally or vertically in automatic rows or columns.

public class FlowLayoutPanel : Panel, IExtenderProvider

Arranges child controls horizontally or vertically. Ignores the control location, dock style and anchoring. Uses the following properties of the child controls:

  • Margin Increases the space around the control.

  • FillWeight Stretches the width of control proportionally, according to the fill weights of all the children, to use the remaining space in the row.

  • MinimumSize Enforces the minimum size of controls stretched using the FillWeight value.

  • MaximumSize Enforces the maximum size of controls stretched using the FillWeight value.

  • FlowBreak Determines whether to create a new row or a new column after the control.

Uses the following properties of the parent FlowLayoutPanel control:

Constructors

Initializes a new instance of the FlowLayoutPanel class.

Properties

FlowDirection: Returns or sets a value indicating the flow direction of the FlowLayoutPanel control.

LayoutEngine: Returns the control's layout engine.

Boolean: Returns or sets whether the FlowLayoutPanel control should wrap its contents or let the contents be clipped.

Methods

Determines whether to proportionally stretch the width or the control to fill the remaining space it the containing row.

Returns: Int32. The fill weight value associated with the control.

The FillWeight property defines the relative width of a control in a row managed by the FlowLayoutPanel. The default value is 0 and the maximum value is 100 (the control will fill all the remaining width of the row.)

Determines whether to create a new row or a new column, depending on the value of the FlowDirection property, after the control.

Returns: Boolean. true if the flow break is set; otherwise, false.

Determines whether to proportionally stretch the width or the control to fill the remaining space it the containing row.

The FillWeight property defines the relative width of a control in a row managed by the FlowLayoutPanel. The default value is 0 and the maximum value is 100 (the control will fill all the remaining width of the row.) Throws:

Determines whether to create a new row or a new column, depending on the value of the FlowDirection property, after the control.

Inherited By

Implements

Last updated