Ankur Mehta
What is WPF's 2-pass layout engine? Explain its Uses?
By Ankur Mehta in WPF on Aug 29 2012
  • pramod pandit
    Nov, 2014 10

    In some cases, an element may know exactly what size it should be (because it's Width and Height properties have been explicitly set). But very often, the size of an element is determined by its content. To enable this “size to content” feature, the WPF layout engine uses a 2-pass layout cycle to size and position visual elements: 1. First a measure pass is used to determine the desired size of each element. 2. Then an arrange pass is used to explicitly size and position each element.

    • 0
  • Munesh Sharma
    Apr, 2014 23

    http://drwpf.com/blog/category/layout/

    • 0


Most Popular Job Functions


MOST LIKED QUESTIONS