Class DefiniteContainingBlockSize
Used by layout algorithms versions 4.3+, this stores the CSS 'size of a Containing Block', and ensures type-safety.
Internally it simply wraps a
Namespace: Global
Assembly: cs.temp.dll.dll
Syntax
public class DefiniteContainingBlockSize
Constructors
Fields
- (PaddingLength) height
- (PaddingLength) width
Methods
- (Boolean) Equals(DefiniteContainingBlockSize)
- (Boolean) Equals(Object)
- (Int32) GetHashCode()
- (PaddingLength) Length(Axis)
Spec-CSS: https://www.w3.org/TR/css-position-3/#absolute-cb ContainingBlocks are derived (for normal blocks - in Flexbox we do not implement 'inline blocks' etc, they are out-of-scope) in terms of "the padding edge of the ancestor".
Spec-CSS: https://www.w3.org/TR/css-box-4/#padding-edge "The padding edge surrounds the box’s padding ... define[s] the box’s padding box, which contains both the content and padding areas."
So this is returning a PaddingLength
Parameters
Axis | axis |
Returns
PaddingLength | The the padding-box length - CSS says: "the padding edge of the ancestor" (https://www.w3.org/TR/css-position-3/#absolute-cb) |
Exceptions
Exception |
- (void) Length(Axis, PaddingLength)
Parameters
Axis | axis | |
PaddingLength | newValue |