Class MdiChildStyleInfo
Represents the class that defines the MDI style information for the SfForm control.
Inheritance
Implements
Inherited Members
Namespace: Syncfusion.WinForms.Controls.Styles
Assembly: Syncfusion.Shared.Base.dll
Syntax
public class MdiChildStyleInfo : StyleInfoSubObjectBase, ICustomTypeDescriptor, IDisposable, IStyleInfo, ISupportInitialize, IFormattable, IConvertible, IXmlSerializable, IStyleInfoSubObject
Constructors
MdiChildStyleInfo()
Initializes a new instance of the MdiChildStyleInfo class.
Declaration
public MdiChildStyleInfo()
MdiChildStyleInfo(StyleInfoSubObjectIdentity)
Initializes a new instance of the MdiChildStyleInfo class.
Declaration
public MdiChildStyleInfo(StyleInfoSubObjectIdentity identity)
Parameters
Type | Name | Description |
---|---|---|
StyleInfoSubObjectIdentity | identity | A StyleInfoSubObjectIdentity that holds the identity for this StyleInfoBase. |
MdiChildStyleInfo(StyleInfoSubObjectIdentity, MdiChildStyleInfoStore)
Initializes a new instance of the MdiChildStyleInfo class.
Declaration
public MdiChildStyleInfo(StyleInfoSubObjectIdentity identity, MdiChildStyleInfoStore store)
Parameters
Type | Name | Description |
---|---|---|
StyleInfoSubObjectIdentity | identity | A StyleInfoSubObjectIdentity that holds the identity for this StyleInfoBase. |
MdiChildStyleInfoStore | store | A MdiChildStyleInfoStore that holds data for this object. All changes in this style object will be saved in the MdiChildStyleInfoStore object. |
Properties
CloseButtonForeColor
Gets or sets the fore color of the MDI form close button.
Declaration
public Color CloseButtonForeColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
CloseButtonHoverBackColor
Gets or sets the hover back color for the MDI form close button.
Declaration
public Color CloseButtonHoverBackColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
CloseButtonHoverForeColor
Gets or sets the hover fore color for the MDI form close button.
Declaration
public Color CloseButtonHoverForeColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
CloseButtonHoverImage
Gets or sets the hover image for the MDI form close button.
Declaration
public Image CloseButtonHoverImage { get; set; }
Property Value
Type | Description |
---|---|
System.Drawing.Image | The default value is null. |
CloseButtonImage
Gets or sets the image for the MDI form close button.
Declaration
public Image CloseButtonImage { get; set; }
Property Value
Type | Description |
---|---|
System.Drawing.Image | The default value is null. |
CloseButtonPressedBackColor
Gets or sets the pressed background color of the MDI form close button.
Declaration
public Color CloseButtonPressedBackColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
CloseButtonPressedForeColor
Gets or sets the pressed fore color of the MDI form close button.
Declaration
public Color CloseButtonPressedForeColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
CloseButtonPressedImage
Gets or sets the pressed image for the MDI form close button.
Declaration
public Image CloseButtonPressedImage { get; set; }
Property Value
Type | Description |
---|---|
System.Drawing.Image | The default value is null. |
CloseButtonSize
Gets or sets the size of the MDI form close button.
Declaration
public Size CloseButtonSize { get; set; }
Property Value
Type |
---|
System.Drawing.Size |
DefaultStyle
Gets the default style of the MDI form.
Declaration
public static MdiChildStyleInfo DefaultStyle { get; }
Property Value
Type |
---|
MdiChildStyleInfo |
HelpButtonForeColor
Gets or sets the fore color of the MDI form help button.
Declaration
public Color HelpButtonForeColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
HelpButtonHoverBackColor
Gets or sets the hover back color for the MDI help button.
Declaration
public Color HelpButtonHoverBackColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
HelpButtonHoverForeColor
Gets or sets the hover fore color for the MDI form help button.
Declaration
public Color HelpButtonHoverForeColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
HelpButtonHoverImage
Gets or sets the hover image for the MDI form help button.
Declaration
public Image HelpButtonHoverImage { get; set; }
Property Value
Type | Description |
---|---|
System.Drawing.Image | The default value is null. |
HelpButtonImage
Gets or sets the image for the MDI form help button.
Declaration
public Image HelpButtonImage { get; set; }
Property Value
Type | Description |
---|---|
System.Drawing.Image | The default value is null. |
HelpButtonPressedBackColor
Gets or sets the pressed background color of the MDI form help button.
Declaration
public Color HelpButtonPressedBackColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
HelpButtonPressedForeColor
Gets or sets the pressed fore color of the MDI form help button.
Declaration
public Color HelpButtonPressedForeColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
HelpButtonPressedImage
Gets or sets the pressed image for the MDI form help button.
Declaration
public Image HelpButtonPressedImage { get; set; }
Property Value
Type | Description |
---|---|
System.Drawing.Image | The default value is null. |
HelpButtonSize
Gets or sets the size of the MDI form help button.
Declaration
public Size HelpButtonSize { get; set; }
Property Value
Type |
---|
System.Drawing.Size |
IconBackColor
Gets or sets the backcolor for the MDI form icon.
Declaration
public Color IconBackColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
IconHorizontalAlignment
Gets or sets the horizontal alignment of the MDI form title bar icon.
Declaration
public HorizontalAlignment IconHorizontalAlignment { get; set; }
Property Value
Type | Description |
---|---|
System.Windows.Forms.HorizontalAlignment | The default value is left. |
IconVerticalAlignment
Gets or sets the vertical alignment of the MDI form title bar icon.
Declaration
public VerticalAlignment IconVerticalAlignment { get; set; }
Property Value
Type | Description |
---|---|
System.Windows.Forms.VisualStyles.VerticalAlignment | The default value is center. |
MaximizeButtonForeColor
Gets or sets the fore color of the MDI form maximize button.
Declaration
public Color MaximizeButtonForeColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
MaximizeButtonHoverBackColor
Gets or sets the hover back color for the MDI form maximize button.
Declaration
public Color MaximizeButtonHoverBackColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
MaximizeButtonHoverForeColor
Gets or sets the hover fore color for the MDI form maximize button.
Declaration
public Color MaximizeButtonHoverForeColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
MaximizeButtonHoverImage
Gets or sets the hover image for the MDI form maximize button.
Declaration
public Image MaximizeButtonHoverImage { get; set; }
Property Value
Type | Description |
---|---|
System.Drawing.Image | The default value is null. |
MaximizeButtonImage
Gets or sets the image for the MDI form maximize button.
Declaration
public Image MaximizeButtonImage { get; set; }
Property Value
Type | Description |
---|---|
System.Drawing.Image | The default value is null. |
MaximizeButtonPressedBackColor
Gets or sets the pressed background color of the MDI form maximize button.
Declaration
public Color MaximizeButtonPressedBackColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
MaximizeButtonPressedForeColor
Gets or sets the pressed fore color of the MDI form maximize button.
Declaration
public Color MaximizeButtonPressedForeColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
MaximizeButtonPressedImage
Gets or sets the pressed image for the MDI form maximize button.
Declaration
public Image MaximizeButtonPressedImage { get; set; }
Property Value
Type | Description |
---|---|
System.Drawing.Image | The default value is null. |
MaximizeButtonSize
Gets or sets the size of the MDI form maximize button.
Declaration
public Size MaximizeButtonSize { get; set; }
Property Value
Type |
---|
System.Drawing.Size |
MinimizeButtonForeColor
Gets or sets the fore color of the MDI form minimize button.
Declaration
public Color MinimizeButtonForeColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
MinimizeButtonHoverBackColor
Gets or sets the hover back color for the MDI form minimize button.
Declaration
public Color MinimizeButtonHoverBackColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
MinimizeButtonHoverForeColor
Gets or sets the hover fore color for the MDI form minimize button.
Declaration
public Color MinimizeButtonHoverForeColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
MinimizeButtonHoverImage
Gets or sets the hover image for the MDI form minimize button.
Declaration
public Image MinimizeButtonHoverImage { get; set; }
Property Value
Type | Description |
---|---|
System.Drawing.Image | The default value is null. |
MinimizeButtonImage
Gets or sets the image for the MDI form minimize button.
Declaration
public Image MinimizeButtonImage { get; set; }
Property Value
Type | Description |
---|---|
System.Drawing.Image | The default value is null. |
MinimizeButtonPressedBackColor
Gets or sets the pressed background color of the MDI form minimize button.
Declaration
public Color MinimizeButtonPressedBackColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
MinimizeButtonPressedForeColor
Gets or sets the pressed fore color of the MDI form minimize button.
Declaration
public Color MinimizeButtonPressedForeColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
MinimizeButtonPressedImage
Gets or sets the pressed image for the MDI form minimize button.
Declaration
public Image MinimizeButtonPressedImage { get; set; }
Property Value
Type | Description |
---|---|
System.Drawing.Image | The default value is null. |
MinimizeButtonSize
Gets or sets the size of the MDI form minimize button.
Declaration
public Size MinimizeButtonSize { get; set; }
Property Value
Type |
---|
System.Drawing.Size |
TitleBarBackColor
Gets or sets the background color of the MDI form titlebar.
Declaration
public Color TitleBarBackColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
TitleBarHeight
Gets or sets the height of the MDI form title bar.
Declaration
public int TitleBarHeight { get; set; }
Property Value
Type |
---|
System.Int32 |
Methods
GetDefaultStyle()
Provide the default style of the MDI form.
Declaration
protected override StyleInfoBase GetDefaultStyle()
Returns
Type | Description |
---|---|
StyleInfoBase | Default style object. |
Overrides
MakeCopy(StyleInfoBase, StyleInfoProperty)
Makes an exact copy of the current object.
Declaration
public override IStyleInfoSubObject MakeCopy(StyleInfoBase newOwner, StyleInfoProperty sip)
Parameters
Type | Name | Description |
---|---|---|
StyleInfoBase | newOwner | The new owner style object for the copied object. |
StyleInfoProperty | sip | The identifier for this object. |
Returns
Type | Description |
---|---|
IStyleInfoSubObject | A copy of the current object registered with the new owner style object. |
Overrides
ShouldSerializeCloseButtonSize()
Determines a value that indicates whether to serialize the CloseButtonSize property or not.
Declaration
public bool ShouldSerializeCloseButtonSize()
Returns
Type | Description |
---|---|
System.Boolean | returns true if serialized; Otherwise false |
ShouldSerializeHelpButtonSize()
Determines a value that indicates whether to serialize the HelpButtonSize property or not.
Declaration
public bool ShouldSerializeHelpButtonSize()
Returns
Type | Description |
---|---|
System.Boolean | returns true if serialized; Otherwise false |
ShouldSerializeMaximizeButtonSize()
Determines a value that indicates whether to serialize the MaximizeButtonSize property or not.
Declaration
public bool ShouldSerializeMaximizeButtonSize()
Returns
Type | Description |
---|---|
System.Boolean | returns true if serialized; Otherwise false |
ShouldSerializeMinimizeButtonSize()
Determines a value that indicates whether to serialize the MinimizeButtonSize property or not.
Declaration
public bool ShouldSerializeMinimizeButtonSize()
Returns
Type | Description |
---|---|
System.Boolean | returns true if serialized; Otherwise false |