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

TabPageAdv padding issue

Thread ID:

Created:

Updated:

Platform:

Replies:

95360 Jul 2,2010 11:48 PM UTC Jul 7,2010 05:06 AM UTC WinForms 3
loading
Tags: Tools
Administrator [Syncfusion]
Asked On July 2, 2010 11:48 PM UTC

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

Lingaraj S [Syncfusion]
Replied On 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.

Administrator [Syncfusion]
Replied On July 6, 2010 01:41 PM UTC

Thank you.

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

Hi Jan,

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

Regards,
Lingaraj S.

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

;