Wisej.Web.FlexLayoutStyle
Namespace: Wisej.Web
Assembly: Wisej.Framework (2.2.0.0)
Used by the LayoutStyle property to determines the layout engine used to arrange the child controls in the panel.
Name | Description |
---|---|
Name | Description |
---|---|
Default
Child controls are arranged according to the location, dock style and anchoring values.
Horizontal
Child controls are arranged horizontally using their margin and alignment properties.
Vertical
Child controls are arranged vertically using their margin and alignment properties.
Determine the layout engine to use to arrange the panel's child controls.
Wisej.Web.FlexLayoutPanel
Namespace: Wisej.Web
Assembly: Wisej.Framework (2.2.0.0)
Represents a panel that dynamically arranges its child controls.
The can arrange its child controls using the layout engine specified in . When the value is set to , the child controls are arranged using the default layout engine, using their location, dock style and anchor properties. When the value of is set to , child controls are arranged horizontally in a single row. When the value of is set to , child controls are arranged vertically in a single column. Uses the following properties of the child controls:
Increases the space around the control.
AlignY Aligns the control vertically within its parent using one of the values. It's used only when is set to .
AlignX Aligns the control horizontally within its parent using one of the values. It's used only when is set to .
FillWeight Stretches the control's width or height to use the remaining space in the parent proportionally, according to the fill weights of all the children.
Enforces the minimum size of controls stretched using the FillWeight value.
Enforces the maximum size of controls stretched using the FillWeight value.
Uses the following properties of the parent control:
Aligns all the child controls horizontally using one of the values. If any of the child control indicates a FillWeight value greater than 0, the remaining space is used to stretch the control and no alignment can take place since there is no remaining space. When is set to , the value of is the default for the AlignX property of child controls.
Aligns all the child controls vertically using one of the values. If any of the child control indicates a FillWeight value greater than 0, the remaining space is used to stretch the control and no alignment can take place since there is no remaining space. When is set to , the value of is the default for the AlignY property of child controls.
Increases the horizontal or vertical space between the child controls. The value in pixels of is added to the control's .
Increases the distance between the child controls and the borders of the parent panel.
Determines whether to proportionally stretch the child within the panel to use the remaining space.
Determines whether to proportionally stretch the child within the panel to use the remaining space.
: Determines the horizontal alignment of the child controls when is set to .
: Returns the control's layout engine.
: Determine the layout engine to use to arrange the panel's child controls.
Controls are arranged using the default layout engine and according to their location, dock style, and anchoring.
Controls are arranged horizontally in a single row according to their width, alignment, fill weight, and margin. The control's location, dock style, and anchoring are ignored.
Controls are arranged vertically in a single column according to their height, alignment, fill weight, and margin. The control's location, dock style, and anchoring are ignored.
: Returns or sets the additional space, in pixels, between child controls when is set to or . The default value is 10.
: Determines the vertical alignment of the child controls when is set to .
Determines the horizontal alignment of the child control within the panel when is set to .
Parameter | Type | Description |
---|
Returns: .
Determines the vertical alignment of the child control within the panel when is set to .
Parameter | Type | Description |
---|
Returns: .
Parameter | Type | Description |
---|
Returns: . The fill weight value associated with the control.
The FillWeight property defines the relative width or height of a control managed by the . The default value is 0 and the maximum value is 100.
Determines the horizontal alignment of the child control within the panel when is set to .
Parameter | Type | Description |
---|
Determines the vertical alignment of the child control within the panel when is set to .
Parameter | Type | Description |
---|
Parameter | Type | Description |
---|
The FillWeight property defines the relative width or height of a control managed by the . The default value is 0 and the maximum value is 100. Throws:
The value is less than 0 or greater than 100.
Name | Description |
---|
control |
control |
control | The child control. |
control |
value |
control |
value |
control | The child control. |
value | The fill weight value to set. |
Bindable components implement this interface. |
All wisej components implement this interface. |
Allows an object to serialize itself. |
All wisej controls derived from the class must implement this interface.