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.

How to customize the Caption alignment in the Office2007Form?

Caption alignment can be specified in the Office2007Form by disabling its property, ApplyAeroTheme. This property enables or disables Aero theme when the Office2007Form is enabled. By disabling the ApplyAeroTheme, the title alignment can be changed by using its property, CaptionAlign. The following code example demonstrates the same.

C#

VB

 

The following are the screenshots of caption alignments:

 

Figure 1: Title aligned to the left side of the window

Figure 2: Title aligned to the center of the window

Figure 3: Title aligned to the right side of the window

Sample Link: http://www.syncfusion.com/downloads/support/directtrac/general/Office2007392487911.zip

Article ID: Published Date: Last Revised Date: Platform: Control:
4197 03/02/2015 03/02/2015 Windows Forms Office2007Form
Tags:
Did you find this information helpful?
Add Comment
You must log in to leave a comment

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.