@namespace AntDesign
@inherits OverlayTrigger
@using AntDesign.Internal
@if (ChildContent != null)
{
@if (IsButton)
{
@buttons((this, ChildContent))
}
else
{
@ChildContent
}
}
@if (Unbound != null)
{
@if (IsButton)
{
@buttons((this, Unbound(default)))
}
else
{
@Unbound(RefBack)
}
}
@code {
RenderFragment<(Dropdown dropdown, RenderFragment childContent)> buttons = data => @
;
}