Class FloatWindowStyleInfo
Represents the class to define the style for FloatingForm.
Inheritance
Implements
Inherited Members
Namespace: Syncfusion.Windows.Forms.Tools
Assembly: Syncfusion.Tools.Windows.dll
Syntax
public class FloatWindowStyleInfo : StyleInfoSubObjectBase, ICustomTypeDescriptor, IDisposable, IStyleInfo, ISupportInitialize, IFormattable, IConvertible, IXmlSerializable, IStyleInfoSubObject
Constructors
FloatWindowStyleInfo()
Initializes a new instance of the FloatWindowStyleInfo class.
Declaration
public FloatWindowStyleInfo()
FloatWindowStyleInfo(StyleInfoSubObjectIdentity)
Initializes a new instance of the FloatWindowStyleInfo class.
Declaration
public FloatWindowStyleInfo(StyleInfoSubObjectIdentity identity)
Parameters
Type | Name | Description |
---|---|---|
StyleInfoSubObjectIdentity | identity | The identity. |
FloatWindowStyleInfo(StyleInfoSubObjectIdentity, FloatWindowStyleInfoStore)
Initializes a new instance of the FloatWindowStyleInfo class.
Declaration
public FloatWindowStyleInfo(StyleInfoSubObjectIdentity identity, FloatWindowStyleInfoStore store)
Parameters
Type | Name | Description |
---|---|---|
StyleInfoSubObjectIdentity | identity | The identity. |
FloatWindowStyleInfoStore | store | A FloatWindowStyleInfoStore that holds data for this FloatWindowStyleInfo. All changes in this style object will be saved in the FloatWindowStyleInfoStore object. |
FloatWindowStyleInfo(FloatWindowStyleInfo)
Initializes a new instance of the FloatWindowStyleInfo class.
Declaration
public FloatWindowStyleInfo(FloatWindowStyleInfo style)
Parameters
Type | Name | Description |
---|---|---|
FloatWindowStyleInfo | style | The style object that contains the original data. |
FloatWindowStyleInfo(FloatWindowStyleInfoStore)
Initializes a new instance of the FloatWindowStyleInfo class.
Declaration
public FloatWindowStyleInfo(FloatWindowStyleInfoStore store)
Parameters
Type | Name | Description |
---|---|---|
FloatWindowStyleInfoStore | store | A FloatWindowStyleInfoStore that holds data for this FloatWindowStyleInfo. All changes in this style object will be saved in the FloatWindowStyleInfoStore object. |
Properties
ActiveCaptionBackColor
Gets or sets the System.Drawing.Color value used to draw the background of the FloatingForm caption bar in active state.
Declaration
[ThemeStudio]
public Color ActiveCaptionBackColor { get; set; }
Property Value
Type | Description |
---|---|
System.Drawing.Color | The System.Drawing.Color value is used to draw the background of the caption bar. The default value is null. |
ActiveCaptionFont
Gets or sets the System.Drawing.Font value of the Font for FloatingForm control when floating window is active.
Declaration
public Font ActiveCaptionFont { get; set; }
Property Value
Type |
---|
System.Drawing.Font |
ActiveCaptionForeColor
Gets or sets the System.Drawing.Color value used to draw the foreground of the FloatingForm control while caption bar in active state.
Declaration
[ThemeStudio]
public Color ActiveCaptionForeColor { get; set; }
Property Value
Type | Description |
---|---|
System.Drawing.Color | The System.Drawing.Color value is used to draw the foreground of the active caption. The default value is null. |
BorderColor
Gets or sets the System.Drawing.Color value used to draw the border of the FloatingForm in default state.
Declaration
[ThemeStudio]
public Color BorderColor { get; set; }
Property Value
Type | Description |
---|---|
System.Drawing.Color | The System.Drawing.Color value is used to draw the border of the floating form. The default value is null. |
CaptionBackColor
Gets or sets the System.Drawing.Color value used to draw the background of the FloatingForm caption bar in default state.
Declaration
[ThemeStudio]
public Color CaptionBackColor { get; set; }
Property Value
Type | Description |
---|---|
System.Drawing.Color | The System.Drawing.Color value is used to draw the background of the caption bar. The default value is null. |
CaptionFont
Gets or sets the System.Drawing.Font value of the Font for FloatingForm caption.
Declaration
public Font CaptionFont { get; set; }
Property Value
Type |
---|
System.Drawing.Font |
CaptionForeColor
Gets or sets the System.Drawing.Color value used to draw the foreground of the FloatingForm control in default state.
Declaration
[ThemeStudio]
public Color CaptionForeColor { get; set; }
Property Value
Type | Description |
---|---|
System.Drawing.Color | The System.Drawing.Color value is used to draw the foreground of the caption. The default value is null. |
DefaultStyle
Gets the default DropDownStyleInfo value.
Declaration
public static FloatWindowStyleInfo DefaultStyle { get; }
Property Value
Type |
---|
FloatWindowStyleInfo |
FocusedBorderColor
Gets or sets the System.Drawing.Color value used to draw the border of the FloatingForm in active state.
Declaration
[ThemeStudio]
public Color FocusedBorderColor { get; set; }
Property Value
Type | Description |
---|---|
System.Drawing.Color | The System.Drawing.Color value is used to draw the border of the floating form. The default value is null. |
Methods
GetDefaultStyle()
Gets the default style value of the FloatWindowStyleInfo class.
Declaration
protected override StyleInfoBase GetDefaultStyle()
Returns
Type | Description |
---|---|
StyleInfoBase | Returns the default style value. |