1 write to PropertyName
Microsoft.Maui.Controls (1)
BindableProperty.cs (1)
101
PropertyName
= propertyName;
217 references to PropertyName
Microsoft.Maui.Controls (200)
BindableLayout\BindableLayout.cs (2)
301
throw new NotSupportedException($"You are using an instance of {nameof(DataTemplateSelector)} to set the {nameof(BindableLayout)}.{BindableLayout.ItemTemplateProperty.
PropertyName
} property. Use {nameof(BindableLayout)}.{BindableLayout.ItemTemplateSelectorProperty.
PropertyName
} property instead to set an item template selector");
BindableObject.cs (11)
89
Application.Current?.FindMauiContext()?.CreateLogger<BindableObject>()?.LogWarning($"Cannot set the BindableProperty \"{property.
PropertyName
}\" because it is readonly.");
103
Application.Current?.FindMauiContext()?.CreateLogger<BindableObject>()?.LogWarning($"Cannot set the BindableProperty \"{property.
PropertyName
}\" because it is readonly.");
142
OnPropertyChanging(property.
PropertyName
);
298
Application.Current?.FindMauiContext()?.CreateLogger<BindableObject>()?.LogWarning($"Cannot set the a OneWay Binding \"{targetProperty.
PropertyName
}\" because it is readonly.");
493
Application.Current?.FindMauiContext()?.CreateLogger<BindableObject>()?.LogWarning($"Cannot set the BindableProperty \"{property.
PropertyName
}\" because it is readonly.");
521
Application.Current?.FindMauiContext()?.CreateLogger<BindableObject>()?.LogWarning($"Cannot set the BindableProperty \"{property.
PropertyName
}\" because it is readonly.");
568
Application.Current?.FindMauiContext()?.CreateLogger<BindableObject>()?.LogWarning($"Value is an invalid value for {property.
PropertyName
}");
642
OnPropertyChanging(property.
PropertyName
);
675
OnPropertyChanged(property.
PropertyName
);
819
throw new InvalidOperationException($"The BindableProperty \"{property.
PropertyName
}\" is readonly.");
828
throw new ArgumentException($"Value is an invalid value for {property.
PropertyName
}", nameof(currentValue));
BindablePropertyConverter.cs (2)
105
if (bp.
PropertyName
!= propertyName && !isObsolete)
166
return $"{bp.DeclaringType.Name}.{bp.
PropertyName
}";
BindingExpression.cs (1)
153
BindingDiagnostics.SendBindingFailure(Binding, current, target, property, "Binding", PropertyNotFoundErrorMessage, part.Content, current, target.GetType(), property.
PropertyName
);
Border\Border.cs (3)
312
if (propertyName == StrokeThicknessProperty.
PropertyName
|| propertyName == StrokeShapeProperty.
PropertyName
)
317
else if (propertyName == StrokeDashArrayProperty.
PropertyName
)
BoxView\BoxView.cs (5)
58
if (propertyName == BackgroundColorProperty.
PropertyName
||
59
propertyName == ColorProperty.
PropertyName
||
60
propertyName == IsVisibleProperty.
PropertyName
||
61
propertyName == BackgroundProperty.
PropertyName
||
62
propertyName == CornerRadiusProperty.
PropertyName
)
Button\Button.cs (4)
411
void IImageElement.RaiseImageSourcePropertyChanged() => OnPropertyChanged(ImageSourceProperty.
PropertyName
);
476
if (propertyName == BorderColorProperty.
PropertyName
)
478
else if (propertyName == BorderWidthProperty.
PropertyName
)
480
else if (propertyName == ImageSourceProperty.
PropertyName
)
Cells\Cell.cs (5)
48
OnPropertyChanged(VisualElement.FlowDirectionProperty.
PropertyName
);
62
OnPropertyChanged(VisualElement.VisualProperty.
PropertyName
);
82
OnPropertyChanged(VisualElement.WindowProperty.
PropertyName
);
292
else if (e.PropertyName == VisualElement.FlowDirectionProperty.
PropertyName
||
293
e.PropertyName == VisualElement.VisualProperty.
PropertyName
)
Cells\ImageCell.cs (1)
43
OnPropertyChanged(ImageSourceProperty.
PropertyName
);
DataTemplate.cs (1)
84
throw new InvalidOperationException("Binding and Value found for " + kvp.Key.
PropertyName
);
Element\Element.cs (3)
639
_pendingHandlerUpdatesFromBPSet.Add(property.
PropertyName
);
643
_pendingHandlerUpdatesFromBPSet.Remove(property.
PropertyName
);
644
UpdateHandlerValue(property.
PropertyName
, changed);
Element\Element.Mapper.cs (2)
13
ViewHandler.ViewMapper.ReplaceMapping<Maui.IElement, IElementHandler>(AutomationProperties.IsInAccessibleTreeProperty.
PropertyName
, MapAutomationPropertiesIsInAccessibleTree);
14
ViewHandler.ViewMapper.ReplaceMapping<Maui.IElement, IElementHandler>(AutomationProperties.ExcludedWithChildrenProperty.
PropertyName
, MapAutomationPropertiesExcludedWithChildren);
FileImageSource.cs (1)
47
if (propertyName == FileProperty.
PropertyName
)
Handlers\Items\CarouselViewHandler.cs (5)
20
[Controls.CarouselView.IsSwipeEnabledProperty.
PropertyName
] = MapIsSwipeEnabled,
21
[Controls.CarouselView.PeekAreaInsetsProperty.
PropertyName
] = MapPeekAreaInsets,
22
[Controls.CarouselView.IsBounceEnabledProperty.
PropertyName
] = MapIsBounceEnabled,
23
[Controls.CarouselView.PositionProperty.
PropertyName
] = MapPosition,
24
[Controls.CarouselView.CurrentItemProperty.
PropertyName
] = MapCurrentItem
Handlers\Items\GroupableItemsViewHandler.cs (1)
22
[GroupableItemsView.IsGroupedProperty.
PropertyName
] = MapIsGrouped,
Handlers\Items\ItemsViewHandler.cs (9)
23
[Controls.ItemsView.ItemsSourceProperty.
PropertyName
] = MapItemsSource,
24
[Controls.ItemsView.HorizontalScrollBarVisibilityProperty.
PropertyName
] = MapHorizontalScrollBarVisibility,
25
[Controls.ItemsView.VerticalScrollBarVisibilityProperty.
PropertyName
] = MapVerticalScrollBarVisibility,
26
[Controls.ItemsView.ItemTemplateProperty.
PropertyName
] = MapItemTemplate,
27
[Controls.ItemsView.EmptyViewProperty.
PropertyName
] = MapEmptyView,
28
[Controls.ItemsView.EmptyViewTemplateProperty.
PropertyName
] = MapEmptyViewTemplate,
29
[Controls.ItemsView.FlowDirectionProperty.
PropertyName
] = MapFlowDirection,
30
[Controls.ItemsView.IsVisibleProperty.
PropertyName
] = MapIsVisible,
31
[Controls.ItemsView.ItemsUpdatingScrollModeProperty.
PropertyName
] = MapItemsUpdatingScrollMode
Handlers\Items\ReorderableItemsViewHandler.cs (1)
22
[ReorderableItemsView.CanReorderItemsProperty.
PropertyName
] = MapCanReorderItems,
Handlers\Items\SelectableItemsViewHandler.cs (3)
23
[SelectableItemsView.SelectedItemProperty.
PropertyName
] = MapSelectedItem,
24
[SelectableItemsView.SelectedItemsProperty.
PropertyName
] = MapSelectedItems,
25
[SelectableItemsView.SelectionModeProperty.
PropertyName
] = MapSelectionMode,
Handlers\Items\StructuredItemsViewHandler.cs (6)
28
[StructuredItemsView.HeaderTemplateProperty.
PropertyName
] = MapHeaderTemplate,
29
[StructuredItemsView.FooterTemplateProperty.
PropertyName
] = MapFooterTemplate,
30
[StructuredItemsView.HeaderProperty.
PropertyName
] = MapHeaderTemplate,
31
[StructuredItemsView.FooterProperty.
PropertyName
] = MapFooterTemplate,
32
[StructuredItemsView.ItemsLayoutProperty.
PropertyName
] = MapItemsLayout,
33
[StructuredItemsView.ItemSizingStrategyProperty.
PropertyName
] = MapItemSizingStrategy
ImageButton\ImageButton.cs (2)
256
if (propertyName == BorderWidthProperty.
PropertyName
)
258
else if (propertyName == BorderColorProperty.
PropertyName
)
IndicatorView\IndicatorStackLayout.cs (8)
34
if (e.PropertyName == IndicatorView.IndicatorsShapeProperty.
PropertyName
35
|| e.PropertyName == IndicatorView.IndicatorTemplateProperty.
PropertyName
)
39
if (e.PropertyName == IndicatorView.MaximumVisibleProperty.
PropertyName
40
|| e.PropertyName == IndicatorView.PositionProperty.
PropertyName
41
|| e.PropertyName == IndicatorView.HideSingleProperty.
PropertyName
42
|| e.PropertyName == IndicatorView.IndicatorColorProperty.
PropertyName
43
|| e.PropertyName == IndicatorView.SelectedIndicatorColorProperty.
PropertyName
44
|| e.PropertyName == IndicatorView.IndicatorSizeProperty.
PropertyName
)
Interactivity\PropertyCondition.cs (5)
42
return Property.DeclaringType.GetRuntimeProperty(Property.
PropertyName
);
46
throw new XamlParseException($"Multiple properties with name '{Property.DeclaringType}.{Property.
PropertyName
}' found.", new XmlLineInfo(), innerException: e);
72
return Property.DeclaringType.GetRuntimeProperty(Property.
PropertyName
);
76
throw new XamlParseException($"Multiple properties with name '{Property.DeclaringType}.{Property.
PropertyName
}' found.", new XmlLineInfo(), innerException: e);
113
if (e.PropertyName != Property.
PropertyName
)
Internals\PropertyPropagationExtensions.cs (9)
11
if (propertyName == null || propertyName == VisualElement.FlowDirectionProperty.
PropertyName
)
14
if (propertyName == null || propertyName == VisualElement.VisualProperty.
PropertyName
)
17
if (propertyName == null || propertyName == VisualElement.WindowProperty.
PropertyName
)
20
if (propertyName == null || propertyName == Shell.NavBarHasShadowProperty.
PropertyName
)
23
if (propertyName == null || propertyName == Shell.TabBarIsVisibleProperty.
PropertyName
)
26
if (propertyName == null || propertyName == Shell.NavBarIsVisibleProperty.
PropertyName
)
39
if (propertyName == null || propertyName == VisualElement.FlowDirectionProperty.
PropertyName
)
42
if (propertyName == null || propertyName == VisualElement.VisualProperty.
PropertyName
)
45
if (propertyName == null || propertyName == VisualElement.WindowProperty.
PropertyName
)
Items\SelectableItemsView.cs (1)
149
OnPropertyChanged(SelectedItemsProperty.
PropertyName
);
LegacyLayouts\AbsoluteLayout.cs (2)
154
if (e.PropertyName == LayoutFlagsProperty.
PropertyName
|| e.PropertyName == LayoutBoundsProperty.
PropertyName
)
LegacyLayouts\FlexLayout.cs (5)
362
if (e.PropertyName == WidthRequestProperty.
PropertyName
363
|| e.PropertyName == HeightRequestProperty.
PropertyName
)
374
if (e.PropertyName == MarginProperty.
PropertyName
)
388
if (e.PropertyName == PaddingProperty.
PropertyName
)
402
if (e.PropertyName == IsVisibleProperty.
PropertyName
)
LegacyLayouts\Grid.cs (4)
256
if (e.PropertyName == ColumnProperty.
PropertyName
|| e.PropertyName == ColumnSpanProperty.
PropertyName
|| e.PropertyName == RowProperty.
PropertyName
||
257
e.PropertyName == RowSpanProperty.
PropertyName
)
Menu\MenuItem.cs (3)
172
if (propertyName == null || propertyName == IsEnabledProperty.
PropertyName
)
185
ppc.PropagatePropertyChanged(IsEnabledProperty.
PropertyName
);
199
OnPropertyChanged(IconImageSourceProperty.
PropertyName
);
Menu\MenuItemTracker.cs (2)
170
if (propertyChangedEventArgs.PropertyName == NavigationPage.CurrentPageProperty.
PropertyName
||
171
propertyChangedEventArgs.PropertyName == FlyoutPage.IsPresentedProperty.
PropertyName
||
MultiPage.cs (2)
147
if (propertyName == ItemsSourceProperty.
PropertyName
)
149
else if (propertyName == SelectedItemProperty.
PropertyName
)
PropertyChangedEventArgsExtensions.cs (15)
15
return args.PropertyName == property.
PropertyName
;
24
return args.PropertyName == p0.
PropertyName
||
25
args.PropertyName == p1.
PropertyName
;
34
return args.PropertyName == p0.
PropertyName
||
35
args.PropertyName == p1.
PropertyName
||
36
args.PropertyName == p2.
PropertyName
;
45
return args.PropertyName == p0.
PropertyName
||
46
args.PropertyName == p1.
PropertyName
||
47
args.PropertyName == p2.
PropertyName
||
48
args.PropertyName == p3.
PropertyName
;
57
return args.PropertyName == p0.
PropertyName
||
58
args.PropertyName == p1.
PropertyName
||
59
args.PropertyName == p2.
PropertyName
||
60
args.PropertyName == p3.
PropertyName
||
61
args.PropertyName == p4.
PropertyName
;
RadioButton\RadioButton.cs (1)
632
Application.Current?.FindMauiContext()?.CreateLogger<RadioButton>()?.LogWarning("Warning - {RuntimePlatform} does not support View as the {PropertyName} property of RadioButton; the return value of the ToString() method will be displayed instead.", DeviceInfo.Platform, ContentProperty.
PropertyName
);
RefreshView\RefreshView.cs (1)
136
if (IsEnabledProperty.
PropertyName
== propertyName &&
Setter.cs (4)
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);
Shapes\Ellipse.cs (4)
21
if (propertyName == XProperty.
PropertyName
||
22
propertyName == YProperty.
PropertyName
||
23
propertyName == WidthProperty.
PropertyName
||
24
propertyName == HeightProperty.
PropertyName
)
Shapes\Line.cs (4)
72
if (propertyName == X1Property.
PropertyName
||
73
propertyName == Y1Property.
PropertyName
||
74
propertyName == X2Property.
PropertyName
||
75
propertyName == Y2Property.
PropertyName
)
Shapes\Path.cs (2)
91
if (args.PropertyName == Transform.ValueProperty.
PropertyName
)
102
if (propertyName == DataProperty.
PropertyName
)
Shapes\Polygon.cs (2)
48
if (propertyName == PointsProperty.
PropertyName
||
49
propertyName == FillRuleProperty.
PropertyName
)
Shapes\Polyline.cs (2)
47
if (propertyName == PointsProperty.
PropertyName
||
48
propertyName == FillRuleProperty.
PropertyName
)
Shapes\Rectangle.cs (2)
44
if (propertyName == RadiusXProperty.
PropertyName
||
45
propertyName == RadiusYProperty.
PropertyName
)
Shapes\RoundRectangle.cs (1)
52
if (propertyName == CornerRadiusProperty.
PropertyName
)
Shell\BaseShellItem.cs (3)
210
OnPropertyChanged(VisualElement.VisualProperty.
PropertyName
);
242
if (propertyName == Shell.ItemTemplateProperty.
PropertyName
|| propertyName == nameof(Parent))
288
OnPropertyChanged(VisualElement.FlowDirectionProperty.
PropertyName
);
Shell\MenuShellItem.cs (5)
32
if (e.PropertyName == Shell.MenuItemTemplateProperty.
PropertyName
)
34
else if (e.PropertyName == TitleProperty.
PropertyName
)
35
OnPropertyChanged(MenuItem.TextProperty.
PropertyName
);
36
else if (e.PropertyName == Shell.FlyoutItemIsVisibleProperty.
PropertyName
)
45
else if (propertyName == Shell.FlyoutItemIsVisibleProperty.
PropertyName
&& MenuItem != null)
Shell\Shell.cs (5)
77
shell?.OnPropertyChanged(NavBarIsVisibleProperty.
PropertyName
);
894
if (e.PropertyName == CurrentItemProperty.
PropertyName
)
1603
CurrentItem?.Handler?.UpdateValue(Shell.TabBarIsVisibleProperty.
PropertyName
);
1613
CurrentItem?.Handler?.UpdateValue(Shell.TabBarIsVisibleProperty.
PropertyName
);
2000
if (propertyName == Shell.FlyoutIsPresentedProperty.
PropertyName
)
Shell\ShellContent.cs (2)
187
if (e.PropertyName == Page.IsVisibleProperty.
PropertyName
)
266
if (propertyName == WindowProperty.
PropertyName
)
StreamImageSource.cs (1)
28
if (propertyName == StreamProperty.
PropertyName
)
StyleSheets\Style.cs (4)
104
minfo = property.DeclaringType.GetRuntimeProperty(property.
PropertyName
);
108
throw new XamlParseException($"Multiple properties with name '{property.DeclaringType}.{property.
PropertyName
}' found.", serviceProvider, innerException: e);
114
return property.DeclaringType.GetRuntimeMethod("Get" + property.
PropertyName
, new[] { typeof(BindableObject) });
118
throw new XamlParseException($"Multiple methods with name '{property.DeclaringType}.Get{property.
PropertyName
}' found.", serviceProvider, innerException: e);
SwipeView\SwipeView.cs (2)
280
if (e.PropertyName == IsEnabledProperty.
PropertyName
)
282
else if (e.PropertyName == MarginProperty.
PropertyName
)
Switch\Switch.cs (1)
88
if (propertyName == IsToggledProperty.
PropertyName
)
TabbedPage\TabbedPage.cs (3)
110
Handler?.UpdateValue(TabbedPage.ItemsSourceProperty.
PropertyName
);
127
if (e.PropertyName == Page.TitleProperty.
PropertyName
)
128
Handler?.UpdateValue(TabbedPage.ItemsSourceProperty.
PropertyName
);
TableView\TableRoot.cs (2)
34
if (propertyChangedEventArgs.PropertyName == TitleProperty.
PropertyName
)
36
OnPropertyChanged(TitleProperty.
PropertyName
);
TableView\TableView.cs (1)
167
if (e.PropertyName == TableSectionBase.TitleProperty.
PropertyName
)
TemplatedItemsList.cs (7)
670
if (_itemSourceProperty != null && e.PropertyName == _itemSourceProperty.
PropertyName
)
672
else if (e.PropertyName == _itemTemplateProperty.
PropertyName
)
674
else if (ProgressiveLoadingProperty != null && e.PropertyName == ProgressiveLoadingProperty.
PropertyName
)
676
else if (GroupHeaderTemplateProperty != null && e.PropertyName == GroupHeaderTemplateProperty.
PropertyName
)
678
else if (IsGroupingEnabledProperty != null && e.PropertyName == IsGroupingEnabledProperty.
PropertyName
)
1311
if (e.PropertyName != ShortNameProperty.
PropertyName
)
1325
if (e.PropertyName != ShortNameProperty.
PropertyName
)
VisualElement\VisualElement.cs (11)
203
OnPropertyChanged(VisualProperty.
PropertyName
);
474
OnPropertyChanged(FlowDirectionProperty.
PropertyName
);
1609
(self as IPropertyPropagationController)?.PropagatePropertyChanged(VisualElement.VisualProperty.
PropertyName
);
1629
(bindable as IPropertyPropagationController)?.PropagatePropertyChanged(VisualElement.FlowDirectionProperty.
PropertyName
);
1652
(bindable as IPropertyPropagationController)?.PropagatePropertyChanged(VisualElement.IsEnabledProperty.
PropertyName
);
1668
(bindable as IPropertyPropagationController)?.PropagatePropertyChanged(VisualElement.InputTransparentProperty.
PropertyName
);
1727
if (propertyName == null || propertyName == IsEnabledProperty.
PropertyName
)
1730
if (propertyName == null || propertyName == InputTransparentProperty.
PropertyName
)
1754
(this as IPropertyPropagationController)?.PropagatePropertyChanged(VisualElement.InputTransparentProperty.
PropertyName
);
2013
if (valueChanged && this.Batched && (property == HeightProperty.
PropertyName
|| property == WidthProperty.
PropertyName
))
VisualElement\VisualElement.Mapper.cs (3)
28
viewMapper.ReplaceMapping<IView, IViewHandler>(SemanticProperties.DescriptionProperty.
PropertyName
, MapSemanticPropertiesDescriptionProperty);
29
viewMapper.ReplaceMapping<IView, IViewHandler>(SemanticProperties.HintProperty.
PropertyName
, MapSemanticPropertiesHintProperty);
30
viewMapper.ReplaceMapping<IView, IViewHandler>(SemanticProperties.HeadingLevelProperty.
PropertyName
, MapSemanticPropertiesHeadingLevelProperty);
WebView\WebView.cs (1)
229
OnPropertyChanged(SourceProperty.
PropertyName
);
Window\Window.cs (2)
365
OnPropertyChanged(FlowDirectionProperty.
PropertyName
);
383
FlowDirectionProperty.
PropertyName
,
Microsoft.Maui.Controls.Maps (2)
Map.cs (2)
288
$"The {nameof(Map)}.{ItemTemplateProperty.
PropertyName
} property only supports {nameof(DataTemplate)}." +
289
$" Set the {nameof(Map)}.{ItemTemplateSelectorProperty.
PropertyName
} property instead to use a {nameof(DataTemplateSelector)}");
Microsoft.Maui.Controls.Xaml (15)
ApplyPropertiesVisitor.cs (3)
593
return property.DeclaringType.GetRuntimeMethod("Get" + property.
PropertyName
, new[] { typeof(BindableObject) });
597
throw new XamlParseException($"Multiple methods with name '{property.DeclaringType}.Get{property.
PropertyName
}' found.", lineInfo, innerException: e);
601
minforetriever = () => property.DeclaringType.GetRuntimeProperties().FirstOrDefault(pi => pi.Name == property.
PropertyName
);
MarkupExtensions\AppThemeBindingExtension.cs (4)
85
minfo = bp.DeclaringType.GetRuntimeProperty(bp.
PropertyName
);
89
throw new XamlParseException($"Multiple properties with name '{bp.DeclaringType}.{bp.
PropertyName
}' found.", serviceProvider, innerException: e);
95
return bp.DeclaringType.GetRuntimeMethod("Get" + bp.
PropertyName
, new[] { typeof(BindableObject) });
99
throw new XamlParseException($"Multiple methods with name '{bp.DeclaringType}.Get{bp.
PropertyName
}' found.", serviceProvider, innerException: e);
MarkupExtensions\OnIdiomExtension.cs (4)
80
minfo = bp.DeclaringType.GetRuntimeProperty(bp.
PropertyName
);
84
throw new XamlParseException($"Multiple properties with name '{bp.DeclaringType}.{bp.
PropertyName
}' found.", serviceProvider, innerException: e);
90
return bp.DeclaringType.GetRuntimeMethod("Get" + bp.
PropertyName
, new[] { typeof(BindableObject) });
94
throw new XamlParseException($"Multiple methods with name '{bp.DeclaringType}.Get{bp.
PropertyName
}' found.", serviceProvider, innerException: e);
MarkupExtensions\OnPlatformExtension.cs (4)
102
minfo = bp.DeclaringType.GetRuntimeProperty(bp.
PropertyName
);
106
throw new XamlParseException($"Multiple properties with name '{bp.DeclaringType}.{bp.
PropertyName
}' found.", serviceProvider, innerException: e);
112
return bp.DeclaringType.GetRuntimeMethod("Get" + bp.
PropertyName
, new[] { typeof(BindableObject) });
116
throw new XamlParseException($"Multiple methods with name '{bp.DeclaringType}.Get{bp.
PropertyName
}' found.", serviceProvider, innerException: e);