MCQ Bank
When parent element space is not enough for the content of child element,this type of situation arises due to _______
- A) Indexing
- B) Grid
- C) Content Overflow
- D) Short memory
By default, there will be ______ number of columns if we do not mention any column definition in grids.
- A) 3
- B) 2
- C) None
- D) 1
Manipulation events work if IsManipulationEnabled=?
- A) Null
- B) True
- C) False
- D) \r
In WPF, _________ control will allow you to visually group a set of controls together.
- A) GroupBox
- B) Box_Group
- C) Group
- D) Boxed_group
Dock panel is a _____ of stack panel.
- A) Superset
- B) Subset
- C) Intersection
- D) Union
In a code segment, if the Visibility=”Collapsed” then which of the following events are not generated?
- A) Mouse Events
- B) Routed Events
- C) Key down Events
- D) Keyboard Events
In WPF, clipping is done before _________
- A) Skew Transform
- B) Layout Transform
- C) Matrix Transform
- D) Render Transform
In multi touch events, a/an __________ id is assigned to each individual event.
- A) Processor
- B) CPU
- C) Event
- D) Device
Which one of the following is NOT a routed event?
- A) Channeling
- B) Bubbling
- C) Direct
- D) Tunneling
To create rollover effect, the preferred way is to use ______ with IsMouseOver property
- A) Bubbling
- B) Element
- C) Trigger
- D) Tunneling
Which one of the following code segment is used to set the background of Canvas Panel?
- A) <Canvas.Background> </Canvas.Background>
- B) </Canvas.BackGround> <Canvas.BackGround>
- C) </Canvas.Background> <Canvas.Background>
- D) <Canvas.BackGround> </Canvas.BackGround>
Attached event will be raised by the ______ element while bubbling.
- A) Header
- B) Both 1 & 2
- C) parent
- D) child
An event that is raised whenever the value of "CanExecute" changes is known as __________.
- A) Command
- B) Execute
- C) CanExecuteChanged
- D) CanExecute
UI element focusable value is _____ by default.
- A) False
- B) Zero
- C) Nil
- D) True
In WPF, Grids have ________ base indexing for Rows & Columns.
- A) Two
- B) One
- C) -1
- D) Zero
By convention _______ event names are prefixed with Preview.
- A) InDirect
- B) Tunneling
- C) Direct
- D) Bubbling
If we want to place a component at top in "dockpanel" then which one is correct syntax?
- A) Dock="Top"
- B) DockPanel.Dock="Top"
- C) PanelDock="Top"
- D) DockPanel="Top"
Grid act as a stack panel if it has ______
- A) Multiple rows and single column
- B) 1 column and autosize rows
- C) Single row & multiple columns
- D) 1 row and autosize column
__________ Function registers routed event.
- A) RegisterroutedEve();
- B) Registerroutedevent();
- C) RegisteredRoutedEvent();
- D) RegistersRoute();
Superset of canvas is _______.
- A) Dock panel
- B) Stack Panel
- C) Grid
- D) Wrap panel