Percent Values

Hi, How can I put % values in Width or padding? For example that the width of an image is 80% of the screen?

The values of width, height, padding or margin are pixel?

Thanks! It would be very helpful to put percent values.

Hi, you can! Using WidthUnit and HeightUnit :

<Panel Width="20" WidthUnit="Percent" />

This works for Width and Height, but not for Margin or Padding.

Thanks! Very useful!