In html pages we generally use % to define the width of a control to make sure it cover the available space or the fraction of space.
In Silverlight we can use “Auto” so that contents can spread in the full screen. for e.g. Height="Auto" in RowDefinition and Width="Auto" in ColumnDefinition.
To define the width in fraction we need to use (star) e.g. Width = "0.15" which is equivalent to 15%.
Published under: Silverlight Tips · · · ·