3 writes to Setters
Microsoft.Maui.Controls (3)
Shell\BaseShellItem.cs (2)
367
Setters
= {
375
Setters
= {
Style.cs (1)
33
Setters
= new List<Setter>();
26 references to Setters
Microsoft.Maui.Controls (26)
Compatibility\iOS\ResourcesProvider.cs (2)
56
result.
Setters
.Add(new Setter { Property = Label.FontSizeProperty, Value = (double)font.PointSize });
58
result.
Setters
.Add(new Setter { Property = Label.FontFamilyProperty, Value = font.Name });
Shell\BaseShellItem.cs (21)
416
defaultGridClass.
Setters
.Add(new Setter { Property = VisualStateManager.VisualStateGroupsProperty, Value = groups });
419
defaultGridClass.
Setters
.Add(new Setter { Property = Grid.HeightRequestProperty, Value = 50 });
421
defaultGridClass.
Setters
.Add(new Setter { Property = Grid.HeightRequestProperty, Value = 44 });
436
defaultGridClass.
Setters
.Add(new Setter { Property = Grid.ColumnDefinitionsProperty, Value = columnDefinitions });
439
defaultGridClass.
Setters
.Add(new Setter { Property = Element.AutomationIdProperty, Value = automationIdBinding });
468
defaultImageClass.
Setters
.Add(new Setter() { Property = Image.HeightRequestProperty, Value = sizeRequest });
469
defaultImageClass.
Setters
.Add(new Setter() { Property = Image.WidthRequestProperty, Value = sizeRequest });
474
defaultImageClass.
Setters
.Add(new Setter { Property = Image.HorizontalOptionsProperty, Value = LayoutOptions.Start });
475
defaultImageClass.
Setters
.Add(new Setter { Property = Image.MarginProperty, Value = new Thickness(12, 0, 12, 0) });
478
defaultImageClass.
Setters
.Add(new Setter { Property = Image.SourceProperty, Value = imageBinding });
483
defaultLabelClass.
Setters
.Add(new Setter { Property = Label.TextProperty, Value = labelBinding });
500
defaultLabelClass.
Setters
.Add(new Setter { Property = Label.FontSizeProperty, Value = 14 });
501
defaultLabelClass.
Setters
.Add(new Setter { Property = Label.TextColorProperty, Value = textColor });
502
defaultLabelClass.
Setters
.Add(new Setter { Property = Label.FontFamilyProperty, Value = "sans-serif-medium" });
503
defaultLabelClass.
Setters
.Add(new Setter { Property = Label.MarginProperty, Value = new Thickness(20, 0, 0, 0) });
507
defaultLabelClass.
Setters
.Add(new Setter { Property = Label.FontSizeProperty, Value = 14 });
508
defaultLabelClass.
Setters
.Add(new Setter { Property = Label.FontAttributesProperty, Value = FontAttributes.Bold });
512
defaultLabelClass.
Setters
.Add(new Setter { Property = Label.HorizontalOptionsProperty, Value = LayoutOptions.Start });
513
defaultLabelClass.
Setters
.Add(new Setter { Property = Label.HorizontalTextAlignmentProperty, Value = TextAlignment.Start });
517
defaultLabelClass.
Setters
.Add(new Setter { Property = Label.HorizontalOptionsProperty, Value = LayoutOptions.Start });
518
defaultLabelClass.
Setters
.Add(new Setter { Property = Label.HorizontalTextAlignmentProperty, Value = TextAlignment.Start });
Style.cs (3)
11
[ContentProperty(nameof(
Setters
))]
175
foreach (Setter setter in
Setters
)
190
foreach (Setter setter in
Setters
)