2016年4月30日 星期六

XAML for Windows 10: Items Controls: 2 | Templates

教師: Daren May Jerry Nixon

MVA課程連結

ENG Sub: 17822-233415-h2mwalpm.srt
中文字幕: 17822-233415-h2mwalpm.zh-TW.srt

Assesstment:

  1. Which code should you use to specify an ItemsPanelTemplate as a resource by using the Key “HorizontalWrapGrid”?
  2. Which syntax should you use to change the visibility of an element based on the number of items by calling a custom converter named VisibleWhenZeroConverter?
  3. What should you implement in an IValueConverter interface?
  4. In a DataTemplate, what should you use to specify that the object type is Customer?
  5. Which property should you use to change the way items are added graphically to an ItemsStackPanel control?
  6. In a ListView control, which XAML markup should you use to use an ItemsPanelTemplate?
  7. What statement correctly describes data virtualization in XAML?

2016年4月25日 星期一

XAML for Windows 10: Items Controls: 1 | Items Controls Fundamentals

教師: Daren May Jerry Nixon

MVA課程連結

ENG Sub: 17822-233413-fu5lrctb.srt
中文字幕: 17822-233413-fu5lrctb.zh-TW.srt

Assessment:

  1. Which control does the MenuFlyOut control inherit?
  2. What should you use to set custom style-selection logic for a style that can be applied to each generated container element?
  3. In an ItemsControl element, which property should you use to specify which property of the objects collection should be displayed?
  4. According to Guidelines for Lists, which control should you use to display image-heavy content?
  5. According to Guidelines for Lists, which control should you use to enable users to choose one item from an expanding list?
  6. Which two types of objects can you use to bind elements in an ItemsControl element?
  7. Which code should you use to order a collection of customers by LastName?
  8. In an ItemsControl element, which property should you use to bind the items displayed in the control?

2016年4月17日 星期日

XAML for Windows 10: Controls: 3 | Styling

教師: Daren May Jerry Nixon

MVA課程連結

ENG Sub: 17821-233400-zkzvdji3.srt
中文字幕: 17821-233400-zkzvdji3.zh-TW.srt

Assessment:

  1. Which location has the highest styling precedence?
  2. When using the XAML markup <Button Style={StaticResource MyButtonStyle}>Click me</Button>, which type of style is used?
  3. What should you use to reference custom styles defined in external XAML files?
  4. Which syntax should you use to apply a style named PrimaryBrush defined in a <Page.Resources> XAML section?
  5. Which file contains the default styles in a UWP application?
  6. Which syntax should you use to create a SolidColorBrush style named PrimaryBrush?
  7. When using the XAML markup <Button>Click me</Button>, which type of style is used?
  8. What is the difference between an implicit style and an explicit style?

2016年4月10日 星期日

XAML for Windows 10: Controls: 2 | Custom Controls

教師: Daren May Jerry Nixon

MVA課程連結

ENG Sub: 17821-233392-fx4mvtvu.srt
中文字幕: 17821-233392-fx4mvtvu.zh-TW.srt

Assessment:

  1. Which property should you change to enable a button?
  2. On a Command object, which property should you use to verify whether the command can be executed?
  3. When creating a custom control that contains a button child control, what should you do first to attach the button click event?
  4. x:Bind is not supported in a ControlTemplate.
  5. When using x:Name in XAML, which method does the actual object create in the code behind?
  6. When creating a custom control that contains a button child control, to which method should you attach the button click event?
  7. What is the maximum number of child allowed in a ControlTemplate?