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)
87 var toolbarItems = new ObservableCollection<ToolbarItem>(); 91 var menuBarItems = new ObservableCollection<MenuBarItem>(); 209 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)
27 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)
41public AnnotationObservableCollection() : base()
MS\Internal\Annotations\XmlElementCollection.cs (1)
38public XmlElementCollection() : base()
MS\Internal\Data\CollectionViewGroupRoot.cs (1)
810ObservableCollection<GroupDescription> _groupBy = new ObservableCollection<GroupDescription>();
MS\Internal\Data\CollectionViewProxy.cs (3)
887_liveSortingProperties = new ObservableCollection<string>(); 913_liveFilteringProperties = new ObservableCollection<string>(); 943_liveGroupingProperties = new ObservableCollection<string>();
MS\Internal\Data\EnumerableCollectionView.cs (1)
37_snapshot = new ObservableCollection<object>();
MS\Internal\Data\XmlDataCollection.cs (1)
34internal XmlDataCollection(XmlDataProvider xmlDataProvider) : base(new ObservableCollection<XmlNode>())
System\Windows\Annotations\Annotation.cs (1)
897_authors = new ObservableCollection<string>();
System\Windows\Controls\DataGrid.cs (1)
85_rowValidationRules = new ObservableCollection<ValidationRule>();
System\Windows\Controls\ItemCollection.cs (4)
678MyGroupDescriptions = new ObservableCollection<GroupDescription>(); 1361MyLiveSortingProperties = new ObservableCollection<string>(); 1394MyLiveFilteringProperties = new ObservableCollection<string>(); 1431MyLiveGroupingProperties = new ObservableCollection<string>();
System\Windows\Controls\ItemsControl.cs (1)
3998private ObservableCollection<GroupStyle> _groupStyle = new ObservableCollection<GroupStyle>();
System\Windows\Data\BindingListCollectionView.cs (3)
1180_liveSortingProperties = new ObservableCollection<string>(); 1201_liveFilteringProperties = new ObservableCollection<string>(); 1222_liveGroupingProperties = new ObservableCollection<string>();
System\Windows\Data\CollectionViewGroup.cs (1)
35_itemsRW = new ObservableCollection<object>();
System\Windows\Data\CollectionViewSource.cs (4)
42_groupBy = new ObservableCollection<GroupDescription>(); 353_liveSortingProperties = new ObservableCollection<string>(); 474_liveFilteringProperties = new ObservableCollection<string>(); 595_liveGroupingProperties = new ObservableCollection<string>();
System\Windows\Data\ListCollectionView.cs (3)
1475_liveSortingProperties = new ObservableCollection<string>(); 1497_liveFilteringProperties = new ObservableCollection<string>(); 1519_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)
60private ObservableCollection<object> _tabHeaderItemsSource = new ObservableCollection<object>(); // ItemsSource for the headers items control. 432_tabGroupHeaders = new ObservableCollection<RibbonContextualTabGroup>();
Microsoft\Windows\Controls\Ribbon\RibbonGallery.cs (1)
3226private ObservableCollection<object> _categoryFilters = new ObservableCollection<object>();