25 August 2012

WPF Interview Questions with Answers

How to call windows Form in WPF Application?
Create WPF Application in the VS 2008.
Create a Form in the WPF Application .
Create a Button Control in the WPF Application .
Copy and Paste the following into Button Click Event:
From1 frm = new Form1();
Note:User can call WPF Form to Windows Form and Windows Form to WPF Form. in WPF Application .
But , You can;t Create a WPF Form in the Windows Application.
What is DispatcherObject?
It is a Main of all WPF Controls which take care of UI Thread.
what are Typs of windows in WPF?
1)Normal Window2)Navigate Window3)Page Window.
what are the Item Controls in WPF?
1)TreeView Control2)ContextMenu Control.
what are the Content Controls in WPF?
1)Button Control2)TextBlock Control.
what are the Types of controls in WPF?
1)Content Control2)Item Control3)Layout Control.
What is the x: prefix?
The x: prefix is actually used to map XAML XML namepace defined at http://schemas.microsoft.com/winfx/2006/xaml.
Is XAML case sensitive?
what is XBAP Stands?
XBAP stands for XAML Browser Application.
What is a .baml file?
An XAML file whenever compiled in .NET, becomes a file with a .baml extension, which stands for binary XAML.
What are the methods in DependencyObject in WPF?

No comments: