mirror of
https://gitee.com/ant-design-blazor/ant-design-blazor.git
synced 2024-12-15 17:31:42 +08:00
542b66d383
* feat: refactor tree * feat: refactor tree Co-authored-by: James Yeung <shunjiey@hotmail.com>
28 lines
579 B
C#
28 lines
579 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Text;
|
|
using Microsoft.AspNetCore.Components;
|
|
|
|
namespace AntDesign
|
|
{
|
|
public partial class TreeIndent
|
|
{
|
|
/// <summary>
|
|
/// 树控件本身
|
|
/// </summary>
|
|
[CascadingParameter(Name = "Tree")]
|
|
public Tree TreeComponent { get; set; }
|
|
|
|
/// <summary>
|
|
/// 当前节点
|
|
/// </summary>
|
|
[CascadingParameter(Name = "SelfNode")]
|
|
public TreeNode SelfNode { get; set; }
|
|
|
|
[Parameter]
|
|
public int TreeLevel { get; set; }
|
|
|
|
|
|
}
|
|
}
|