Unplanned
Last Updated: 13 Aug 2026 08:04 by ADMIN
Dinko
Created on: 13 Aug 2026 08:03
Category: UI for WinForms
Type: Bug Report
0
Spreadsheet: IsAIButtonVisible property is not respected
IsAIButtonVisible property is not respected as there is no binding to the ribbon group it is meant to hide when set to False.
 


The committed RadSpreadsheetRibbon_style.xaml renders the AI group unconditionally:


<telerikRibbon:RadRibbonGroup Header="AI">

Workaround: 

private void HideAIButton()
{
    var aiButton = this.spreadsheetRibbon
        .ChildrenOfType<RadRibbonButton>()
        .FirstOrDefault(b => b.Text == "AI Tools");
    if (aiButton == null)
    {
        return;
    }

    var aiGroup = aiButton.ParentOfType<RadRibbonGroup>();
    if (aiGroup != null)
    {
        aiGroup.Visibility = Visibility.Collapsed;
    }
    else
    {
        aiButton.Visibility = Visibility.Collapsed;
    }
}


0 comments