using DevExpress.Blazor;
using Microsoft.AspNetCore.Components;
namespace AyCode.Blazor.Components.Components.Grids;
///
/// Extended DxGridDataColumn with additional parameters for InfoPanel support.
///
public class MgGridDataColumn : DxGridDataColumn
{
///
/// Whether this column should be visible in the InfoPanel. Default is true.
///
[Parameter]
public bool ShowInInfoPanel { get; set; } = true;
///
/// Custom display format for InfoPanel (overrides DisplayFormat if set).
///
[Parameter]
public string? InfoPanelDisplayFormat { get; set; }
///
/// Column order in InfoPanel (lower = earlier). Default is int.MaxValue.
///
[Parameter]
public int InfoPanelOrder { get; set; } = int.MaxValue;
}