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 };
101
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)
242
BarBackground = new
SolidColorBrush
(navigationPage.BarBackgroundColor);
Page\Page.cs (1)
845
return new
SolidColorBrush
(BackgroundColor);
ShadowTypeConverter.cs (1)
180
return new
SolidColorBrush
(color);
VisualElement\VisualElement.cs (1)
1831
return new
SolidColorBrush
(BackgroundColor);
312 references to SolidColorBrush
Microsoft.Maui.Controls (312)
Brush\Brush.cs (297)
56
if (brush is
SolidColorBrush
solidColorBrush)
118
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.AliceBlue"/>.</summary>
119
public static
SolidColorBrush
AliceBlue => aliceBlue ??= new(Colors.AliceBlue);
121
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.AntiqueWhite"/>.</summary>
122
public static
SolidColorBrush
AntiqueWhite => antiqueWhite ??= new(Colors.AntiqueWhite);
124
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.Aqua"/>.</summary>
125
public static
SolidColorBrush
Aqua => aqua ??= new(Colors.Aqua);
127
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.Aquamarine"/>.</summary>
128
public static
SolidColorBrush
Aquamarine => aquamarine ??= new(Colors.Aquamarine);
130
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.Azure"/>.</summary>
131
public static
SolidColorBrush
Azure => azure ??= new(Colors.Azure);
133
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.Beige"/>.</summary>
134
public static
SolidColorBrush
Beige => beige ??= new(Colors.Beige);
136
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.Bisque"/>.</summary>
137
public static
SolidColorBrush
Bisque => bisque ??= new(Colors.Bisque);
139
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.Black"/>.</summary>
140
public static
SolidColorBrush
Black => black ??= new(Colors.Black);
142
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.BlanchedAlmond"/>.</summary>
143
public static
SolidColorBrush
BlanchedAlmond => blanchedAlmond ??= new(Colors.BlanchedAlmond);
145
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.Blue"/>.</summary>
146
public static
SolidColorBrush
Blue => blue ??= new(Colors.Blue);
148
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.BlueViolet"/>.</summary>
149
public static
SolidColorBrush
BlueViolet => blueViolet ??= new(Colors.BlueViolet);
151
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.Brown"/>.</summary>
152
public static
SolidColorBrush
Brown => brown ??= new(Colors.Brown);
154
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.BurlyWood"/>.</summary>
155
public static
SolidColorBrush
BurlyWood => burlyWood ??= new(Colors.BurlyWood);
157
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.CadetBlue"/>.</summary>
158
public static
SolidColorBrush
CadetBlue => cadetBlue ??= new(Colors.CadetBlue);
160
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.Chartreuse"/>.</summary>
161
public static
SolidColorBrush
Chartreuse => chartreuse ??= new(Colors.Chartreuse);
163
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.Chocolate"/>.</summary>
164
public static
SolidColorBrush
Chocolate => chocolate ??= new(Colors.Chocolate);
166
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.Coral"/>.</summary>
167
public static
SolidColorBrush
Coral => coral ??= new(Colors.Coral);
169
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.CornflowerBlue"/>.</summary>
170
public static
SolidColorBrush
CornflowerBlue => cornflowerBlue ??= new(Colors.CornflowerBlue);
172
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.Cornsilk"/>.</summary>
173
public static
SolidColorBrush
Cornsilk => cornsilk ??= new(Colors.Cornsilk);
175
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.Crimson"/>.</summary>
176
public static
SolidColorBrush
Crimson => crimson ??= new(Colors.Crimson);
178
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.Cyan"/>.</summary>
179
public static
SolidColorBrush
Cyan => cyan ??= new(Colors.Cyan);
181
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.DarkBlue"/>.</summary>
182
public static
SolidColorBrush
DarkBlue => darkBlue ??= new(Colors.DarkBlue);
184
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.DarkCyan"/>.</summary>
185
public static
SolidColorBrush
DarkCyan => darkCyan ??= new(Colors.DarkCyan);
187
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.DarkGoldenrod"/>.</summary>
188
public static
SolidColorBrush
DarkGoldenrod => darkGoldenrod ??= new(Colors.DarkGoldenrod);
190
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.DarkGray"/>.</summary>
191
public static
SolidColorBrush
DarkGray => darkGray ??= new(Colors.DarkGray);
192
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.DarkGrey"/>.</summary>
193
public static
SolidColorBrush
DarkGrey => DarkGray;
195
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.DarkGreen"/>.</summary>
196
public static
SolidColorBrush
DarkGreen => darkGreen ??= new(Colors.DarkGreen);
198
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.DarkKhaki"/>.</summary>
199
public static
SolidColorBrush
DarkKhaki => darkKhaki ??= new(Colors.DarkKhaki);
201
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.DarkMagenta"/>.</summary>
202
public static
SolidColorBrush
DarkMagenta => darkMagenta ??= new(Colors.DarkMagenta);
204
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.DarkOliveGreen"/>.</summary>
205
public static
SolidColorBrush
DarkOliveGreen => darkOliveGreen ??= new(Colors.DarkOliveGreen);
207
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.DarkOrange"/>.</summary>
208
public static
SolidColorBrush
DarkOrange => darkOrange ??= new(Colors.DarkOrange);
210
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.DarkOrchid"/>.</summary>
211
public static
SolidColorBrush
DarkOrchid => darkOrchid ??= new(Colors.DarkOrchid);
213
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.DarkRed"/>.</summary>
214
public static
SolidColorBrush
DarkRed => darkRed ??= new(Colors.DarkRed);
216
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.DarkSalmon"/>.</summary>
217
public static
SolidColorBrush
DarkSalmon => darkSalmon ??= new(Colors.DarkSalmon);
219
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.DarkSeaGreen"/>.</summary>
220
public static
SolidColorBrush
DarkSeaGreen => darkSeaGreen ??= new(Colors.DarkSeaGreen);
222
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.DarkSlateBlue"/>.</summary>
223
public static
SolidColorBrush
DarkSlateBlue => darkSlateBlue ??= new(Colors.DarkSlateBlue);
225
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.DarkSlateGray"/>.</summary>
226
public static
SolidColorBrush
DarkSlateGray => darkSlateGray ??= new(Colors.DarkSlateGray);
227
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.DarkSlateGrey"/>.</summary>
228
public static
SolidColorBrush
DarkSlateGrey => DarkSlateGray;
230
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.DarkTurquoise"/>.</summary>
231
public static
SolidColorBrush
DarkTurquoise => darkTurquoise ??= new(Colors.DarkTurquoise);
233
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.DarkViolet"/>.</summary>
234
public static
SolidColorBrush
DarkViolet => darkViolet ??= new(Colors.DarkViolet);
236
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.DeepPink"/>.</summary>
237
public static
SolidColorBrush
DeepPink => deepPink ??= new(Colors.DeepPink);
239
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.DeepSkyBlue"/>.</summary>
240
public static
SolidColorBrush
DeepSkyBlue => deepSkyBlue ??= new(Colors.DeepSkyBlue);
242
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.DimGray"/>.</summary>
243
public static
SolidColorBrush
DimGray => dimGray ??= new(Colors.DimGray);
244
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.DimGrey"/>.</summary>
245
public static
SolidColorBrush
DimGrey => DimGray;
247
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.DodgerBlue"/>.</summary>
248
public static
SolidColorBrush
DodgerBlue => dodgerBlue ??= new(Colors.DodgerBlue);
250
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.Firebrick"/>.</summary>
251
public static
SolidColorBrush
Firebrick => firebrick ??= new(Colors.Firebrick);
253
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.FloralWhite"/>.</summary>
254
public static
SolidColorBrush
FloralWhite => floralWhite ??= new(Colors.FloralWhite);
256
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.ForestGreen"/>.</summary>
257
public static
SolidColorBrush
ForestGreen => forestGreen ??= new(Colors.ForestGreen);
259
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.Fuchsia"/>.</summary>
260
public static
SolidColorBrush
Fuchsia => fuchsia ??= new(Colors.Fuchsia);
262
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.Gainsboro"/>.</summary>
263
public static
SolidColorBrush
Gainsboro => gainsboro ??= new(Colors.Gainsboro);
265
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.GhostWhite"/>.</summary>
266
public static
SolidColorBrush
GhostWhite => ghostWhite ??= new(Colors.GhostWhite);
268
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.Gold"/>.</summary>
269
public static
SolidColorBrush
Gold => gold ??= new(Colors.Gold);
271
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.Goldenrod"/>.</summary>
272
public static
SolidColorBrush
Goldenrod => goldenrod ??= new(Colors.Goldenrod);
274
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.Gray"/>.</summary>
275
public static
SolidColorBrush
Gray => gray ??= new(Colors.Gray);
276
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.Grey"/>.</summary>
277
public static
SolidColorBrush
Grey => Gray;
279
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.Green"/>.</summary>
280
public static
SolidColorBrush
Green => green ??= new(Colors.Green);
282
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.GreenYellow"/>.</summary>
283
public static
SolidColorBrush
GreenYellow => greenYellow ??= new(Colors.GreenYellow);
285
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.Honeydew"/>.</summary>
286
public static
SolidColorBrush
Honeydew => honeydew ??= new(Colors.Honeydew);
288
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.HotPink"/>.</summary>
289
public static
SolidColorBrush
HotPink => hotPink ??= new(Colors.HotPink);
291
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.IndianRed"/>.</summary>
292
public static
SolidColorBrush
IndianRed => indianRed ??= new(Colors.IndianRed);
294
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.Indigo"/>.</summary>
295
public static
SolidColorBrush
Indigo => indigo ??= new(Colors.Indigo);
297
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.Ivory"/>.</summary>
298
public static
SolidColorBrush
Ivory => ivory ??= new(Colors.Ivory);
300
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.Khaki"/>.</summary>
301
public static
SolidColorBrush
Khaki => khaki ??= new(Colors.Khaki);
303
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.Lavender"/>.</summary>
304
public static
SolidColorBrush
Lavender => lavender ??= new(Colors.Lavender);
306
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.LavenderBlush"/>.</summary>
307
public static
SolidColorBrush
LavenderBlush => lavenderBlush ??= new(Colors.LavenderBlush);
309
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.LawnGreen"/>.</summary>
310
public static
SolidColorBrush
LawnGreen => lawnGreen ??= new(Colors.LawnGreen);
312
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.LemonChiffon"/>.</summary>
313
public static
SolidColorBrush
LemonChiffon => lemonChiffon ??= new(Colors.LemonChiffon);
315
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.LightBlue"/>.</summary>
316
public static
SolidColorBrush
LightBlue => lightBlue ??= new(Colors.LightBlue);
318
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.LightCoral"/>.</summary>
319
public static
SolidColorBrush
LightCoral => lightCoral ??= new(Colors.LightCoral);
321
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.LightCyan"/>.</summary>
322
public static
SolidColorBrush
LightCyan => lightCyan ??= new(Colors.LightCyan);
324
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.LightGoldenrodYellow"/>.</summary>
325
public static
SolidColorBrush
LightGoldenrodYellow => lightGoldenrodYellow ??= new(Colors.LightGoldenrodYellow);
327
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.LightGray"/>.</summary>
328
public static
SolidColorBrush
LightGray => lightGray ??= new(Colors.LightGray);
329
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.LightGrey"/>.</summary>
330
public static
SolidColorBrush
LightGrey => LightGray;
332
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.LightGreen"/>.</summary>
333
public static
SolidColorBrush
LightGreen => lightGreen ??= new(Colors.LightGreen);
335
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.LightPink"/>.</summary>
336
public static
SolidColorBrush
LightPink => lightPink ??= new(Colors.LightPink);
338
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.LightSalmon"/>.</summary>
339
public static
SolidColorBrush
LightSalmon => lightSalmon ??= new(Colors.LightSalmon);
341
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.LightSeaGreen"/>.</summary>
342
public static
SolidColorBrush
LightSeaGreen => lightSeaGreen ??= new(Colors.LightSeaGreen);
344
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.LightSkyBlue"/>.</summary>
345
public static
SolidColorBrush
LightSkyBlue => lightSkyBlue ??= new(Colors.LightSkyBlue);
347
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.LightSlateGray"/>.</summary>
348
public static
SolidColorBrush
LightSlateGray => lightSlateGray ??= new(Colors.LightSlateGray);
349
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.LightSlateGrey"/>.</summary>
350
public static
SolidColorBrush
LightSlateGrey => LightSlateGray;
352
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.LightSteelBlue"/>.</summary>
353
public static
SolidColorBrush
LightSteelBlue => lightSteelBlue ??= new(Colors.LightSteelBlue);
355
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.LightYellow"/>.</summary>
356
public static
SolidColorBrush
LightYellow => lightYellow ??= new(Colors.LightYellow);
358
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.Lime"/>.</summary>
359
public static
SolidColorBrush
Lime => lime ??= new(Colors.Lime);
361
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.LimeGreen"/>.</summary>
362
public static
SolidColorBrush
LimeGreen => limeGreen ??= new(Colors.LimeGreen);
364
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.Linen"/>.</summary>
365
public static
SolidColorBrush
Linen => linen ??= new(Colors.Linen);
367
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.Magenta"/>.</summary>
368
public static
SolidColorBrush
Magenta => magenta ??= new(Colors.Magenta);
370
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.Maroon"/>.</summary>
371
public static
SolidColorBrush
Maroon => maroon ??= new(Colors.Maroon);
373
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.MediumAquamarine"/>.</summary>
374
public static
SolidColorBrush
MediumAquamarine => mediumAquararine ??= new(Colors.MediumAquamarine);
376
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.MediumBlue"/>.</summary>
377
public static
SolidColorBrush
MediumBlue => mediumBlue ??= new(Colors.MediumBlue);
379
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.MediumOrchid"/>.</summary>
380
public static
SolidColorBrush
MediumOrchid => mediumOrchid ??= new(Colors.MediumOrchid);
382
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.MediumPurple"/>.</summary>
383
public static
SolidColorBrush
MediumPurple => mediumPurple ??= new(Colors.MediumPurple);
385
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.MediumSeaGreen"/>.</summary>
386
public static
SolidColorBrush
MediumSeaGreen => mediumSeaGreen ??= new(Colors.MediumSeaGreen);
388
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.MediumSlateBlue"/>.</summary>
389
public static
SolidColorBrush
MediumSlateBlue => mediumSlateBlue ??= new(Colors.MediumSlateBlue);
391
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.MediumSpringGreen"/>.</summary>
392
public static
SolidColorBrush
MediumSpringGreen => mediumSpringGreen ??= new(Colors.MediumSpringGreen);
394
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.MediumTurquoise"/>.</summary>
395
public static
SolidColorBrush
MediumTurquoise => mediumTurquoise ??= new(Colors.MediumTurquoise);
397
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.MediumVioletRed"/>.</summary>
398
public static
SolidColorBrush
MediumVioletRed => mediumVioletRed ??= new(Colors.MediumVioletRed);
400
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.MidnightBlue"/>.</summary>
401
public static
SolidColorBrush
MidnightBlue => midnightBlue ??= new(Colors.MidnightBlue);
403
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.MintCream"/>.</summary>
404
public static
SolidColorBrush
MintCream => mintCream ??= new(Colors.MintCream);
406
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.MistyRose"/>.</summary>
407
public static
SolidColorBrush
MistyRose => mistyRose ??= new(Colors.MistyRose);
409
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.Moccasin"/>.</summary>
410
public static
SolidColorBrush
Moccasin => moccasin ??= new(Colors.Moccasin);
412
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.NavajoWhite"/>.</summary>
413
public static
SolidColorBrush
NavajoWhite => navajoWhite ??= new(Colors.NavajoWhite);
415
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.Navy"/>.</summary>
416
public static
SolidColorBrush
Navy => navy ??= new(Colors.Navy);
418
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.OldLace"/>.</summary>
419
public static
SolidColorBrush
OldLace => oldLace ??= new(Colors.OldLace);
421
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.Olive"/>.</summary>
422
public static
SolidColorBrush
Olive => olive ??= new(Colors.Olive);
424
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.OliveDrab"/>.</summary>
425
public static
SolidColorBrush
OliveDrab => oliveDrab ??= new(Colors.OliveDrab);
427
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.Orange"/>.</summary>
428
public static
SolidColorBrush
Orange => orange ??= new(Colors.Orange);
430
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.OrangeRed"/>.</summary>
431
public static
SolidColorBrush
OrangeRed => orangeRed ??= new(Colors.OrangeRed);
433
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.Orchid"/>.</summary>
434
public static
SolidColorBrush
Orchid => orchid ??= new(Colors.Orchid);
436
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.PaleGoldenrod"/>.</summary>
437
public static
SolidColorBrush
PaleGoldenrod => paleGoldenrod ??= new(Colors.PaleGoldenrod);
439
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.PaleGreen"/>.</summary>
440
public static
SolidColorBrush
PaleGreen => paleGreen ??= new(Colors.PaleGreen);
442
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.PaleTurquoise"/>.</summary>
443
public static
SolidColorBrush
PaleTurquoise => paleTurquoise ??= new(Colors.PaleTurquoise);
445
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.PaleVioletRed"/>.</summary>
446
public static
SolidColorBrush
PaleVioletRed => paleVioletRed ??= new(Colors.PaleVioletRed);
448
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.PapayaWhip"/>.</summary>
449
public static
SolidColorBrush
PapayaWhip => papayaWhip ??= new(Colors.PapayaWhip);
451
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.PeachPuff"/>.</summary>
452
public static
SolidColorBrush
PeachPuff => peachPuff ??= new(Colors.PeachPuff);
454
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.Peru"/>.</summary>
455
public static
SolidColorBrush
Peru => peru ??= new(Colors.Peru);
457
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.Pink"/>.</summary>
458
public static
SolidColorBrush
Pink => pink ??= new(Colors.Pink);
460
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.Plum"/>.</summary>
461
public static
SolidColorBrush
Plum => plum ??= new(Colors.Plum);
463
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.PowderBlue"/>.</summary>
464
public static
SolidColorBrush
PowderBlue => powderBlue ??= new(Colors.PowderBlue);
466
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.Purple"/>.</summary>
467
public static
SolidColorBrush
Purple => purple ??= new(Colors.Purple);
469
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.Red"/>.</summary>
470
public static
SolidColorBrush
Red => red ??= new(Colors.Red);
472
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.RosyBrown"/>.</summary>
473
public static
SolidColorBrush
RosyBrown => rosyBrown ??= new(Colors.RosyBrown);
475
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.RoyalBlue"/>.</summary>
476
public static
SolidColorBrush
RoyalBlue => royalBlue ??= new(Colors.RoyalBlue);
478
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.SaddleBrown"/>.</summary>
479
public static
SolidColorBrush
SaddleBrown => saddleBrown ??= new(Colors.SaddleBrown);
481
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.Salmon"/>.</summary>
482
public static
SolidColorBrush
Salmon => salmon ??= new(Colors.Salmon);
484
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.SandyBrown"/>.</summary>
485
public static
SolidColorBrush
SandyBrown => sandyBrown ??= new(Colors.SandyBrown);
487
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.SeaGreen"/>.</summary>
488
public static
SolidColorBrush
SeaGreen => seaGreen ??= new(Colors.SeaGreen);
490
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.SeaShell"/>.</summary>
491
public static
SolidColorBrush
SeaShell => seaShell ??= new(Colors.SeaShell);
493
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.Sienna"/>.</summary>
494
public static
SolidColorBrush
Sienna => sienna ??= new(Colors.Sienna);
496
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.Silver"/>.</summary>
497
public static
SolidColorBrush
Silver => silver ??= new(Colors.Silver);
499
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.SkyBlue"/>.</summary>
500
public static
SolidColorBrush
SkyBlue => skyBlue ??= new(Colors.SkyBlue);
502
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.SlateBlue"/>.</summary>
503
public static
SolidColorBrush
SlateBlue => slateBlue ??= new(Colors.SlateBlue);
505
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.SlateGray"/>.</summary>
506
public static
SolidColorBrush
SlateGray => slateGray ??= new(Colors.SlateGray);
507
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.SlateGrey"/>.</summary>
508
public static
SolidColorBrush
SlateGrey => SlateGray;
510
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.Snow"/>.</summary>
511
public static
SolidColorBrush
Snow => snow ??= new(Colors.Snow);
513
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.SpringGreen"/>.</summary>
514
public static
SolidColorBrush
SpringGreen => springGreen ??= new(Colors.SpringGreen);
516
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.SteelBlue"/>.</summary>
517
public static
SolidColorBrush
SteelBlue => steelBlue ??= new(Colors.SteelBlue);
519
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.Tan"/>.</summary>
520
public static
SolidColorBrush
Tan => tan ??= new(Colors.Tan);
522
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.Teal"/>.</summary>
523
public static
SolidColorBrush
Teal => teal ??= new(Colors.Teal);
525
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.Thistle"/>.</summary>
526
public static
SolidColorBrush
Thistle => thistle ??= new(Colors.Thistle);
528
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.Tomato"/>.</summary>
529
public static
SolidColorBrush
Tomato => tomato ??= new(Colors.Tomato);
531
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.Transparent"/>.</summary>
532
public static
SolidColorBrush
Transparent => transparent ??= new(Colors.Transparent);
534
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.Turquoise"/>.</summary>
535
public static
SolidColorBrush
Turquoise => turquoise ??= new(Colors.Turquoise);
537
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.Violet"/>.</summary>
538
public static
SolidColorBrush
Violet => violet ??= new(Colors.Violet);
540
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.Wheat"/>.</summary>
541
public static
SolidColorBrush
Wheat => wheat ??= new(Colors.Wheat);
543
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.White"/>.</summary>
544
public static
SolidColorBrush
White => white ??= new(Colors.White);
546
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.WhiteSmoke"/>.</summary>
547
public static
SolidColorBrush
WhiteSmoke => whiteSmoke ??= new(Colors.WhiteSmoke);
549
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.Yellow"/>.</summary>
550
public static
SolidColorBrush
Yellow => yellow ??= new(Colors.Yellow);
552
/// <summary>Gets a <see cref="
SolidColorBrush
"/> of the system-defined color <see cref="Colors.YellowGreen"/>.</summary>
553
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)
1090
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))