With some scenarios you need to assign width to the controls rubtime. Generally we tend to make it soecified with percentage. At runtime we can use following way to make such assignments.
Label1.Width = Unit.Percentage(12.12)
You can have “pixel” or “point” as measurement unit and get your desired result set.
Asked In: Many Interviews |