API Reference
Struct
LayoutSize
A size specification: LayoutSize.Auto, LayoutSize.Fixed cells, or a LayoutSize.Fraction of the remaining space with a minimum.
Inheritance
- ValueType
- LayoutSize
Usage
Explore 17 API references to this type
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by 7
- Property Columns.Sizes
- Method LayoutSize.Fixed
- Method LayoutSize.Fraction
- Method LayoutSize.WithMin
- Property LayoutSize.Auto
- Property Rows.Sizes
- Property Sized.LayoutSize
Accepted by parameters 10
- Method DashboardBuilder.Add
- Method DashboardBuilder.Columns
- Method RowsBuilder.Add
- Method RowsBuilder.Columns
- Method RowsBuilderBase.Add
- Method RowsBuilderBase.Add``1
- Method RowsBuilderBase.Columns
- Method Columns.Add
- Method Rows.Add
- Constructor Sized.Sized
Methods
public static LayoutSize Fixed(Int32 cells) #Returns:
LayoutSizeA fixed number of cells.
Parameters
- cells System.Int32
- Cells.
Returns
The specification.
public static LayoutSize Fraction(Double weight = 1, Int32 min = 0) #Returns:
LayoutSizeA share of the remaining space.
Parameters
- weight System.Double = 1
- Relative weight (default 1).
- min System.Int32 = 0
- Minimum cells.
Returns
The specification.
public override String ToString() #Returns:
StringReturns the fully qualified type name of this instance.
Returns
The fully qualified type name.
public LayoutSize WithMin(Int32 min) #Returns:
LayoutSizeReturns a copy with a different minimum.
Parameters
- min System.Int32
- Minimum cells.
Returns
The specification.
Inherited Methods
Properties
public Double Value { get; } #Cells for LayoutSizeKind.Fixed, weight for LayoutSizeKind.Fraction.