Articles in this section
Category / Section

How to specify the padding to border of an Office2007 style form in WinForms RibbonControlAdv?

1 min read

Border settings

The Borders property gets or sets the value of the borders of an Office 2007 style form.

C#

this.Borders = new Padding(2);
(or)
this.Borders = new Padding(2,5,1,3);

VB

Me.Borders = new Padding(2)
(or)
Me.Borders =new Padding(2,5,1,3)

 

Did you find this information helpful?
Yes
No
Help us improve this page
Please provide feedback or comments
Comments (0)
Please sign in to leave a comment
Access denied
Access denied