Class TwoLinesLayoutPanel
Represents the TwoLinesLayoutPanel
Inheritance
System.Object
TwoLinesLayoutPanel
Namespace: Syncfusion.Windows.Tools.Controls
Assembly: Syncfusion.Tools.Wpf.dll
Syntax
public class TwoLinesLayoutPanel : Panel
Constructors
TwoLinesLayoutPanel()
Initializes a new instance of the TwoLinesLayoutPanel class.
Declaration
public TwoLinesLayoutPanel()
Fields
MIN_TWOLINES_HEIGHT
Represents the two lines height
Declaration
public const int MIN_TWOLINES_HEIGHT = 32
Field Value
Type |
---|
System.Int32 |
STEP
Represents the step
Declaration
public const int STEP = 30
Field Value
Type |
---|
System.Int32 |
Methods
ArrangeOverride(Size)
Provide a required override for the ArrangeOverride method.
Declaration
protected override Size ArrangeOverride(Size finalSize)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Size | finalSize | The final area within the parent that this element should use to arrange itself and its children |
Returns
Type | Description |
---|---|
System.Windows.Size | The actual size used. |
MeasureOverride(Size)
Provides a required override for the MeasureOverride method.
Declaration
protected override Size MeasureOverride(Size availableSize)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Size | availableSize | The available size that this element can give to child elements. Infinity can be specified as a value to indicate that the element will size to whatever content is available. |
Returns
Type | Description |
---|---|
System.Windows.Size | The size that this element determines it needs during layout, based on its calculations of child element sizes. |