Windows Presentation Foundation (WPF) Interview Questions

 
1.
What is WPF?
2.
What is a WPF Animation?
3.
How to host a WPF application in a browser?
4.
What is XAML?
5.
Can XAML meant only for WPF?
6.
How to Create a collection in XAML?
7.
What is XBAP?
8.
What is BAML?
9.
Fixed format documents
10.
How can we access XAML objects in behind code?
11.
Name the Implicit .NET Namespaces in WPF?
12.
Name the built-in markup extensions in WPF?
13.
What is observableCollection in WPF?
14.
What are the three kinds of routed events in WPF and how do they differ?
15.
What is the difference between Navigation applicaton and XBAPs in WPF?
16.
Can we define WPF in a precise way?
17.
WPF has replaced DirectX?
18.
What are dependency properties?
19.
When should I use WPF instead of DirectX?
20.
When should I use WPF instead of Windows Forms?
21.
When should I use WPF instead of Adobe Flash?
22.
How do I get a ToolTip to appear when hovering over a disabled element?
23.
How can I forcibly close a ToolTip that is currently showing?
24.
When the SelectionChanged event gets raised, how do I get the new selection?
25.
Why should I bother wrapping items in a ComboBoxItem?
26.
How can I make ListBox arrange its items horizontally instead of vertically?
27.
How can I get ListBox to scroll smoothly?
28.
How do I get the items in my ItemsControl to have Automation IDs, as seen in tools like UISpy?
29.
How can I get items in a StatusBar to grow proportionally?
30.
How can I make TextBox support multiple lines of text?
31.
What unit of measurement is used by WPF?
32.
Where's the entry point in WPF application?
33.
How do I retrieve command-line arguments in my WPF application?
34.
Can BAML be decompiled back into XAML?
35.
What are possible ways to implement distributed applications in .NET?
36.
Can you create Windows Service Using WPF?
37.
What is a Routed event?
38.
How to Change the BackGround Color of a Button dynamically in WPF?
39.
How to use MediaPlayer to play an audio file in WPF?
40.
How to use SoundPlayer to play a sound in WPF?
41.
Why is Shape.Stroke a Brush rather than a Pen in WPF?
42.
Name the classes that derive from the abstract System.Windows.Shapes.Shape class in WPF?
43.
What's the difference between PenLineCap's Flat and Square values?
44.
What is the differenece between System.Windows.dll and System.Windows.Browser.dll?
45.
Name the ToolTipService timing properties in WPF?
46.
In Which NameSpace 'Content' Controls are derived from?
47.
Name the Types of Triggers in WPF?
48.
Name the types of Columns that are available in WPF DataGrid?
49.
Name the Classes that contains arbitrary content in WPF?
50.
Name the Events that are implemented by NavigationService?
51.
What is the default Orientation of Stack Panel?
52.
What are the major subsystems of the Windows Presentation Foundation?
53.
In Which NameSpace you will find a 'Popup' and 'Thumb' control in WPF?
54.
Play:
55.
How to Set Window Title Bar Name at RunTime in WPF?
56.
In Which of the Following Definitions element you will find a 'Width' and 'Height' of a Grid(TAG)?
1)
2)
57.
What are the Features of WPF?
58.
Windows Presentation Foundation (WPF):
59.
Name the Layout Panels of WPF?
60.
CustomControl (Extending an existing control):
61.
What are the Advantages of XAML?
62.
Which class of the WPF is the base class of all the user-interactive elements?
63.
Which class is the base class of all the visual elements of WPF?
64.
Control class of WPF is derived from which class?
65.
The core classes for User Interface is located in which namespace?
66.
Which namespace provide classes to work with images, sound, video, etc?
67.
What is the use of System.Windows.Navigation namespace in WPF?
68.
What is 'One-way-to-Source ' binding property?
69.
Which namespace is used to work with 3D in WPF?
70.
How to define a button USING XAML?
71.
What is the use of "System.Windows.Markup" namespace in WPF?
72.
Which namespace provide classes for integration with WPF and Win32?
73.
What is the use of System.Windows.Media namespace?
74.
WindowsBase.dll:
75.
What is Silverlight XAML?
76.
What's the use of System.Windows.Controls.ContentControl?
77.
What is the class to be used for creating Rectangle, Polygon, Ellipse, Line, and Path?
78.
What are dependency properties?
79.
Can I use user controls and third-party controls including ActiveX controls in WPF?
80.
Can I use Windows Forms in a WPF application?
81.
I can't seem to find System.Windows.Forms.Integration, where do I find it?