wpf interview questions

0 votes
asked Dec 27, 2013 in WPF by Emma (52 points)

Hello my friends,
I'm new in WPF, i found a quiz in the internet, and i need your help with it to understand the WPF fundamentals .. Thank you ^_^

1.WPF transformations can be used for

a. Only rotaion

b. Only scaling

c. Only skewing

d. rotation, scaling, and skewing

2. What are the different Data Binding Modes available in Windows Presentation Foundation?

1)OneWay2) TwoWay3) OneWayToSource4) OneTime

a. Only 1,2

b. Only 2,3

c. Only 3,4

d. 1,2,3,4

3.Which of the following is true?

a. Trigger can work with Style.

b. Trigger cannot work with Style.

c. Setter cannot work with Trigger.

d. None of the above

4.For Showing the dialog box modally which method is used?

a. Show

b. ShowDialog

c. Show modally

d. OpenDialog

5. How will you show a new instance of the MyWindow class?

a. MyWindow.Show();

b. MyWindow.Show(“Window”);

c. MyWindow obj=new MyWindow(); Obj.Show();

d. MyWindow.Show(new MyWindow());

6. Which of the following is true regarding XAML?

a. Separation of designer code and logic

b. Tools like Expression Blend do not support XAML.

c. XAML is platform independent.

d. All of the above

7.Which of the following is true regarding dependency property?

a. WPF do not support property

b. WPF only support dependency property.

c. Dependency properties belong to one class but can be used in another.

d. None of the above

8.10. What is the type of Button.Content property?

a. DateTime

b. Text

c. Object

d. String

9.Which of the following is TRUE?

a. Bubbling Event are raised first in the control where they originate.

b. Bubbling Event are raised last in the control where they originate

c. MouseDown Event is Tunneling Event

d. None of the above

10. Which Templates are supported by WPF?

a. Data Templates

b. Control Templates

c. Items Panel Templates

d. All of the above

11.In WPF which language is used to express user interface

a. XML

b. XAML

c. WSDL

d. C#

12.Which namespace provide classes for integration with WPF and Win32?

a. System.Windows.Interop

b. System.Windows

c. System.Win32

d. None of the above

13. brush class is available in which namespace?

a. System.Windows.Media

b. System.Windows.MediaControls

c. System.Windows

d. System.Windows.Shapes

14.Which of the following code is correct?

a. < TextBlock>This is my Label

b. < TextBlock>This is my label< /TextBlock>

c. < TextBlock Text=This is my label/>

d. < TextBlock Text=”This is my Label”>

15. WPF is supported by

a. NET Framework 1.0

b. .NET Framework 2.0

c. .NET Framework 3.0 and above

d. None

Share

1 Answer

0 votes
answered Jul 16, 2014 by administrator (315 points)
1. d. rotation, scaling, and skewing
2. d. 1,2,3,4
3. a. Trigger can work with Style
4. b. ShowDialog
5 c. MyWindow obj=new MyWindow(); Obj.Show();
6 a. Separation of designer code and logic
7 d. None of the above
8 c. Object
9 d. None of the above
10 d. All of the above
11 b. XAML
12 a. System.Windows.Interop
13 a. System.Windows.Media
14 b. < TextBlock>This is my label< /TextBlock>
15 c. .NET Framework 3.0 and above

Your answer

Preview

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
To avoid this verification in future, please log in or register.
site design / logo / content © 2013 - 2015 pinfaq.com
...