MCQ Bank
In WPF, _______ library is used for scrolling.
- A) System.Windows.Controls.Viewer
- B) System.Media.ScrollViewer
- C) System.Windows.Contols.ScrollViewer
- D) System.Windows.Contols.Scroll
Which of the following components generates an input Event?
- A) Multi Touch
- B) Printer
- C) Plotter
- D) Speaker
Which type of panel is used when we have to customize the builtin controls in wpf?
- A) Primitive
- B) Stack
- C) Grid
- D) Wrap
A _______ is like events in Windows forms which are raised by the element in which the event is originated.
- A) Channeling
- B) Bubbling
- C) Direct Event
- D) Tunneling
In multi touch events, when multiple fingers are touching simultaneously, these events get raised for each finger ___________.
- A) Independently
- B) Completely
- C) Dependently
- D) Partially
In order to resize the row and column in Grid panel, _________ is used.
- A) Grid compiler
- B) Grid divider
- C) Grid converter
- D) Grid splitter
In tunneling, event move from _______.
- A) Diagonally
- B) Right to Left
- C) Left to Right
- D) Top to Down
A class that implements the 'ICommand' and supports 'bubbling' just like a routed event is known as _____________.
- A) CanExecuteChanged
- B) ExecutedCommand
- C) RoutedUICommand
- D) CanExecute
A __________ receives keyboard events only if it has keyboard focus.
- A) Mouse
- B) Keyboard Controls
- C) UIElement
- D) Keyboard
Multitouch events are available on _______
- A) Windows 95
- B) Windows 99
- C) Windows 7 or later
- D) Windows XP
For a Horizontal grid splitter, ____ has to be specified.
- A) Height
- B) Width
- C) Alignment
- D) Size
IsSharedSizeScope shares size information in ____ grid(s).
- A) Double
- B) Single
- C) Both 1 & 2
- D) Multiple
Dockpanel uses __________ property while docking elements in different orientations.
- A) Attached
- B) Resolution Independency
- C) Property Value Inheritance
- D) Rich composition
Attached event will be raised by the ______ element while tunneling.
- A) Both 1 & 2
- B) Header
- C) Child
- D) Parent
In Dockpanel, __________ attribute doesn’t fill the remaining space at the end.
- A) Lastchildfill=false;
- B) Lastfill=true;
- C) Lastchildfill=nill;
- D) Lastchildfill=true;
While working with grids in WPF, which attribute is used to see grid lines on screen?
- A) Showgrid
- B) Showgrids
- C) ShowGridLine
- D) ShowGridLines
If we insert some objects in a single cell in Grid panel, then these objects are placed on ______________ .
- A) One on Side of the other
- B) One on Bottom of the other
- C) One after the other
- D) One on Top of the other
To achieve DockPanel behaviour in grid we can use _______.
- A) Elements.Grid
- B) Rows height and column height
- C) Element resizing
- D) Row span and column span
Handlers in C# for routed events have a _____ parameter
- A) System.Windows
- B) System.Handlers
- C) System.Form.Windows
- D) System.Object
DockPanel.Dock is the ______ in which child element describe its dock position in dock panel.
- A) Button Property
- B) Grid Property
- C) Attach Property
- D) Text Property