protected override void OnInitialized() { // link to the parent component BarDropdown?.Hook(this); base.OnInitialized(); }