WPF Tutorial : Layout-Panels-Containers & Layout Transformation - Online Free Computer Tutorials.

'Software Development, Games Development, Mobile Development, iOS Development, Android Development, Window Phone Development. Dot Net, Window Services,WCF Services, Web Services, MVC, MySQL, SQL Server and Oracle Tutorials, Articles and their Resources

Saturday, June 11, 2011

WPF Tutorial : Layout-Panels-Containers & Layout Transformation

While building your application, the first thing you notice is a Window. Window is the main class that interacts with the user and produces the lifetime of windows and dialog boxes. Like in normal windows application, it produces the object windows using the normal API. A window has two sections:

  1. Non-Client Area: which displays the outer boundary of the window, that we normally see with any windows. The main parts of them are Icon, System Menu, a title Bar and Border.
  2. Client part: This is the main part where the WPF controls will appear. You can customize this area using WPF.

Type of Window

WPF window is of 3 types:

  1. Window: This is basically a normal windowed application, where every control is placed within the same window. The window appears normally as I told you earlier. The Client area is fully customizable using XAML.
  2. NavigationWindow: This is a special type of window which is inherited from Windows, but with a Navigation panel top of it. So if you want to create an application that makes sense when used as Wizards, you might better go with NavigationWindow. You can also customize the navigation panel yourself so that it goes with your own look and feel.
  3. Page: Almost similar to NavigationWindow, the main difference is that, Page can be opened in Web Browser as XBAP applications.

No comments:

Post a Comment