7
7
Padding =" 10, 0" >
8
8
9
9
<local : CodeExamplesMainPage Title =" C# Pages" >
10
- <local : CodeExamplesMainPage .Icon >
11
- <OnPlatform x : TypeArguments =" FileImageSource " >
10
+ <local : CodeExamplesMainPage .IconImageSource >
11
+ <OnPlatform x : TypeArguments =" ImageSource " >
12
12
<On Platform =" iOS, Android" Value =" csharp.png" />
13
13
</OnPlatform >
14
- </local : CodeExamplesMainPage .Icon >
14
+ </local : CodeExamplesMainPage .IconImageSource >
15
15
</local : CodeExamplesMainPage >
16
-
16
+
17
17
<ContentPage Title =" XAML Pages" >
18
- <local : CodeExamplesMainPage .Icon >
19
- <OnPlatform x : TypeArguments =" FileImageSource " >
18
+ <local : CodeExamplesMainPage .IconImageSourcen >
19
+ <OnPlatform x : TypeArguments =" ImageSource " >
20
20
<On Platform =" iOS, Android" Value =" xaml.png" />
21
21
</OnPlatform >
22
- </local : CodeExamplesMainPage .Icon >
23
-
22
+ </local : CodeExamplesMainPage .IconImageSource >
23
+
24
24
<TableView Intent =" Menu" >
25
25
<TableRoot >
26
26
<TableSection Title =" Views for Presentation" >
27
-
27
+
28
28
<TextCell Text =" Label"
29
29
Detail =" Display a text string"
30
30
Command =" {Binding NavigateCommand}"
57
57
</TableSection >
58
58
59
59
<TableSection Title =" Views that Initiate Commands" >
60
-
60
+
61
61
<TextCell Text =" Button"
62
62
Detail =" Initiate a command"
63
63
Command =" {Binding NavigateCommand}"
64
64
CommandParameter =" {x:Type local:XamlExamples.ButtonDemoPage}" />
65
-
65
+
66
66
<TextCell Text =" ImageButton"
67
67
Detail =" Initiate a command"
68
68
Command =" {Binding NavigateCommand}"
73
73
Command =" {Binding NavigateCommand}"
74
74
CommandParameter =" {x:Type local:XamlExamples.SearchBarDemoPage}" />
75
75
</TableSection >
76
-
76
+
77
77
<TableSection Title =" Views for Setting Values" >
78
-
78
+
79
79
<TextCell Text = " Slider (double)"
80
80
Detail =" Select a number from a continuous range"
81
81
Command =" {Binding NavigateCommand}"
85
85
Detail =" Select a number from discrete increments"
86
86
Command =" {Binding NavigateCommand}"
87
87
CommandParameter =" {x:Type local:XamlExamples.StepperDemoPage}" />
88
-
88
+
89
89
<TextCell Text =" Switch (bool)"
90
90
Detail =" Select a Boolean value"
91
91
Command =" {Binding NavigateCommand}"
92
92
CommandParameter =" {x:Type local:XamlExamples.SwitchDemoPage}" />
93
-
93
+
94
94
<TextCell Text =" DatePicker"
95
95
Detail =" Select a date"
96
96
Command =" {Binding NavigateCommand}"
103
103
</TableSection >
104
104
105
105
<TableSection Title =" Views for Editing Text" >
106
-
106
+
107
107
<TextCell Text =" Entry (single line)"
108
108
Detail =" Edit a single line of text"
109
109
Command =" {Binding NavigateCommand}"
116
116
</TableSection >
117
117
118
118
<TableSection Title =" Views to Indicate Activity" >
119
-
119
+
120
120
<TextCell Text =" ActivityIndicator"
121
121
Detail =" Show that the program is busy"
122
122
Command =" {Binding NavigateCommand}"
123
123
CommandParameter =" {x:Type local:XamlExamples.ActivityIndicatorDemoPage}" />
124
-
124
+
125
125
<TextCell Text =" ProgressBar"
126
126
Detail =" Show the progress of a program task"
127
127
Command =" {Binding NavigateCommand}"
128
128
CommandParameter =" {x:Type local:XamlExamples.ProgressBarDemoPage}" />
129
129
</TableSection >
130
130
131
131
<TableSection Title =" Views that Display Collections" >
132
-
132
+
133
133
<TextCell Text =" CollectionView"
134
134
Detail =" Select from a list of data items"
135
135
Command =" {Binding NavigateCommand}"
136
136
CommandParameter =" {x:Type local:XamlExamples.CollectionViewDemoPage}" />
137
-
137
+
138
138
<TextCell Text =" ListView"
139
139
Detail =" Select from a list of data items"
140
140
Command =" {Binding NavigateCommand}"
141
141
CommandParameter =" {x:Type local:XamlExamples.ListViewDemoPage}" />
142
-
142
+
143
143
<TextCell Text =" Picker"
144
144
Detail =" Select from a list of text items"
145
145
Command =" {Binding NavigateCommand}"
149
149
Detail =" Show a table suitable for a menu"
150
150
Command =" {Binding NavigateCommand}"
151
151
CommandParameter =" {x:Type local:XamlExamples.TableViewMenuDemoPage}" />
152
-
152
+
153
153
<TextCell Text =" TableView for a form"
154
154
Detail =" Show a table suitable for a form"
155
155
Command =" {Binding NavigateCommand}"
204
204
Detail =" Arrange children in a stack"
205
205
Command =" {Binding NavigateCommand}"
206
206
CommandParameter =" {x:Type local:XamlExamples.StackLayoutDemoPage}" />
207
-
207
+
208
208
<TextCell Text =" AbsoluteLayout"
209
209
Detail =" Arrange children by coordinate positions"
210
210
Command =" {Binding NavigateCommand}"
211
211
CommandParameter =" {x:Type local:XamlExamples.AbsoluteLayoutDemoPage}" />
212
-
212
+
213
213
<TextCell Text =" Grid"
214
214
Detail =" Arrange children in a grid"
215
215
Command =" {Binding NavigateCommand}"
216
216
CommandParameter =" {x:Type local:XamlExamples.GridDemoPage}" />
217
-
217
+
218
218
<TextCell Text =" RelativeLayout"
219
219
Detail =" Arrange children relative to each other"
220
220
Command =" {Binding NavigateCommand}"
227
227
</TableSection >
228
228
229
229
<TableSection Title =" Pages" >
230
-
230
+
231
231
<TextCell Text =" ContentPage"
232
232
Detail =" Present a normal page"
233
233
Command =" {Binding NavigateCommand}"
234
234
CommandParameter =" {x:Type local:XamlExamples.ContentPageDemoPage}" />
235
-
235
+
236
236
<TextCell Text =" NavigationPage"
237
237
Detail =" Present a navigatable page"
238
238
Command =" {Binding NavigateCommand}"
242
242
Detail =" Present two pages with a list and an item"
243
243
Command =" {Binding NavigateCommand}"
244
244
CommandParameter =" {x:Type local:XamlExamples.MasterDetailPageDemoPage}" />
245
-
245
+
246
246
<TextCell Text =" TabbedPage"
247
247
Detail =" Present a page with tabs"
248
248
Command =" {Binding NavigateCommand}"
249
249
CommandParameter =" {x:Type local:XamlExamples.TabbedPageDemoPage}" />
250
-
250
+
251
251
<TextCell Text =" CarouselPage"
252
252
Detail =" Present a horizontally scrollable page"
253
253
Command =" {Binding NavigateCommand}"
256
256
</TableRoot >
257
257
</TableView >
258
258
</ContentPage >
259
- </TabbedPage >
259
+ </TabbedPage >
0 commit comments