Class UniformWrapPanel
Represents a Panel that wraps its Children column based, and vertically stretches the last child of each column.
Inheritance
Implements
Namespace: Sartorius.SAF.Presentation.Controls
Assembly: Sartorius.SAF.Presentation.Controls.dll
Syntax
public class UniformWrapPanel : Panel, IAnimatable, ISupportInitialize, IFrameworkInputElement, IInputElement, IQueryAmbient, IAddChild
Fields
View SourceLastChildFillProperty
Dependency property for the LastChildFill property.
Declaration
public static readonly DependencyProperty LastChildFillProperty
Field Value
| Type | Description |
|---|---|
| DependencyProperty |
Properties
View SourceLastChildFill
Gets or sets a value that indicates whether the last child element stretches to fill the remaining available space.
Declaration
public bool LastChildFill { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
Methods
View SourceArrangeOverride(Size)
When overridden in a derived class, positions child elements and determines a size for a FrameworkElement derived class.
Declaration
protected override Size ArrangeOverride(Size finalSize)
Parameters
| Type | Name | Description |
|---|---|---|
| Size | finalSize | The final area within the parent that this element should use to arrange itself and its children. |
Returns
| Type | Description |
|---|---|
| Size | The actual size used. |
Overrides
View SourceMeasureOverride(Size)
When overridden in a derived class, measures the size in layout required for child elements and determines a size for the FrameworkElement-derived class.
Declaration
protected override Size MeasureOverride(Size availableSize)
Parameters
| Type | Name | Description |
|---|---|---|
| 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 |
|---|---|
| Size | The size that this element determines it needs during layout, based on its calculations of child element sizes. |