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.