Differences between revisions 6 and 11 (spanning 5 versions)
Revision 6 as of 2016-09-01 11:15:11
Size: 776
Editor: scot
Comment:
Revision 11 as of 2016-09-02 22:51:58
Size: 1423
Editor: scot
Comment:
Deletions are marked like this. Additions are marked like this.
Line 5: Line 5:
|| Concept || Page || || '''Concept''' || '''Page''' ||
|| Main concepts of: Page, Layout, View --> Pages contains Layout and Layouts contain Views. || 20 ||
Line 9: Line 10:
|| Layout Options for views || 37 ||
|| Text Alignment options || 41 ||
Line 15: Line 18:
|| App || Inherits from Application - This is where it all starts, but you rarely need to edit it. || ? || || VisualElement, Page, Layout, View || The basis for visual elements in Xamarin || 20||
|| App || Inherits from Application - This is where it all starts, but you rarely need to edit it. || 24 ||
Line 19: Line 23:

=== Greetings p. 34 ===

|| '''Class''' || '''Notes''' || '''Page''' ||
|| Padding = new Thickness(0, ''Device.OnPlatform(20, 0, 0)'', 0, 0) || Used to assign different values for different platforms || 37 ||
|| LayoutOptions || A structure that enumerates the different layout options || 39 ||
|| TextAlignment || An enum of text alignment options. || 41 ||

Chapter 2 Notes

Programming Concepts

Concept

Page

Main concepts of: Page, Layout, View --> Pages contains Layout and Layouts contain Views.

20

Build > Configuration Manager - You will need to edit this every time you create a new program so that you can build and deploy to windows.

22

Portable Class Library (PCL) vs. Shared Asset Project (SAP)

29

Doing something different depending on the platform

35 - 38

Layout Options for views

37

Text Alignment options

41

Programs

Say Hello p. 20

Class

Notes

Page

VisualElement, Page, Layout, View

The basis for visual elements in Xamarin

20

App

Inherits from Application - This is where it all starts, but you rarely need to edit it.

24

Label

Typical text label

32

ContentPage

This is the "page" that you see that holds Views

34

Device.OnPlatform

The way to do different things for e3ach platform

38

Greetings p. 34

Class

Notes

Page

Padding = new Thickness(0, Device.OnPlatform(20, 0, 0), 0, 0)

Used to assign different values for different platforms

37

LayoutOptions

A structure that enumerates the different layout options

39

TextAlignment

An enum of text alignment options.

41

ManagingAndProgrammingMobileApplications/Xamarin/Chapter 2 (last edited 2016-09-02 22:51:58 by scot)