Skip to content

ui::Edges

Header: winui/core/Geometry.hpp.

Some edges of a ui::Thickness by name, the others 0: .margin = ui::Edges{.left = 32}.

Converts to a Thickness wherever one is taken.

Field Type Default
left float 0.0f Left edge, DIPs.
top float 0.0f Top edge, DIPs.
right float 0.0f Right edge, DIPs.
bottom float 0.0f Bottom edge, DIPs.