mirror of
https://gitee.com/ant-design-blazor/ant-design-blazor.git
synced 2024-12-05 13:37:35 +08:00
24 lines
748 B
C#
24 lines
748 B
C#
|
// Licensed to the .NET Foundation under one or more agreements.
|
|||
|
// The .NET Foundation licenses this file to you under the MIT license.
|
|||
|
// See the LICENSE file in the project root for more information.
|
|||
|
|
|||
|
namespace AntDesign
|
|||
|
{
|
|||
|
public class SimpleTableHeader : ActionColumn
|
|||
|
{
|
|||
|
protected override void OnInitialized()
|
|||
|
{
|
|||
|
if (ColSpan != 1) HeaderColSpan = ColSpan;
|
|||
|
if (ChildContent != null) TitleTemplate = ChildContent;
|
|||
|
base.OnInitialized();
|
|||
|
}
|
|||
|
|
|||
|
protected override void OnParametersSet()
|
|||
|
{
|
|||
|
if (ColSpan != 1) HeaderColSpan = ColSpan;
|
|||
|
if (ChildContent != null) TitleTemplate = ChildContent;
|
|||
|
base.OnParametersSet();
|
|||
|
}
|
|||
|
}
|
|||
|
}
|