Hi everyone I’m trying to get the width of a visual element in my custom controller, but there is no value, only NaN.
But when I check in the debugger this visual element has the width.
Can u help me to understand how can I get the width of my visual element?
Hello, you have to use the resolvedStyle in order to get the applied values. Keep in mind that you need to wait until the layout is done, so after the first GeometryChangedEvent to happen at least