38 writes to Property
Microsoft.Maui.Controls (38)
RadioButton\RadioButton.cs (6)
588
checkedVisualState.Setters.Add(new Setter() {
Property
= OpacityProperty, TargetName = CheckedIndicator, Value = 1 });
592
Property
= Shape.StrokeProperty,
599
Property
= Shape.StrokeProperty,
606
Property
= Shape.FillProperty,
613
uncheckedVisualState.Setters.Add(new Setter() {
Property
= OpacityProperty, TargetName = CheckedIndicator, Value = 0 });
618
Property
= Shape.StrokeProperty,
SettersExtensions.cs (3)
14
setters.Add(new Setter {
Property
= property, Value = value });
23
setters.Add(new Setter {
Property
= property, Value = binding });
31
setters.Add(new Setter {
Property
= property, Value = new DynamicResource(key) });
Shell\BaseShellItem.cs (25)
368
new Setter {
Property
= Label.VerticalTextAlignmentProperty, Value = TextAlignment.Center }
376
new Setter {
Property
= Image.VerticalOptionsProperty, Value = LayoutOptions.Center }
403
Property
= VisualElement.BackgroundColorProperty,
410
Property
= VisualElement.BackgroundColorProperty,
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 });
TitleBar\TitleBar.cs (4)
442
Property
= Label.OpacityProperty,
451
Property
= Label.OpacityProperty,
557
Property
= IsVisibleProperty,
567
Property
= IsVisibleProperty,
23 references to Property
Microsoft.Maui.Controls (19)
Setter.cs (19)
30
if (
Property
== null)
39
minfo =
Property
.DeclaringType.GetRuntimeProperty(
Property
.PropertyName);
43
throw new XamlParseException($"Multiple properties with name '{
Property
.DeclaringType}.{
Property
.PropertyName}' found.", serviceProvider, innerException: e);
49
return
Property
.DeclaringType.GetRuntimeMethod("Get" +
Property
.PropertyName, new[] { typeof(BindableObject) });
53
throw new XamlParseException($"Multiple methods with name '{
Property
.DeclaringType}.Get{
Property
.PropertyName}' found.", serviceProvider, innerException: e);
57
object value = valueconverter.Convert(Value,
Property
.ReturnType, minforetriever, serviceProvider);
74
if (
Property
== null)
78
targetObject.SetBinding(
Property
, binding.Clone(), specificity);
80
targetObject.SetDynamicResource(
Property
, dynamicResource.Key, specificity);
82
targetObject.SetValue(
Property
, visualStateGroupCollection.Clone(), specificity);
84
targetObject.SetValue(
Property
, Value, specificity: specificity);
98
if (
Property
== null)
101
targetObject.RemoveBinding(
Property
, specificity);
103
targetObject.RemoveDynamicResource(
Property
, specificity);
104
targetObject.ClearValue(
Property
, specificity);
Microsoft.Maui.Controls.Compatibility (1)
iOS\CollectionView\TemplatedCell.cs (1)
223
if (setter.
Property
.PropertyName == VisualElement.BackgroundColorProperty.PropertyName)
Microsoft.Maui.Controls.Xaml (3)
MarkupExtensions\AppThemeBindingExtension.cs (1)
65
bp = setter.
Property
;
MarkupExtensions\OnIdiomExtension.cs (1)
51
bp = setter.
Property
;
MarkupExtensions\OnPlatformExtension.cs (1)
62
bp = setter.
Property
;