Class Office2007Form
Inheritance
System.Object
Office2007Form
Assembly: Syncfusion.Shared.Base.dll
public class Office2007Form : Form
Constructors
Constructor for Office2007form with empty arguments
Declaration
Properties
Gets or sets a value indicating whether the rounded corners are enabled.
Declaration
public bool AllowRoundedCorners { get; set; }
Property Value
Type |
Description |
System.Boolean |
The default value is false.
|
Gets/sets if to Force the OS Aero theme look and feel when Office2007Visual style is enabled.
Declaration
public virtual bool ApplyAeroTheme { get; set; }
Property Value
Gets or Sets the AutoScroll value
Declaration
public override bool AutoScroll { get; set; }
Property Value
Gets or sets the alignment of of the form's title.
Declaration
public HorizontalAlignment CaptionAlign { get; set; }
Property Value
Type |
System.Windows.Forms.HorizontalAlignment |
Gets or Sets the CaptionBar Height.
Declaration
public int CaptionBarHeight { get; set; }
Property Value
Declaration
public CaptionBarHeightMode CaptionBarHeightMode { get; set; }
Property Value
Gets or sets the font of the form's title.
Declaration
public Font CaptionFont { get; set; }
Property Value
Gets or sets the color for caption in titlebar
Declaration
public Color CaptionForeColor { get; set; }
Property Value
Type |
System.Drawing.Color |
Gets or sets the Office2007 ColorScheme
Declaration
public Office2007Theme ColorScheme { get; set; }
Property Value
Declaration
[Obsolete("Please, use Office2007Form.ColorScheme = Office2007Theme.Managed")]
public bool ColorSchemeIsManaged { get; set; }
Property Value
Gets the ColorTable for Office2007
Declaration
protected Office2007Colors ColorTable { get; }
Property Value
Gets the CreateParams for the Office2007 form.
Declaration
protected override CreateParams CreateParams { get; }
Property Value
Type |
System.Windows.Forms.CreateParams |
Gets/sets if to disable Office2007 look and feel.
Declaration
public virtual bool DisableOffice2007Style { get; set; }
Property Value
Gets or Sets whether to enable Drop Shadow to the Office2007form
Declaration
public bool DropShadow { get; set; }
Property Value
Gets or sets a value indicating whether dpi aware should be enabled or not.
Declaration
public bool EnableDpiAware { get; set; }
Property Value
Declaration
public bool EnableTouchMode { get; set; }
Property Value
Declaration
protected bool IsActive { get; }
Property Value
Gets whether right to left has been set
Declaration
protected bool IsRightToLeft { get; }
Property Value
Specifies whether current selected Office2007 scheme background color is used to fill form's backround is used.
If false is used.
Declaration
public bool UseOffice2007SchemeBackColor { get; set; }
Property Value
Methods
Declaration
public void ApplyScaleToControl(float sf)
Parameters
Type |
Name |
Description |
System.Single |
sf |
|
Declaration
protected override AccessibleObject CreateAccessibilityInstance()
Returns
Type |
System.Windows.Forms.AccessibleObject |
Declaration
protected override void OnActivated(EventArgs e)
Parameters
Type |
Name |
Description |
System.EventArgs |
e |
|
Declaration
protected virtual void OnColorSchemeChanged()
Declaration
protected override void OnHandleCreated(EventArgs e)
Parameters
Type |
Name |
Description |
System.EventArgs |
e |
|
To define whether the customization needs to be applied
Declaration
protected override void OnLoad(EventArgs e)
Parameters
Type |
Name |
Description |
System.EventArgs |
e |
|
Occurs when Form Location is changed
Declaration
protected override void OnLocationChanged(EventArgs e)
Parameters
Type |
Name |
Description |
System.EventArgs |
e |
|
Declaration
protected override void OnPaintBackground(PaintEventArgs e)
Parameters
Type |
Name |
Description |
System.Windows.Forms.PaintEventArgs |
e |
|
Declaration
protected override void OnRightToLeftChanged(EventArgs e)
Parameters
Type |
Name |
Description |
System.EventArgs |
e |
|
Declaration
protected override void OnRightToLeftLayoutChanged(EventArgs e)
Parameters
Type |
Name |
Description |
System.EventArgs |
e |
|
Raises the System.Windows.Forms.Form.Shown event.
Declaration
protected override void OnShown(EventArgs e)
Parameters
Type |
Name |
Description |
System.EventArgs |
e |
Event args that contains the event data
|
Declaration
protected override void OnStyleChanged(EventArgs e)
Parameters
Type |
Name |
Description |
System.EventArgs |
e |
|
Reset the value of the DropShadow
Declaration
public void ResetDropShadow()
Declaration
protected override void SetBoundsCore(int x, int y, int width, int height, BoundsSpecified specified)
Parameters
Type |
Name |
Description |
System.Int32 |
x |
|
System.Int32 |
y |
|
System.Int32 |
width |
|
System.Int32 |
height |
|
System.Windows.Forms.BoundsSpecified |
specified |
|
Declaration
protected override void SetClientSizeCore(int x, int y)
Parameters
Type |
Name |
Description |
System.Int32 |
x |
|
System.Int32 |
y |
|
Declaration
protected override void WndProc(ref Message m)
Parameters
Type |
Name |
Description |
System.Windows.Forms.Message |
m |
|