Differences between revisions 1 and 2
Revision 1 as of 2016-09-21 20:36:12
Size: 760
Editor: scot
Comment:
Revision 2 as of 2016-09-21 22:00:36
Size: 1425
Editor: scot
Comment:
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:

  1. 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:

  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.

  2. 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.

ManagingAndProgrammingMobileApplications/Xamarin/Chapter 10 (last edited 2016-09-21 22:08:15 by scot)