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.
While implementing a GridDataBoundGrid on our form, I realise that the Renderer property of the CurrentCell have two similar properties, which are Control.Text and ControlText. Is there a difference between them?
RCRajadurai C Syncfusion Team July 10, 2009 03:22 PM UTC
Hi David,
Thanks for your interest in Syncfusion Products.
CurrentCell.Renderer.ControlText refers to the GridCellRendererBase class of Syncfusion namespace and CurrentCell.Renderer.Control.Text refers to TextBox' text.
To handle different functionalities with the textbox' text, it has been handled in GridCellRendererBase in such a way that, when a text is assigned in the textbox(grid cell), the renderer.control.Text property receives the text and raises TextBoxChanged event in which the ControlText property is reset with the updated value.
Hence, on changing the value in cc.Renderer.Control.Text, immediately changes value in cc.Renderer.ControlText.