@@ -114,6 +114,12 @@ public static implicit operator Android.Graphics.Color(Color color)
114114#endif
115115
116116#if WINDOWS_UWP
117+ /// <summary>
118+ /// Initializes a new instance of the <see cref="Color"/> class with a <see cref="Windows.UI.Color"/>.
119+ /// </summary>
120+ /// <param name="color">
121+ /// The Windows color value.
122+ /// </param>
117123 public Color ( Windows . UI . Color color )
118124 {
119125 this . A = color . A ;
@@ -122,28 +128,58 @@ public Color(Windows.UI.Color color)
122128 this . B = color . B ;
123129 }
124130
131+ /// <summary>
132+ /// Supports the conversion of a <see cref="Windows.UI.Color"/> to <see cref="Color"/> implicitly.
133+ /// </summary>
134+ /// <param name="color">
135+ /// The Windows color value.
136+ /// </param>
125137 public static implicit operator Color ( Windows . UI . Color color )
126138 {
127139 return new Color ( color ) ;
128140 }
129141
142+ /// <summary>
143+ /// Supports the conversion of a <see cref="Windows.UI.Xaml.Media.SolidColorBrush"/> to <see cref="Color"/> implicitly.
144+ /// </summary>
145+ /// <param name="colorBrush">
146+ /// The Windows solid color brush value.
147+ /// </param>
130148 public static implicit operator Color ( Windows . UI . Xaml . Media . SolidColorBrush colorBrush )
131149 {
132150 return new Color ( colorBrush . Color ) ;
133151 }
134152
153+ /// <summary>
154+ /// Supports the conversion of a <see cref="Color"/> to <see cref="Windows.UI.Color"/> implicitly.
155+ /// </summary>
156+ /// <param name="color">
157+ /// The internal color value.
158+ /// </param>
135159 public static implicit operator Windows . UI . Color ( Color color )
136160 {
137161 return Windows . UI . Color . FromArgb ( color . A , color . R , color . G , color . B ) ;
138162 }
139163
164+ /// <summary>
165+ /// Supports the conversion of a <see cref="Color"/> to <see cref="Windows.UI.Xaml.Media.SolidColorBrush"/> implicitly.
166+ /// </summary>
167+ /// <param name="color">
168+ /// The internal color value.
169+ /// </param>
140170 public static implicit operator Windows . UI . Xaml . Media . SolidColorBrush ( Color color )
141171 {
142172 return new Windows . UI . Xaml . Media . SolidColorBrush ( color ) ;
143173 }
144174#endif
145175
146176#if __IOS__
177+ /// <summary>
178+ /// Initializes a new instance of the <see cref="Color"/> class with a <see cref="UIKit.UIColor"/>.
179+ /// </summary>
180+ /// <param name="color">
181+ /// The iOS color value.
182+ /// </param>
147183 public Color ( UIKit . UIColor color )
148184 {
149185 if ( color != null && color . CGColor != null )
@@ -166,11 +202,23 @@ public Color(UIKit.UIColor color)
166202 }
167203 }
168204
205+ /// <summary>
206+ /// Supports the conversion of a <see cref="UIKit.UIColor"/> to <see cref="Color"/> implicitly.
207+ /// </summary>
208+ /// <param name="color">
209+ /// The iOS color value.
210+ /// </param>
169211 public static implicit operator Color ( UIKit . UIColor color )
170212 {
171213 return new Color ( color ) ;
172214 }
173215
216+ /// <summary>
217+ /// Supports the conversion of a <see cref="Color"/> to <see cref="UIKit.UIColor"/> implicitly.
218+ /// </summary>
219+ /// <param name="color">
220+ /// The internal color value.
221+ /// </param>
174222 public static implicit operator UIKit . UIColor ( Color color )
175223 {
176224 return UIKit . UIColor . FromRGBA ( color . R , color . G , color . B , color . A ) ;
0 commit comments