Wisej.Web.FlowDirection
Namespace: Wisej.Web
Assembly: Wisej.Framework (4.0.0.0)
Defines constants that specify the direction in which consecutive user interface (UI) elements are placed in a linear layout container.
BottomUp
Elements flow from the bottom of the design surface to the top.
LeftToRight
Elements flow from the left edge of the design surface to the right.
RightToLeft
Elements flow from the right edge of the design surface to the left.
TopDown
Elements flow from the top of the design surface to the bottom.
Returns or sets a value indicating the flow direction of the control.
Sets the flow direction for the specified control.
Wisej.Web.FlowLayoutPanel
Namespace: Wisej.Web
Assembly: Wisej.Framework (4.0.0.0)
Represents a panel that dynamically arranges its controls horizontally or vertically in automatic rows or columns.
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 controls, 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:
FlowDirection Wraps child controls to a new column (TopDown, or BottomUp) or to a new row (LeftToRight, RightToLeft).
WrapContents When set to false, child controls do not wrap and are either clipped or scrolled.
Padding Increases the distance between the child controls and the borders of the parent panel.
Initializes a new instance of the FlowLayoutPanel class.
Initializes a new instance of the FlowLayoutPanel class with the specified initial settings.
controls
The array of child controls to add to the panel.
direction
The flow direction of the layout of the child controls.
Initializes a new instance of the FlowLayoutPanel class with the specified initial settings.
location
The location of the panel on its parent control.
size
The size of the panel.
controls
The array of child controls to add to the panel.
direction
The flow direction of the layout of the child controls.
FlowDirection: Returns or sets a value indicating the flow direction of the FlowLayoutPanel control. (Default: LeftToRight
)
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. (Default: True
)
Determines whether to proportionally stretch the width or the control to fill the remaining space it the containing row.
control
The child control.
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.
control
The child 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.
control
The child control.
value
The fill weight value to set.
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:
ArgumentOutOfRangeException The value is less than 0 or greater than 100.
Determines whether to create a new row or a new column, depending on the value of the FlowDirection property, after the control.
control
The child control.
value
The flow-break value to set.
Represents the navigation and manipulation user interface (UI) for controls that are bound to a data source.
Provides access to the UserData
and Tag
properties associated to the component implementing this interface.
Bindable components implement this interface.
Controls that support drag & drop operations implement this interface.
Provides access to common image properties across the controls that 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.