In WPF which language is used to express user interface?
1.XML
2.XAML C. WSDL
3. WSDL
4.C#
Transformations are available in which namespace?
1.System.Windows.UIElement
2.System.Windows.FrameworkElement
3. System.Windows.Media
4.None of above
What is XAML?
1.Extensible and Markup Language
2.Extensible Application Markup Language
3.Xtra Application Markup Language
4.None of these
Which of the following is true regarding XAML?
1. Separation of designer code and logic
2.Tools like Expression Blend do not support XAML.
3.XAML is platform independent.
4.All of the above
.In DockPanel Child controls are aligned to the edges of the panel.True or False?>
1. True
2.False
3.all of the above
4.None of the mentioned
.One of the primary architectural philosophies used in building WPF was a preference for properties over methods or events.
1.True
2. False
3.all of the above
4.None of the mentioned
.Which of the following class is used to implement Trees in WPF?
1.LogicalTreeHelper
2. VisualTreeHelper
3.AbstractTreeHelper
4. a & b
A key element of the Trustworthy Computing initiative in WPF is_______.
1.XAML
2.SDL
3. XAP
4.None of above
All XAML resources should have an________attribute in WPF.
1. x:Name
2.x:Class
3.x:Value
4.x:Key
BAML can’t be decompiled back into XAML
1.True
2. False
3.all of the above
4.None of the mentioned
Can we store the ContextMenu in Resource so that we can reuse it for various control on a form?
1.True
2.False
3.all of the above
4.None of the mentioned
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?
1.WrapPanel
2.StackPanel
3. VirtualizingStackPanel
4.DockPanel
Child controls are virtualized and arranged on a single line that is either horizontally or vertically oriented. Is true about?
1.DockPanel
2.VirtualizingStackPanel
3.WrapPanel
4.StackPanel
Development is more efficient because designers can implement an application’s appearance simultaneously with developers who are implementing the application’s behavior.True or false?
1.True
2.False
3.all of the above
4.None of the mentioned
Does that mean WPF has replaced DirectX?
1.Yes
2.no
3.all of the above
4.None of the mentioned
Events Supported by WPF is are?
1.Direct Event
2.Bubbling Event
3.Tunneling Event
4.All of the above
FrameworkElement is derived from
1.UIElement
2. ContentControl
3.Application
4.Control Box property
How you can set a working mnemonic key for a label?
1.Set the Target property to the target control. Precede the letter for the mnemonic key with an underscore symbol in the Content property of the Label control.
2. You must place both the Label control and the Target property in the same container.
3.Set the Mnemonic Key property on the Label control.
4.None of the mentioned
In WPF Padding controls how much extra space gets placed around the inside edges of the element.
1.True
2.False
3.all of the above
4.None of the mentioned
Is XAML meant only for WPF ?
1.Yes
2.no
3.all of the above
4.None of the mentioned
Static and data binding markup extensions are same.True or false?
1.True
2.False
3.all of the above
4.None of the mentioned
the .NET Framework 4.0 introduces a handful of new features for the XAML language. This second generation of the XAML language is referred to as
1. XAML2006
2.XAML2008
3. XAML2009
4.None of these
The TextBox control shows a default context menu with options to Cut, Copy and Paste. Can we override this context menu by defining our own in the TextBox control?
1.True
2.False
3.all of the above
4.None of the mentioned
The________attribute works for FrameworkElement and FrameworkContentElement used for consistency.
1.Class
2.Name
3.Key
4. Value
Visibility (defined on UIElement) might sound like a strange property to talk about in the context of layout, but it is indeed relevant. An element’s Visibility property actually isn’t Boolean, but rather a three-state System.Windows.Visibility enumeration. One of Its value is “Collapsed†What is the meaning of this value
1.The element is invisible yet still participates in layout.
2. The element is invisible and does not participate in layout
3.The element gets rendered and participates in layout.
4.none of the above
What is full form of WPF?
1.Windows Presentation FoundationClass
2.Windows Precomputed FoundationClass
3.Windows Presentation Functions
4.None of these
What is the stand for is XBAP?
1.extensible based application
2.XAML Browser Application
3. XAML Based Application
4.None of the mentioned
which is dependency property in this code:
1.Width
2.Canvas.Left
3. Canvas
4.None of above
Which layout control would be the best choice for a user interface that requires evenly spaced controls laid out?
1.Grid
2.Canvas
3.UniformGrid
4.EvenlyGrid
Which object can be used share the variable across pages in WPF?
1.Application
2.Session
3.Cookies
4.ViewState
Which of the following have two states of Freezable object?
1.Fix and Unfix
2. Frozen and unfrozen.
3.Static and Dynamic
4. none of the mentioned
Which of the following is not WPF model(used to create a new control/custom control)?
1. User Control Model
2.Control Model
3. Framework Element Model
4.Element Model
Which of the following is routing strategy of Routed events?
1. Bubbling
2. Direct
3. Tunneling
4.All of above
Which of the following layout is not available in WPF?
1.StackPanel
2. Canvas
3.Grid
4. Table
Which tool(s)is/are used to develop WPF applications?
1. Visual Studio
2.Expression Blend
3.Both a & b
4.Only a
Windows Presentation Foundation (WPF) introduces _______ events that can invoke handlers that exist on various listeners in the element tree of an application.
1. routed
2. bubbled
3.child
4.None of above
WPF is a replacement to
1.IndirectX
2.DirectX
3.Both 1 and 2
4.none of the above
WPF is a replacement to DirectX.True or False?
1.True
2.False
3.all of the above
4.None of the mentioned
WPF separates the appearance of an user interface from its behavior. The appearance is generally specified in the_______.
1.HTML
2.XAML
3. XML
4.XSLT
WPF stands for - Windows Presentation Foundation.
1. True
2.False
3.all of the above
4.None of the mentioned
WPF transformations can be used for
1.Only rotaion
2. Only scaling
3. Only skewing
4.rotation, scaling, and skewing
WrapPanel Class comes under_______ assembly.
1.PresentationCore
2. PresentationFramework
3.milcore
4. None of above
x:Null specifies null as a value for a property and can be used either for attributes or property element values.True or False?
1.True
2. False
3.all of the above
4.None of the mentioned
___ 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.
1.Dependency property
2.Dependency property identifier
3.CLR “wrapperâ€
4.None of above
____class provides the GetChildren, GetParent, and FindLogicalNode methods for logical tree traversal.
1. LogicalTreeHelper
2.VisualTreeHelper
3.AbstractTreeHelper
4.A & B
____provides a data bound value for a property, using the data context that applies to the parent object at run time.
1.StaticResource
2.DynamicResource
3.RelativeSource
4.Binding
____provides source information for a Binding that can navigate several possible relationships in the run-time object tree.
1.StaticResource
2.DynamicResource
3.RelativeSource
4.Binding
_____ layout isn't available in WPF.
1.StackPanel
2.Table
3.Canvas
4.All of the above
_____provides a value for a property by deferring that value to be a run-time reference to a resource.
1. StaticResource
2.DynamicResource
3. RelativeSource
4.Binding
_______provides a value for a property by substituting the value of an already defined resource.
1.StaticResource
2.DynamicResource
3.RelativeSource
4. Binding