/// <inheritdoc/>
 protected override void OnInitialized()
 {
     base.OnInitialized();
     StateDescriptions = XSfComponent.GetStateDescriptions();
 }
 /// <summary>
 /// A tooltip handler that allows conditionally showing component's tooltip with errors as needed.
 /// </summary>
 /// <param name="args">Tooltip arguments.</param>
 protected void OnTooltipOpen(TooltipEventArgs args) => XSfComponent.ShowTooltipError(this, args);