CS411 Quiz 2 Solution
1) Which one of the following is the built-in transform function in WPF
- Left move
- Query transform
- Top transform
- Matrix transform
2) How can you specify null property in markup extension
- : null:
- {x:null}
- (null)
- [x:null]
3) When elements in XAML overlaps, in that scenario which technique is used to decide which element should come at the to of other element
- Scaling
- Alignment
- Rotate
- Z-order
4) In context of XAML child element rules, if the child is plain text and a type of converter exists to transform the child into the parent type (and no properties are set on the parent element), treat the child as the input to type converter and use the output as the ______.
- Child object instance
- Parent object instance
- Interface object instance
- None of these
5) ___________ property value is used to set width and height of element in WPF according to its content.
- Tree
- Nan
- X:class
- Name
6) Be default, there will be __________ number of columns if we do not mention any column definition in grids.
- 1
- 2
- 3
- None
7) Is Shared Size Scape shares size information in _________ grids.
- Multiple
- Single
- Both 1 & 2
- Double
8) In WPF, ____________ library is used for scrolling.
- System.Windows. Controlls.ScrollViewer
- System.Windows.Controlls.Scrolls
- System.Windows.Controls.Viewers
- System.Media.ScrollViewer
9) Grid act as a stack panel if it has ___________
- 1 row and auto size column
- 1 column and auto size row
- Multiple rows and single columns
- Single row and multiple columns
10) In WPF, __________ uses(s) the method to add additional data with the sealed class object.
- Class
- Tree structure
- xmlns
- Dependency properties