This repository was archived by the owner on May 1, 2024. It is now read-only.
Commit 2a97a6c
Templated RadioButtons and RadioButtonGroups (#11628)
* First stab at RadioButtonGroup attached property and Templated RadioButton
* RadioButtonGroupController assigning group names
* Added updates for RadioButtonGroupController on selection change
* More galleries!
* Content property propagation
* Ignore renderers if using templated views on UWP
* Apply text/font properties to Content
* Make RadioButton template parts constants
* Cache renderer availability lookup
* Add TemplateView check to CreateRenderer on iOS
* Handle Checked RadioButton GroupName changes
* Update WPF renderer
* Update macOS and Tizen renderers
* Add more unit tests, make RB Value updates propagate to RBG
* Remove Text property, updated examples; throw Exception when Content is not Text and non-Text Content is not supported
* Prevent Content exceptions in demo pages
* Colors -> Brushes
* Add default ControlTemplate example
* Set up flags for Core Gallery test pages
* Switch Android back to ToString for Content
* Back to ToString where necessary, and using the WrapperControl for UWP
* Add comment for Content
* Log a nice warning if folks try to use View as Content and it's not supported
* Add experimental flags for drag and drop tests
* Fix crashes due to missing brush experimental flag
* Make control templates from styles work alongside default templates
* Catch up on which flags are still a concern
* Fix infinite loop in platform tests
* Attempt to fix occasionaly GroupableItemsViewController disposed crash
* Make webview visible so we can verify it loaded in UI test screen shots
* Fix merge
Co-authored-by: Rui Marinho <[email protected]>1 parent dacfe47 commit 2a97a6c
File tree
50 files changed
+1813
-674
lines changed- Stubs
- Xamarin.Forms.ControlGallery.Android
- Xamarin.Forms.Controls
- CoreGalleryPages
- GalleryPages
- PlatformTestsGallery
- RadioButtonGalleries
- Xamarin.Forms.Core.UnitTests
- Xamarin.Forms.Core
- Xamarin.Forms.Platform.Android
- AppCompat
- Properties
- Xamarin.Forms.Platform.MacOS/Renderers
- Xamarin.Forms.Platform.Tizen/Renderers
- Xamarin.Forms.Platform.UAP
- Xamarin.Forms.Platform.WPF/Renderers
- Xamarin.Forms.Platform.iOS
- CollectionView
- Renderers
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
50 files changed
+1813
-674
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
| 57 | + | |
57 | 58 | | |
58 | 59 | | |
| 60 | + | |
59 | 61 | | |
60 | 62 | | |
61 | 63 | | |
| |||
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
411 | 411 | | |
412 | 412 | | |
413 | 413 | | |
| 414 | + | |
| 415 | + | |
| 416 | + | |
| 417 | + | |
| 418 | + | |
414 | 419 | | |
Lines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
6 | 7 | | |
7 | 8 | | |
8 | 9 | | |
| |||
36 | 37 | | |
37 | 38 | | |
38 | 39 | | |
39 | | - | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
40 | 44 | | |
41 | 45 | | |
42 | 46 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
8 | 9 | | |
9 | 10 | | |
10 | 11 | | |
| |||
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| 24 | + | |
| 25 | + | |
24 | 26 | | |
25 | 27 | | |
26 | 28 | | |
| |||
55 | 57 | | |
56 | 58 | | |
57 | 59 | | |
| 60 | + | |
| 61 | + | |
58 | 62 | | |
59 | 63 | | |
60 | 64 | | |
| |||
Lines changed: 16 additions & 56 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
12 | 18 | | |
13 | | - | |
14 | 19 | | |
15 | 20 | | |
16 | 21 | | |
| |||
23 | 28 | | |
24 | 29 | | |
25 | 30 | | |
26 | | - | |
| 31 | + | |
27 | 32 | | |
28 | 33 | | |
29 | 34 | | |
30 | 35 | | |
31 | | - | |
| 36 | + | |
32 | 37 | | |
33 | 38 | | |
34 | 39 | | |
| |||
38 | 43 | | |
39 | 44 | | |
40 | 45 | | |
41 | | - | |
| 46 | + | |
42 | 47 | | |
43 | 48 | | |
44 | 49 | | |
| |||
48 | 53 | | |
49 | 54 | | |
50 | 55 | | |
51 | | - | |
| 56 | + | |
52 | 57 | | |
53 | 58 | | |
54 | 59 | | |
55 | 60 | | |
56 | 61 | | |
57 | 62 | | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | | - | |
81 | | - | |
82 | 63 | | |
83 | 64 | | |
84 | 65 | | |
85 | | - | |
86 | | - | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
87 | 69 | | |
88 | 70 | | |
89 | 71 | | |
90 | 72 | | |
91 | 73 | | |
92 | 74 | | |
93 | | - | |
| 75 | + | |
94 | 76 | | |
95 | 77 | | |
96 | 78 | | |
97 | 79 | | |
98 | 80 | | |
99 | 81 | | |
100 | | - | |
| 82 | + | |
101 | 83 | | |
102 | 84 | | |
103 | 85 | | |
104 | 86 | | |
105 | 87 | | |
106 | 88 | | |
107 | 89 | | |
108 | | - | |
| 90 | + | |
109 | 91 | | |
110 | 92 | | |
111 | 93 | | |
112 | 94 | | |
113 | 95 | | |
114 | 96 | | |
115 | 97 | | |
116 | | - | |
117 | | - | |
118 | | - | |
119 | | - | |
120 | | - | |
121 | | - | |
122 | | - | |
123 | | - | |
124 | | - | |
125 | | - | |
126 | | - | |
127 | | - | |
128 | | - | |
129 | | - | |
130 | | - | |
131 | | - | |
132 | | - | |
133 | | - | |
134 | 98 | | |
135 | 99 | | |
136 | 100 | | |
137 | | - | |
138 | | - | |
139 | | - | |
140 | 101 | | |
141 | 102 | | |
142 | 103 | | |
143 | 104 | | |
144 | 105 | | |
145 | | - | |
146 | 106 | | |
147 | 107 | | |
148 | 108 | | |
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
74 | | - | |
| 74 | + | |
75 | 75 | | |
76 | 76 | | |
77 | 77 | | |
| |||
Lines changed: 88 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
Lines changed: 13 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
0 commit comments