I'm trying to center a frame in a Relative Layout. To to this, I'd like to take the width of the parent, divide it by two and set its value as the XConstraint of the frame. Is there a way to calculate this in xaml? I'd like to avoid a mix of xaml views and views generated by code in my application.
Thanks in advance.