ResizeObserverEntry Class
The sizes of an observed element when its size changed (https://drafts.csswg.org/resize-observer-1/#resize-observer-entry-interface).
public sealed class ResizeObserverEntryProperties
| Name | Description |
|---|---|
| BorderBoxSize | Gets the sizes of the border box of the element, one per fragment. |
| ContentBoxSize | Gets the sizes of the content box of the element, one per fragment. |
| ContentRect | Gets the content rect of the element (https://drafts.csswg.org/resize-observer-1/#content-rect): the size of its content box, at the position of its padding top and padding left. |
| DevicePixelContentBoxSize | Gets the sizes of the content box of the element in integral device pixels, one per fragment. |
| Target | Gets the element whose size changed. |
BorderBoxSize
ResizeObserver.csGets the sizes of the border box of the element, one per fragment.
public IReadOnlyList<ResizeObserverSize> BorderBoxSize { get; }ContentBoxSize
ResizeObserver.csGets the sizes of the content box of the element, one per fragment.
public IReadOnlyList<ResizeObserverSize> ContentBoxSize { get; }ContentRect
ResizeObserver.csGets the content rect of the element (https://drafts.csswg.org/resize-observer-1/#content-rect): the size of its content box, at the position of its padding top and padding left.
public DomRectReadOnly ContentRect { get; }DevicePixelContentBoxSize
ResizeObserver.csGets the sizes of the content box of the element in integral device pixels, one per fragment.
public IReadOnlyList<ResizeObserverSize> DevicePixelContentBoxSize { get; }