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.
Hi,
We are using visual inheritance. We have a base Form which has XP Toolbar. We have some derived forms. Recently we changed the base Form. Now every time we change anything in the derived form, the following code is getting generated:
this.detailToolBar.PreferredSize = new System.Drawing.Size(241, 25);
It gives the following compilation error:
SalesInvoiceDetailsForm.cs(373): Property or indexer 'Syncfusion.Windows.Forms.Tools.XPMenus.XPToolBar.PreferredSize' cannot be assigned to -- it is read only
If I remove this line, it gets generated again.
Can you please let me know what is happening.
thanks,
- Reddy
RPRamesh Praveen Syncfusion Team January 24, 2003 12:27 PM
This is a bug in VS.Net that tries to set a value for a readonly property. We will fix this (by making the property hidden for serialization).
Regards,
Praveen Ramesh