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.
Maybe I''m going about this the wrong way. I''m trying to change the text in TextBox cells such that if the text must be truncated, that the truncated text is appended with elipsis (...).
To do this, I''ve created a model an renderer derived from the TextBox defaults. My hope was simply to calculate if the text needs truncation, and if so, calculate how much to show with the elipsis in the OnDraw() method.
The problem is that the base.OnDraw appears to get the text from GridCellModelBase.GetFormattedOrActiveTextAt().
This poses a problem since it''s not overrideable and I don''t know if I''ll have the information I need to calculate the text width.
Is there a simple way to do this before I go off and code the entire drawing code (which I REALLY, REALLY don''t want to have to do).
Thanks.
Pete