ant-design-blazor/components/tree/IRendered.cs
imhmao f904676578 feat(module: tree): add expandAll and collapseAll method (#941)
* Tree:
1.add new node action
2.fixed data sort selection issue
3.add Expand() Collapse() Toggle()

* fixed Tree.OnRendered summary

* remove the `Is` prefix

* refactor(tree): renaming

Co-authored-by: 王的强 <wdq@sinotex.cn>
Co-authored-by: ElderJames <shunjiey@hotmail.com>
2021-01-07 00:41:26 +08:00

22 lines
557 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.
using System;
namespace AntDesign
{
public interface IRendered<TItem>
{
/// <summary>
/// 渲染完成后
/// </summary>
Action OnRendered { get; set; }
/// <summary>
/// 新节点数据,用于展开并选择新节点
/// </summary>
TItem NewChildData { get; set; }
}
}