The Syncfusion native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
Takes the sample codes from TreeViewAdv Styles installed along with the Syncfusion Studio 8.3.0.21 (Windows Forms Sample Browser), it's good that the TreeNodeAdv can be styled.
But the issue is: if the new font requires more size than the default font of the control, the extra spaces are not counted while calculating the scroll bar etc.
Sample code: Adding the following line in the sample TreeNodeAdvStyleInfo panthers = this.treeViewAdv1.BaseStyles["Panthers"] as TreeNodeAdvStyleInfo; // The following line is I added to ensure that the new font in style requires more space. panthers.Font = new Font("Courier New", 8, FontStyle.Bold);
Then, run the sample, and select the node with the style, you will find that the bound is calculated based on the old font of the control, not the font in the style.
Also, if the node text is just longer enough to exceed the horizontal space of the tree view, then, the horizontal scroll bar not shown.
I believe it may be because the width is not calculated based on the default font only instead of the real font used in style.
In general, it may be required a feature to change the width of the TreeNodeAdv. Currently, only the height can be changed, and no way to change the width, it's wired.