Google News
logo
WPF - Interview Questions
Why layout panels are needed in WPF and write its different types?
GUI elements are arranged in an application by layout panels. In the event that you design your controls on fixed coordinates, the application model will not work if you move it to a different environment with different resolutions. As a result, layout panels are necessary to ensure that your control fits different screen sizes. WPF offers the following layout panels:  
 
* Stack Panel
* Virtualizing Stack Panel
* Grid Panel
* Canvas Panel
* Dock Panel
* Wrap Panel 

Consequently, these panels are easy to use, versatile, and extensible enough to meet the needs of most applications.
Advertisement