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.
Unfortunately, activation email could not send to your email. Please try again.

TabPageAdv padding issue

Thread ID:





95360 Jul 2,2010 07:48 PM Jul 7,2010 01:06 AM Windows Forms 3
Tags: Tools
Administrator [Syncfusion]
Asked On July 2, 2010 07:48 PM

When I attempt to set the padding on a TabPageAdv programatically using the statement:

tpa.Padding.All = 5;

I get a compile error stating:

Cannot modify the return value of .... because it is not a variable.

How do I set the padding value programatically?


Lingaraj S [Syncfusion]
Replied On July 5, 2010 09:28 AM

Hi Jan,

Thank you for your interest in Syncfusion products.

This is not an issue with Syncfusion control. You need to assign the padding by using constructor as shown below.

Refer the code below.

this.tab3.Padding = new Padding(40);

Please let me know if you have any queries.

Lingaraj S.

Administrator [Syncfusion]
Replied On July 6, 2010 09:41 AM

Thank you.

Lingaraj S [Syncfusion]
Replied On July 7, 2010 01:06 AM

Hi Jan,

Thank you for the update and your contribution in Syncfusion Community Forums.

Lingaraj S.


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.

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.