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. Image for the cookie policy date

TabPageAdv padding issue

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?

v/r
Jan

3 Replies

LS Lingaraj S Syncfusion Team July 5, 2010 01:28 PM UTC

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.

Regards,
Lingaraj S.


AD Administrator Syncfusion Team July 6, 2010 01:41 PM UTC

Thank you.


LS Lingaraj S Syncfusion Team July 7, 2010 05:06 AM UTC

Hi Jan,

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

Regards,
Lingaraj S.

Loader.
Live Chat Icon For mobile
Up arrow icon