diff --git a/Source/Extensions/Blazorise.DataGrid/Contexts/ColumnChooserContext.cs b/Source/Extensions/Blazorise.DataGrid/Contexts/ColumnChooserContext.cs index 7d00efc485..a0d1c01d15 100644 --- a/Source/Extensions/Blazorise.DataGrid/Contexts/ColumnChooserContext.cs +++ b/Source/Extensions/Blazorise.DataGrid/Contexts/ColumnChooserContext.cs @@ -1,17 +1,28 @@ #region Using directives -#endregion using System.Collections.Generic; using Blazorise.DataGrid.EventArguments; using Microsoft.AspNetCore.Components; +#endregion + namespace Blazorise.DataGrid; +/// +/// Context for the column chooser. +/// +/// public class ColumnChooserContext { + /// + /// The list of columns that can be displayed. + /// public IEnumerable> Columns { get; private set; } - public EventCallback> ColumnDisplayChanged { get; private set; } + /// + /// The event that is raised when the column display changes. + /// + public EventCallback> ColumnDisplayChanged { get; private set; } public ColumnChooserContext( IEnumerable> columns, EventCallback> columnDisplayChanged ) {