@inherits RadzenComponentWithChildren
@ChildContent
@code {
    public override async Task SetParametersAsync(ParameterView parameters)
    {
        if (parameters.GetValueOrDefault<bool>(nameof(CanRender)))
        {
            await base.SetParametersAsync(parameters);
        }

        await Task.CompletedTask;
    }

    [Parameter]
    public bool CanRender { get; set; }
}
