56 references to ObservableCollection
Microsoft.AspNetCore.Routing (1)
DependencyInjection\RoutingServiceCollectionExtensions.cs (1)
70var dataSources = new ObservableCollection<EndpointDataSource>();
Microsoft.AspNetCore.Routing.Tests (2)
CompositeEndpointDataSourceTest.cs (2)
202var observableCollection = new ObservableCollection<EndpointDataSource> { dataSource1 }; 238var observableCollection = new ObservableCollection<EndpointDataSource> { dataSource1 };
Microsoft.Maui (1)
Primitives\LockableObservableListWrapper.cs (1)
14 public readonly ObservableCollection<string> _list = new ObservableCollection<string>();
Microsoft.Maui.Controls (18)
Cells\Cell.cs (1)
93 _contextActions = new ObservableCollection<MenuItem>();
Items\CarouselView.cs (1)
46 static readonly BindablePropertyKey VisibleViewsPropertyKey = BindableProperty.CreateReadOnly(nameof(VisibleViews), typeof(ObservableCollection<View>), typeof(CarouselView), null, defaultValueCreator: (b) => new ObservableCollection<View>());
LegacyLayouts\Layout.cs (1)
174 internal ObservableCollection<Element> InternalChildren { get; } = new ObservableCollection<Element>();
Menu\MenuBar.cs (1)
21 readonly ObservableCollection<IMenuBarItem> _menus = new ObservableCollection<IMenuBarItem>();
Menu\MenuFlyoutItem.cs (1)
16 var collection = new ObservableCollection<KeyboardAccelerator>();
Page\Page.cs (3)
88 var toolbarItems = new ObservableCollection<ToolbarItem>(); 92 var menuBarItems = new ObservableCollection<MenuBarItem>(); 210 public ObservableCollection<Element> InternalChildren { get; } = new ObservableCollection<Element>();
PointCollection.cs (1)
11 public PointCollection() : base()
ResourceDictionary.cs (1)
87 var col = new ObservableCollection<ResourceDictionary>();
Shell\BaseShellItem.cs (1)
28 protected private ObservableCollection<Element> DeclaredChildren { get; } = new ObservableCollection<Element>();
Shell\MenuItemCollection.cs (1)
12 ObservableCollection<MenuItem> _inner = new ObservableCollection<MenuItem>();
Shell\ShellElementCollection.cs (1)
285 var items = new ObservableCollection<TBaseShellItem>();
Shell\ShellFlyoutItemsManager.cs (1)
237 public ReadOnlyObservableCollectionWithSource() : this(new ObservableCollection<T>())
TableView\TableSection.cs (1)
15 readonly ObservableCollection<T> _children = new ObservableCollection<T>();
View\View.cs (2)
86 readonly ObservableCollection<IGestureRecognizer> _gestureRecognizers = new ObservableCollection<IGestureRecognizer>(); 189 _compositeGestureRecognizers = new ObservableCollection<IGestureRecognizer>();
VisualStateManager.cs (1)
606 Setters = new ObservableCollection<Setter>();
Microsoft.Maui.Controls.Maps (4)
Map.cs (2)
45 readonly ObservableCollection<Pin> _pins = new(); 46 readonly ObservableCollection<MapElement> _mapElements = new();
Polygon.cs (1)
39 var observable = new ObservableCollection<Location>();
Polyline.cs (1)
22 var observable = new ObservableCollection<Location>();
PresentationFramework (26)
MS\Internal\Annotations\AnnotationObservableCollection.cs (1)
40public AnnotationObservableCollection() : base()
MS\Internal\Annotations\XmlElementCollection.cs (1)
37public XmlElementCollection() : base()
MS\Internal\Data\CollectionViewGroupRoot.cs (1)
808private ObservableCollection<GroupDescription> _groupBy = new ObservableCollection<GroupDescription>();
MS\Internal\Data\CollectionViewProxy.cs (3)
886_liveSortingProperties = new ObservableCollection<string>(); 912_liveFilteringProperties = new ObservableCollection<string>(); 942_liveGroupingProperties = new ObservableCollection<string>();
MS\Internal\Data\EnumerableCollectionView.cs (1)
36_snapshot = new ObservableCollection<object>();
MS\Internal\Data\XmlDataCollection.cs (1)
33internal XmlDataCollection(XmlDataProvider xmlDataProvider) : base(new ObservableCollection<XmlNode>())
System\Windows\Annotations\Annotation.cs (1)
896_authors = new ObservableCollection<string>();
System\Windows\Controls\DataGrid.cs (1)
84_rowValidationRules = new ObservableCollection<ValidationRule>();
System\Windows\Controls\ItemCollection.cs (4)
676MyGroupDescriptions = new ObservableCollection<GroupDescription>(); 1359MyLiveSortingProperties = new ObservableCollection<string>(); 1392MyLiveFilteringProperties = new ObservableCollection<string>(); 1429MyLiveGroupingProperties = new ObservableCollection<string>();
System\Windows\Controls\ItemsControl.cs (1)
3997private ObservableCollection<GroupStyle> _groupStyle = new ObservableCollection<GroupStyle>();
System\Windows\Data\BindingListCollectionView.cs (3)
1179_liveSortingProperties = new ObservableCollection<string>(); 1200_liveFilteringProperties = new ObservableCollection<string>(); 1221_liveGroupingProperties = new ObservableCollection<string>();
System\Windows\Data\CollectionViewGroup.cs (1)
34_itemsRW = new ObservableCollection<object>();
System\Windows\Data\CollectionViewSource.cs (4)
41_groupBy = new ObservableCollection<GroupDescription>(); 352_liveSortingProperties = new ObservableCollection<string>(); 473_liveFilteringProperties = new ObservableCollection<string>(); 594_liveGroupingProperties = new ObservableCollection<string>();
System\Windows\Data\ListCollectionView.cs (3)
1474_liveSortingProperties = new ObservableCollection<string>(); 1496_liveFilteringProperties = new ObservableCollection<string>(); 1518_liveGroupingProperties = new ObservableCollection<string>();
System.ObjectModel (1)
System\Collections\ObjectModel\ReadOnlyObservableCollection.cs (1)
34public static new ReadOnlyObservableCollection<T> Empty { get; } = new ReadOnlyObservableCollection<T>(new ObservableCollection<T>());
System.Windows.Controls.Ribbon (3)
Microsoft\Windows\Controls\Ribbon\Ribbon.cs (2)
59private ObservableCollection<object> _tabHeaderItemsSource = new ObservableCollection<object>(); // ItemsSource for the headers items control. 431_tabGroupHeaders = new ObservableCollection<RibbonContextualTabGroup>();
Microsoft\Windows\Controls\Ribbon\RibbonGallery.cs (1)
3219private ObservableCollection<object> _categoryFilters = new ObservableCollection<object>();