Class MinMaxWidthLayoutResult
Represents the result of content layouting.
public class MinMaxWidthLayoutResult : LayoutResult
- Inheritance
-
MinMaxWidthLayoutResult
- Derived
- Inherited Members
Constructors
MinMaxWidthLayoutResult(int, LayoutArea, IRenderer, IRenderer)
Creates min and max width.
public MinMaxWidthLayoutResult(int status, LayoutArea occupiedArea, IRenderer splitRenderer, IRenderer overflowRenderer)
Parameters
status
intthe status which indicates the content
occupiedArea
LayoutAreathe area occupied by the content
splitRenderer
IRendererthe renderer to draw the splitted part of the content
overflowRenderer
IRendererthe renderer to draw the overflowed part of the content
MinMaxWidthLayoutResult(int, LayoutArea, IRenderer, IRenderer, IRenderer)
Creates min and max width.
public MinMaxWidthLayoutResult(int status, LayoutArea occupiedArea, IRenderer splitRenderer, IRenderer overflowRenderer, IRenderer cause)
Parameters
status
intthe status which indicates the content
occupiedArea
LayoutAreathe area occupied by the content
splitRenderer
IRendererthe renderer to draw the splitted part of the content
overflowRenderer
IRendererthe renderer to draw the overflowed part of the content
cause
IRendererthe first renderer to produce NOTHING
Fields
minMaxWidth
The MinMaxWidth value of min and max width.
protected MinMaxWidth minMaxWidth
Field Value
Methods
GetMinMaxWidth()
Gets min and max width.
public virtual MinMaxWidth GetMinMaxWidth()
Returns
- MinMaxWidth
min and max width
SetMinMaxWidth(MinMaxWidth)
Sets min and max width.
public virtual MinMaxWidthLayoutResult SetMinMaxWidth(MinMaxWidth minMaxWidth)
Parameters
minMaxWidth
MinMaxWidthmin and max width
Returns
- MinMaxWidthLayoutResult
min and max width