1 type derived from SolidColorBrush
Microsoft.Maui.Controls (1)
ImmutableBrush.cs (1)
7
internal class ImmutableBrush :
SolidColorBrush
9 instantiations of SolidColorBrush
Microsoft.Maui.Controls (9)
Brush\Brush.cs (2)
17
return new
SolidColorBrush
{ Color = solidPaint.Color };
103
public static implicit operator Brush(Color color) => new
SolidColorBrush
(color);
Brush\BrushTypeConverter.cs (3)
69
return new
SolidColorBrush
(color);
78
return new
SolidColorBrush
(color);
81
return new
SolidColorBrush
(null);
NavigationPage\NavigationPageToolbar.cs (1)
254
BarBackground = new
SolidColorBrush
(navigationPage.BarBackgroundColor);
Page\Page.cs (1)
847
return new
SolidColorBrush
(BackgroundColor);
ShadowTypeConverter.cs (1)
180
return new
SolidColorBrush
(color);
VisualElement\VisualElement.cs (1)
1886
return new
SolidColorBrush
(BackgroundColor);
312 references to SolidColorBrush
Microsoft.Maui.Controls (312)
Brush\Brush.cs (297)
56
if (brush is
SolidColorBrush
solidColorBrush)
120
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.AliceBlue"/>.</summary>
121
public static
SolidColorBrush
AliceBlue => aliceBlue ??= new(Colors.AliceBlue);
123
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.AntiqueWhite"/>.</summary>
124
public static
SolidColorBrush
AntiqueWhite => antiqueWhite ??= new(Colors.AntiqueWhite);
126
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.Aqua"/>.</summary>
127
public static
SolidColorBrush
Aqua => aqua ??= new(Colors.Aqua);
129
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.Aquamarine"/>.</summary>
130
public static
SolidColorBrush
Aquamarine => aquamarine ??= new(Colors.Aquamarine);
132
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.Azure"/>.</summary>
133
public static
SolidColorBrush
Azure => azure ??= new(Colors.Azure);
135
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.Beige"/>.</summary>
136
public static
SolidColorBrush
Beige => beige ??= new(Colors.Beige);
138
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.Bisque"/>.</summary>
139
public static
SolidColorBrush
Bisque => bisque ??= new(Colors.Bisque);
141
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.Black"/>.</summary>
142
public static
SolidColorBrush
Black => black ??= new(Colors.Black);
144
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.BlanchedAlmond"/>.</summary>
145
public static
SolidColorBrush
BlanchedAlmond => blanchedAlmond ??= new(Colors.BlanchedAlmond);
147
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.Blue"/>.</summary>
148
public static
SolidColorBrush
Blue => blue ??= new(Colors.Blue);
150
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.BlueViolet"/>.</summary>
151
public static
SolidColorBrush
BlueViolet => blueViolet ??= new(Colors.BlueViolet);
153
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.Brown"/>.</summary>
154
public static
SolidColorBrush
Brown => brown ??= new(Colors.Brown);
156
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.BurlyWood"/>.</summary>
157
public static
SolidColorBrush
BurlyWood => burlyWood ??= new(Colors.BurlyWood);
159
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.CadetBlue"/>.</summary>
160
public static
SolidColorBrush
CadetBlue => cadetBlue ??= new(Colors.CadetBlue);
162
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.Chartreuse"/>.</summary>
163
public static
SolidColorBrush
Chartreuse => chartreuse ??= new(Colors.Chartreuse);
165
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.Chocolate"/>.</summary>
166
public static
SolidColorBrush
Chocolate => chocolate ??= new(Colors.Chocolate);
168
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.Coral"/>.</summary>
169
public static
SolidColorBrush
Coral => coral ??= new(Colors.Coral);
171
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.CornflowerBlue"/>.</summary>
172
public static
SolidColorBrush
CornflowerBlue => cornflowerBlue ??= new(Colors.CornflowerBlue);
174
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.Cornsilk"/>.</summary>
175
public static
SolidColorBrush
Cornsilk => cornsilk ??= new(Colors.Cornsilk);
177
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.Crimson"/>.</summary>
178
public static
SolidColorBrush
Crimson => crimson ??= new(Colors.Crimson);
180
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.Cyan"/>.</summary>
181
public static
SolidColorBrush
Cyan => cyan ??= new(Colors.Cyan);
183
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.DarkBlue"/>.</summary>
184
public static
SolidColorBrush
DarkBlue => darkBlue ??= new(Colors.DarkBlue);
186
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.DarkCyan"/>.</summary>
187
public static
SolidColorBrush
DarkCyan => darkCyan ??= new(Colors.DarkCyan);
189
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.DarkGoldenrod"/>.</summary>
190
public static
SolidColorBrush
DarkGoldenrod => darkGoldenrod ??= new(Colors.DarkGoldenrod);
192
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.DarkGray"/>.</summary>
193
public static
SolidColorBrush
DarkGray => darkGray ??= new(Colors.DarkGray);
194
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.DarkGrey"/>.</summary>
195
public static
SolidColorBrush
DarkGrey => DarkGray;
197
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.DarkGreen"/>.</summary>
198
public static
SolidColorBrush
DarkGreen => darkGreen ??= new(Colors.DarkGreen);
200
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.DarkKhaki"/>.</summary>
201
public static
SolidColorBrush
DarkKhaki => darkKhaki ??= new(Colors.DarkKhaki);
203
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.DarkMagenta"/>.</summary>
204
public static
SolidColorBrush
DarkMagenta => darkMagenta ??= new(Colors.DarkMagenta);
206
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.DarkOliveGreen"/>.</summary>
207
public static
SolidColorBrush
DarkOliveGreen => darkOliveGreen ??= new(Colors.DarkOliveGreen);
209
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.DarkOrange"/>.</summary>
210
public static
SolidColorBrush
DarkOrange => darkOrange ??= new(Colors.DarkOrange);
212
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.DarkOrchid"/>.</summary>
213
public static
SolidColorBrush
DarkOrchid => darkOrchid ??= new(Colors.DarkOrchid);
215
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.DarkRed"/>.</summary>
216
public static
SolidColorBrush
DarkRed => darkRed ??= new(Colors.DarkRed);
218
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.DarkSalmon"/>.</summary>
219
public static
SolidColorBrush
DarkSalmon => darkSalmon ??= new(Colors.DarkSalmon);
221
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.DarkSeaGreen"/>.</summary>
222
public static
SolidColorBrush
DarkSeaGreen => darkSeaGreen ??= new(Colors.DarkSeaGreen);
224
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.DarkSlateBlue"/>.</summary>
225
public static
SolidColorBrush
DarkSlateBlue => darkSlateBlue ??= new(Colors.DarkSlateBlue);
227
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.DarkSlateGray"/>.</summary>
228
public static
SolidColorBrush
DarkSlateGray => darkSlateGray ??= new(Colors.DarkSlateGray);
229
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.DarkSlateGrey"/>.</summary>
230
public static
SolidColorBrush
DarkSlateGrey => DarkSlateGray;
232
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.DarkTurquoise"/>.</summary>
233
public static
SolidColorBrush
DarkTurquoise => darkTurquoise ??= new(Colors.DarkTurquoise);
235
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.DarkViolet"/>.</summary>
236
public static
SolidColorBrush
DarkViolet => darkViolet ??= new(Colors.DarkViolet);
238
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.DeepPink"/>.</summary>
239
public static
SolidColorBrush
DeepPink => deepPink ??= new(Colors.DeepPink);
241
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.DeepSkyBlue"/>.</summary>
242
public static
SolidColorBrush
DeepSkyBlue => deepSkyBlue ??= new(Colors.DeepSkyBlue);
244
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.DimGray"/>.</summary>
245
public static
SolidColorBrush
DimGray => dimGray ??= new(Colors.DimGray);
246
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.DimGrey"/>.</summary>
247
public static
SolidColorBrush
DimGrey => DimGray;
249
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.DodgerBlue"/>.</summary>
250
public static
SolidColorBrush
DodgerBlue => dodgerBlue ??= new(Colors.DodgerBlue);
252
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.Firebrick"/>.</summary>
253
public static
SolidColorBrush
Firebrick => firebrick ??= new(Colors.Firebrick);
255
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.FloralWhite"/>.</summary>
256
public static
SolidColorBrush
FloralWhite => floralWhite ??= new(Colors.FloralWhite);
258
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.ForestGreen"/>.</summary>
259
public static
SolidColorBrush
ForestGreen => forestGreen ??= new(Colors.ForestGreen);
261
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.Fuchsia"/>.</summary>
262
public static
SolidColorBrush
Fuchsia => fuchsia ??= new(Colors.Fuchsia);
264
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.Gainsboro"/>.</summary>
265
public static
SolidColorBrush
Gainsboro => gainsboro ??= new(Colors.Gainsboro);
267
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.GhostWhite"/>.</summary>
268
public static
SolidColorBrush
GhostWhite => ghostWhite ??= new(Colors.GhostWhite);
270
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.Gold"/>.</summary>
271
public static
SolidColorBrush
Gold => gold ??= new(Colors.Gold);
273
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.Goldenrod"/>.</summary>
274
public static
SolidColorBrush
Goldenrod => goldenrod ??= new(Colors.Goldenrod);
276
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.Gray"/>.</summary>
277
public static
SolidColorBrush
Gray => gray ??= new(Colors.Gray);
278
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.Grey"/>.</summary>
279
public static
SolidColorBrush
Grey => Gray;
281
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.Green"/>.</summary>
282
public static
SolidColorBrush
Green => green ??= new(Colors.Green);
284
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.GreenYellow"/>.</summary>
285
public static
SolidColorBrush
GreenYellow => greenYellow ??= new(Colors.GreenYellow);
287
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.Honeydew"/>.</summary>
288
public static
SolidColorBrush
Honeydew => honeydew ??= new(Colors.Honeydew);
290
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.HotPink"/>.</summary>
291
public static
SolidColorBrush
HotPink => hotPink ??= new(Colors.HotPink);
293
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.IndianRed"/>.</summary>
294
public static
SolidColorBrush
IndianRed => indianRed ??= new(Colors.IndianRed);
296
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.Indigo"/>.</summary>
297
public static
SolidColorBrush
Indigo => indigo ??= new(Colors.Indigo);
299
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.Ivory"/>.</summary>
300
public static
SolidColorBrush
Ivory => ivory ??= new(Colors.Ivory);
302
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.Khaki"/>.</summary>
303
public static
SolidColorBrush
Khaki => khaki ??= new(Colors.Khaki);
305
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.Lavender"/>.</summary>
306
public static
SolidColorBrush
Lavender => lavender ??= new(Colors.Lavender);
308
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.LavenderBlush"/>.</summary>
309
public static
SolidColorBrush
LavenderBlush => lavenderBlush ??= new(Colors.LavenderBlush);
311
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.LawnGreen"/>.</summary>
312
public static
SolidColorBrush
LawnGreen => lawnGreen ??= new(Colors.LawnGreen);
314
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.LemonChiffon"/>.</summary>
315
public static
SolidColorBrush
LemonChiffon => lemonChiffon ??= new(Colors.LemonChiffon);
317
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.LightBlue"/>.</summary>
318
public static
SolidColorBrush
LightBlue => lightBlue ??= new(Colors.LightBlue);
320
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.LightCoral"/>.</summary>
321
public static
SolidColorBrush
LightCoral => lightCoral ??= new(Colors.LightCoral);
323
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.LightCyan"/>.</summary>
324
public static
SolidColorBrush
LightCyan => lightCyan ??= new(Colors.LightCyan);
326
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.LightGoldenrodYellow"/>.</summary>
327
public static
SolidColorBrush
LightGoldenrodYellow => lightGoldenrodYellow ??= new(Colors.LightGoldenrodYellow);
329
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.LightGray"/>.</summary>
330
public static
SolidColorBrush
LightGray => lightGray ??= new(Colors.LightGray);
331
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.LightGrey"/>.</summary>
332
public static
SolidColorBrush
LightGrey => LightGray;
334
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.LightGreen"/>.</summary>
335
public static
SolidColorBrush
LightGreen => lightGreen ??= new(Colors.LightGreen);
337
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.LightPink"/>.</summary>
338
public static
SolidColorBrush
LightPink => lightPink ??= new(Colors.LightPink);
340
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.LightSalmon"/>.</summary>
341
public static
SolidColorBrush
LightSalmon => lightSalmon ??= new(Colors.LightSalmon);
343
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.LightSeaGreen"/>.</summary>
344
public static
SolidColorBrush
LightSeaGreen => lightSeaGreen ??= new(Colors.LightSeaGreen);
346
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.LightSkyBlue"/>.</summary>
347
public static
SolidColorBrush
LightSkyBlue => lightSkyBlue ??= new(Colors.LightSkyBlue);
349
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.LightSlateGray"/>.</summary>
350
public static
SolidColorBrush
LightSlateGray => lightSlateGray ??= new(Colors.LightSlateGray);
351
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.LightSlateGrey"/>.</summary>
352
public static
SolidColorBrush
LightSlateGrey => LightSlateGray;
354
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.LightSteelBlue"/>.</summary>
355
public static
SolidColorBrush
LightSteelBlue => lightSteelBlue ??= new(Colors.LightSteelBlue);
357
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.LightYellow"/>.</summary>
358
public static
SolidColorBrush
LightYellow => lightYellow ??= new(Colors.LightYellow);
360
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.Lime"/>.</summary>
361
public static
SolidColorBrush
Lime => lime ??= new(Colors.Lime);
363
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.LimeGreen"/>.</summary>
364
public static
SolidColorBrush
LimeGreen => limeGreen ??= new(Colors.LimeGreen);
366
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.Linen"/>.</summary>
367
public static
SolidColorBrush
Linen => linen ??= new(Colors.Linen);
369
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.Magenta"/>.</summary>
370
public static
SolidColorBrush
Magenta => magenta ??= new(Colors.Magenta);
372
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.Maroon"/>.</summary>
373
public static
SolidColorBrush
Maroon => maroon ??= new(Colors.Maroon);
375
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.MediumAquamarine"/>.</summary>
376
public static
SolidColorBrush
MediumAquamarine => mediumAquararine ??= new(Colors.MediumAquamarine);
378
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.MediumBlue"/>.</summary>
379
public static
SolidColorBrush
MediumBlue => mediumBlue ??= new(Colors.MediumBlue);
381
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.MediumOrchid"/>.</summary>
382
public static
SolidColorBrush
MediumOrchid => mediumOrchid ??= new(Colors.MediumOrchid);
384
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.MediumPurple"/>.</summary>
385
public static
SolidColorBrush
MediumPurple => mediumPurple ??= new(Colors.MediumPurple);
387
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.MediumSeaGreen"/>.</summary>
388
public static
SolidColorBrush
MediumSeaGreen => mediumSeaGreen ??= new(Colors.MediumSeaGreen);
390
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.MediumSlateBlue"/>.</summary>
391
public static
SolidColorBrush
MediumSlateBlue => mediumSlateBlue ??= new(Colors.MediumSlateBlue);
393
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.MediumSpringGreen"/>.</summary>
394
public static
SolidColorBrush
MediumSpringGreen => mediumSpringGreen ??= new(Colors.MediumSpringGreen);
396
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.MediumTurquoise"/>.</summary>
397
public static
SolidColorBrush
MediumTurquoise => mediumTurquoise ??= new(Colors.MediumTurquoise);
399
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.MediumVioletRed"/>.</summary>
400
public static
SolidColorBrush
MediumVioletRed => mediumVioletRed ??= new(Colors.MediumVioletRed);
402
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.MidnightBlue"/>.</summary>
403
public static
SolidColorBrush
MidnightBlue => midnightBlue ??= new(Colors.MidnightBlue);
405
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.MintCream"/>.</summary>
406
public static
SolidColorBrush
MintCream => mintCream ??= new(Colors.MintCream);
408
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.MistyRose"/>.</summary>
409
public static
SolidColorBrush
MistyRose => mistyRose ??= new(Colors.MistyRose);
411
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.Moccasin"/>.</summary>
412
public static
SolidColorBrush
Moccasin => moccasin ??= new(Colors.Moccasin);
414
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.NavajoWhite"/>.</summary>
415
public static
SolidColorBrush
NavajoWhite => navajoWhite ??= new(Colors.NavajoWhite);
417
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.Navy"/>.</summary>
418
public static
SolidColorBrush
Navy => navy ??= new(Colors.Navy);
420
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.OldLace"/>.</summary>
421
public static
SolidColorBrush
OldLace => oldLace ??= new(Colors.OldLace);
423
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.Olive"/>.</summary>
424
public static
SolidColorBrush
Olive => olive ??= new(Colors.Olive);
426
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.OliveDrab"/>.</summary>
427
public static
SolidColorBrush
OliveDrab => oliveDrab ??= new(Colors.OliveDrab);
429
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.Orange"/>.</summary>
430
public static
SolidColorBrush
Orange => orange ??= new(Colors.Orange);
432
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.OrangeRed"/>.</summary>
433
public static
SolidColorBrush
OrangeRed => orangeRed ??= new(Colors.OrangeRed);
435
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.Orchid"/>.</summary>
436
public static
SolidColorBrush
Orchid => orchid ??= new(Colors.Orchid);
438
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.PaleGoldenrod"/>.</summary>
439
public static
SolidColorBrush
PaleGoldenrod => paleGoldenrod ??= new(Colors.PaleGoldenrod);
441
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.PaleGreen"/>.</summary>
442
public static
SolidColorBrush
PaleGreen => paleGreen ??= new(Colors.PaleGreen);
444
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.PaleTurquoise"/>.</summary>
445
public static
SolidColorBrush
PaleTurquoise => paleTurquoise ??= new(Colors.PaleTurquoise);
447
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.PaleVioletRed"/>.</summary>
448
public static
SolidColorBrush
PaleVioletRed => paleVioletRed ??= new(Colors.PaleVioletRed);
450
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.PapayaWhip"/>.</summary>
451
public static
SolidColorBrush
PapayaWhip => papayaWhip ??= new(Colors.PapayaWhip);
453
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.PeachPuff"/>.</summary>
454
public static
SolidColorBrush
PeachPuff => peachPuff ??= new(Colors.PeachPuff);
456
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.Peru"/>.</summary>
457
public static
SolidColorBrush
Peru => peru ??= new(Colors.Peru);
459
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.Pink"/>.</summary>
460
public static
SolidColorBrush
Pink => pink ??= new(Colors.Pink);
462
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.Plum"/>.</summary>
463
public static
SolidColorBrush
Plum => plum ??= new(Colors.Plum);
465
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.PowderBlue"/>.</summary>
466
public static
SolidColorBrush
PowderBlue => powderBlue ??= new(Colors.PowderBlue);
468
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.Purple"/>.</summary>
469
public static
SolidColorBrush
Purple => purple ??= new(Colors.Purple);
471
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.Red"/>.</summary>
472
public static
SolidColorBrush
Red => red ??= new(Colors.Red);
474
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.RosyBrown"/>.</summary>
475
public static
SolidColorBrush
RosyBrown => rosyBrown ??= new(Colors.RosyBrown);
477
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.RoyalBlue"/>.</summary>
478
public static
SolidColorBrush
RoyalBlue => royalBlue ??= new(Colors.RoyalBlue);
480
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.SaddleBrown"/>.</summary>
481
public static
SolidColorBrush
SaddleBrown => saddleBrown ??= new(Colors.SaddleBrown);
483
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.Salmon"/>.</summary>
484
public static
SolidColorBrush
Salmon => salmon ??= new(Colors.Salmon);
486
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.SandyBrown"/>.</summary>
487
public static
SolidColorBrush
SandyBrown => sandyBrown ??= new(Colors.SandyBrown);
489
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.SeaGreen"/>.</summary>
490
public static
SolidColorBrush
SeaGreen => seaGreen ??= new(Colors.SeaGreen);
492
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.SeaShell"/>.</summary>
493
public static
SolidColorBrush
SeaShell => seaShell ??= new(Colors.SeaShell);
495
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.Sienna"/>.</summary>
496
public static
SolidColorBrush
Sienna => sienna ??= new(Colors.Sienna);
498
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.Silver"/>.</summary>
499
public static
SolidColorBrush
Silver => silver ??= new(Colors.Silver);
501
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.SkyBlue"/>.</summary>
502
public static
SolidColorBrush
SkyBlue => skyBlue ??= new(Colors.SkyBlue);
504
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.SlateBlue"/>.</summary>
505
public static
SolidColorBrush
SlateBlue => slateBlue ??= new(Colors.SlateBlue);
507
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.SlateGray"/>.</summary>
508
public static
SolidColorBrush
SlateGray => slateGray ??= new(Colors.SlateGray);
509
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.SlateGrey"/>.</summary>
510
public static
SolidColorBrush
SlateGrey => SlateGray;
512
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.Snow"/>.</summary>
513
public static
SolidColorBrush
Snow => snow ??= new(Colors.Snow);
515
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.SpringGreen"/>.</summary>
516
public static
SolidColorBrush
SpringGreen => springGreen ??= new(Colors.SpringGreen);
518
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.SteelBlue"/>.</summary>
519
public static
SolidColorBrush
SteelBlue => steelBlue ??= new(Colors.SteelBlue);
521
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.Tan"/>.</summary>
522
public static
SolidColorBrush
Tan => tan ??= new(Colors.Tan);
524
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.Teal"/>.</summary>
525
public static
SolidColorBrush
Teal => teal ??= new(Colors.Teal);
527
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.Thistle"/>.</summary>
528
public static
SolidColorBrush
Thistle => thistle ??= new(Colors.Thistle);
530
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.Tomato"/>.</summary>
531
public static
SolidColorBrush
Tomato => tomato ??= new(Colors.Tomato);
533
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.Transparent"/>.</summary>
534
public static
SolidColorBrush
Transparent => transparent ??= new(Colors.Transparent);
536
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.Turquoise"/>.</summary>
537
public static
SolidColorBrush
Turquoise => turquoise ??= new(Colors.Turquoise);
539
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.Violet"/>.</summary>
540
public static
SolidColorBrush
Violet => violet ??= new(Colors.Violet);
542
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.Wheat"/>.</summary>
543
public static
SolidColorBrush
Wheat => wheat ??= new(Colors.Wheat);
545
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.White"/>.</summary>
546
public static
SolidColorBrush
White => white ??= new(Colors.White);
548
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.WhiteSmoke"/>.</summary>
549
public static
SolidColorBrush
WhiteSmoke => whiteSmoke ??= new(Colors.WhiteSmoke);
551
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.Yellow"/>.</summary>
552
public static
SolidColorBrush
Yellow => yellow ??= new(Colors.Yellow);
554
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.YellowGreen"/>.</summary>
555
public static
SolidColorBrush
YellowGreen => yellowGreen ??= new(Colors.YellowGreen);
RadioButton\RadioButton.cs (6)
519
SolidColorBrush
.White,
520
SolidColorBrush
.Black,
534
SolidColorBrush
.White,
535
SolidColorBrush
.Black,
549
SolidColorBrush
.White,
550
SolidColorBrush
.Black,
ShadowTypeConverter.cs (5)
84
var
brush = ParseBrush(matches[0].Value);
99
var
brush = ParseBrush(matches[3].Value);
113
var
brush = ParseBrush(matches[3].Value);
155
var color = (shadow.Brush as
SolidColorBrush
)?.Color.ToHex();
175
SolidColorBrush
ParseBrush(string value)
Shell\Shell.cs (1)
1092
BindableProperty.Create(nameof(FlyoutBackground), typeof(Brush), typeof(Shell),
SolidColorBrush
.Default, BindingMode.OneTime);
SolidColorBrush.cs (3)
28
var
solidColorBrush = this;
35
nameof(Color), typeof(Color), typeof(
SolidColorBrush
), null);
47
if (!(obj is
SolidColorBrush
dest))