@namespace AntDesign @inherits AntDomComponentBase @typeparam TItem @using AntDesign.TableModels @if (IsBody) { @ChildContent } else if (IsHeader) { @ChildContent } @code { [Parameter] public RenderFragment ChildContent { get; set; } [CascadingParameter(Name = "IsHeader")] public bool IsHeader { get; set; } [CascadingParameter(Name = "IsBody")] public bool IsBody { get; set; } [CascadingParameter(Name = "RowData")] public RowData RowData { get; set; } [CascadingParameter(Name = "AntDesign.TableRow.RowAttributes")] public Dictionary RowAttributes { get; set; } [CascadingParameter(Name = "AntDesign.TableRow.RowClassName")] public string RowClassName { get; set; } }