


    <Menu Mode=MenuMode.Horizontal Style="font-size: small;" TriggerSubMenuAction="Trigger.ContextMenu" >
        <AntDesign.SubMenu>
            <TitleTemplate>
                <span>
                    <Icon Type="folder" Theme="outline"></Icon>
                    <span>@Department.Name</span>
                </span>
            </TitleTemplate>
            <ChildContent>
                <MenuItem Icon="folder-add" OnClick="() => _OnCreate(Department)">添加</MenuItem>
                <MenuItem Icon="edit" OnClick="() =>_OnEdit(Department)">编辑</MenuItem>
                <MenuItem Icon="delete" OnClick="() => _OnDelete(Department)">删除</MenuItem>
            </ChildContent>
        </AntDesign.SubMenu>
    </Menu>
  


@*<Dropdown Trigger="@(new Trigger[] { Trigger.Click })">
    <Overlay>
        <MenuItem Icon="folder-add" OnClick="() => _OnCreate(Department)">添加</MenuItem>
        <MenuItem Icon="edit" OnClick="() =>_OnEdit(Department)">编辑</MenuItem>
        <MenuItem Icon="delete" OnClick="() => _OnDelete(Department)">删除</MenuItem>
    </Overlay>
    <Unbound>
        <div>@Department.Name<Icon Type="down" Style="float:right"/></div>
    </Unbound>
</Dropdown>*@

