⇤ ← Revision 1 as of 2016-09-21 20:36:12
760
Comment:
|
1425
|
Deletions are marked like this. | Additions are marked like this. |
Line 30: | Line 30: |
=== Program SystemStatics === Page 202. Concepts: 1. Shows the use of externally defined static variables in markup extensions. Classes: No significant new classes shown - but markup extensions are used. === Program ResourceSharing === Page 211. Concepts: 1. Shows the use of ResourceDictionary with markup extensions. 1. page 213 shows the simplified markup usage and when to use x:key (when you are defining it) and when not to use the x: (as in when you are in the actually markup extension curly brackets). Classes: 1. No significant new classes shown besides ResourceDictionary which markup extensions then use. |
Chapter 10 Notes
Title: XAML Markup Extensions
Summary
<All about="{x:Static Markup.Extensions}" />
Programming Concepts Summary
In general a markup extension is a class that can produce a value that can be directly assigned to a attribute/property of an element/object. It is represented in XAML and parsed appropriately as a Markup Extension. Although you can write your own, you shouldn't need to right now.
See Page 199 for a list of included markup extensions.
Programs
Program SharedStatics
Page 202.
Concepts:
- Shows the use of user defined static variables in markup extensions.
Classes:
No significant new classes shown - but markup extensions are used.
Program SystemStatics
Page 202.
Concepts:
- Shows the use of externally defined static variables in markup extensions.
Classes:
No significant new classes shown - but markup extensions are used.
Program ResourceSharing
Page 211.
Concepts:
Shows the use of ResourceDictionary with markup extensions.
- page 213 shows the simplified markup usage and when to use x:key (when you are defining it) and when not to use the x: (as in when you are in the actually markup extension curly brackets).
Classes:
No significant new classes shown besides ResourceDictionary which markup extensions then use.