| File: Infrastructure\InternalGridContext.cs | Web Access |
| Project: src\aspnetcore\src\Components\QuickGrid\Microsoft.AspNetCore.Components.QuickGrid\src\Microsoft.AspNetCore.Components.QuickGrid.csproj (Microsoft.AspNetCore.Components.QuickGrid) |
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. namespace Microsoft.AspNetCore.Components.QuickGrid.Infrastructure; // The grid cascades this so that descendant columns can talk back to it. It's an internal type // so that it doesn't show up by mistake in unrelated components. internal sealed class InternalGridContext<TGridItem> { public QuickGrid<TGridItem> Grid { get; } public EventCallbackSubscribable<object?> ColumnsFirstCollected { get; } = new(); public InternalGridContext(QuickGrid<TGridItem> grid) { Grid = grid; } }