How to remove the outline’s label buttons in SfSpreadsheet?
SfSpreadsheet provides support to remove the outline’s label buttons by creating the custom OutlinesPanel and overriding the AddOutlineLabelButtons method like below.
C#
public class OutlinesPanelExt : OutlinesPanel { protected override void AddOutlineLabelButtons(WorksheetImpl worksheetImpl) { return; } }
Then you need to replace the default OutlinesPanel with this custom OutlinesPanelExt into the ControlTemplate of SfSpreadsheet. Please refer the App.xaml file of the attached sample.
The following screenshot illustrates the OutlinesPanel and Outline label buttons of SfSpreadsheet.
The following screenshot illustrates the SfSpreadsheet after removing the Outline label buttons.
Sample links: