We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

The Property PreferredSize for XPToolBar is Read Only

Thread ID:

Created:

Updated:

Platform:

Replies:

2498 Jan 24,2003 12:23 PM UTC Jan 24,2003 05:27 PM UTC WinForms 1
loading
Tags: Tools
Administrator [Syncfusion]
Asked On January 24, 2003 12:23 PM UTC

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

Ramesh Praveen [Syncfusion]
Replied On January 24, 2003 05:27 PM UTC

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

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;