Live Help (Start Chat)
View Count: 0
Duration: 35 mins
Accessed date:
Not Yet Viewed
Post your comment / feedback here
 
 

Be the first one to comment about this video

Sorry!For this module there is no Assignments.
Question No: 1 of 7
__________ enable you to set control properties and reuse those settings for a consistent appearance across multiple controls. 
Options:
  1. Setter
  2. Getter
  3. Style
  4. Target
View Answer/Explanation:
c
Explanation:

Question No: 2 of 7
Can Styles Cannot be Changed at runtime 
Options:
  1. True
  2. False
View Answer/Explanation:
b
Explanation:

Question No: 3 of 7
Which of the following is true about styles? 
Options:
  1. Easy to maintain code as many properties can be moved into styles.
  2. Redundancy is removed as same style can be used by many controls.
  3. The appearance of a set of controls can be changed from a single point by changing the style.
  4. Styles cannot be changed at runtime.
View Answer/Explanation:
a b c
Explanation:

Question No: 4 of 7
Can I have one Style with a multiple TargetType in WPF? 
Options:
  1. Yes
  2. No
View Answer/Explanation:
b
Explanation:
TargetType is a property of Style and can only be set once. To insure type safty, the style should target a specific type in order to know what properties to set.

Question No: 5 of 7
<Style TargetType="TextBlock">
<Setter Property="FontSize" Value="15pt"/>
<Setter Property="Background" Value="Gray"/>
</Style>
From the above snippet ,Which element that the style act upon? 
Options:
  1. a) Button
  2. b) TextBox
  3. c) Label
  4. d) TextBlock
View Answer/Explanation:
d
Explanation:

Question No: 6 of 7
<Style x:Key="DemoStyleWithType" TargetType="{x:Type Control}" >
<Setter Property="FontSize" Value="8pt"/>
<Setter Property="Background" Value="LightYellow"/>
<Setter Property="Foreground" Value="Red"/>
</Style>
From the above snippet, Which element that the style act upon? 
Options:
  1. Button
  2. TextBox
  3. TextBlock
  4. It can be used for any control
View Answer/Explanation:
c
Explanation:

Question No: 7 of 7
____________ trigger is the one which executes when any changes happen to the value of a specific property. 
Options:
  1. Property Trigger
  2. Event Trigger
  3. Data Trigger
  4. Multi-Data Trigger
View Answer/Explanation:
a
Explanation:

  1