private void EnsureRootComponent() { if (rootComponent is not null) { return; } // add a Telerik Root Component to hold all Telerik components and other content rootComponent = (IRenderedComponent <TelerikRootComponent>)Renderer.RenderComponent <TelerikRootComponent>(new ComponentParameterCollection()); // provide the Telerik Root Component to the child components that need it (the Telerik components) RenderTree.TryAdd <CascadingValue <TelerikRootComponent> >(p => { p.Add(parameters => parameters.IsFixed, true); p.Add(parameters => parameters.Value, RootComponent.Instance); }); }