@inherits RadzenComponentWithChildren

@if (Visible)
{
    <ul @ref=@Element style=@Style @attributes=@Attributes class=@GetCssClass() id=@GetId()
        role="menu" aria-label="@AriaLabel" tabindex="0"
        @onkeydown=@OnKeyPress
        @onkeydown:preventDefault=preventKeyPress @onkeydown:stopPropagation="stopKeydownPropagation"
        @onfocus=@this.AsNonRenderingEventHandler(OnFocus)>
        <CascadingValue Value=this>
            @ChildContent
        </CascadingValue>
    </ul>
}