header1.html

Friday, 3 May 2013

WPF Quiz-2


WPF Quiz-2
1.Which of the following is routing strategy of Routed events?
Bubbling
Direct
Tunneling
All of above


2. Child controls are virtualized and arranged on a single line that is either horizontally or vertically oriented.Is true about?
DockPanel
VirtualizingStackPanel
WrapPanel
StackPanel


3.Child controls are positioned in left-to-right order and wrapped to the next line when there are more controls on the current line than space allows.Is true about?
WrapPanel
StackPanel
VirtualizingStackPanel
DockPanel


4.In DockPanel Child controls are aligned to the edges of the panel.True or False?>
True
False


5.Which of the following is not WPF model(used to create a new control/custom control)?
User Control Model
Control Model
Framework Element Model
Element Model


6.One of the primary architectural philosophies used in building WPF was a preference for properties over methods or events.
True
False


7.Which of the following class is used to implement Trees in WPF?
LogicalTreeHelper
VisualTreeHelper
AbstractTreeHelper
a & b


8._______class provides the GetChildren, GetParent, and FindLogicalNode methods for logical tree traversal.
LogicalTreeHelper
VisualTreeHelper
AbstractTreeHelper
a & b


9. ________ is a DependencyProperty instance, which is obtained as a return value when registering a dependency property, and then stored as a static member of a class.
Dependency property
Dependency property identifier
CLR "wrapper"
None of above


10.Windows Presentation Foundation (WPF) introduces _______ events that can invoke handlers that exist on various listeners in the element tree of an application.
routed
bubbled
child
None of above