Class DropDownStyleInfo
Represents the class that defines the dropdown style information for the SfDateTimeEdit control.
Inheritance
Implements
Inherited Members
Namespace: Syncfusion.WinForms.Input.Styles
Assembly: Syncfusion.SfInput.WinForms.dll
Syntax
public class DropDownStyleInfo : StyleInfoSubObjectBase, ICustomTypeDescriptor, IDisposable, IStyleInfo, ISupportInitialize, IFormattable, IConvertible, IXmlSerializable, IStyleInfoSubObject
Constructors
DropDownStyleInfo()
Initializes a new instance of the DropDownStyleInfo class.
Declaration
public DropDownStyleInfo()
DropDownStyleInfo(StyleInfoSubObjectIdentity)
Initializes a new instance of the DropDownStyleInfo class.
Declaration
public DropDownStyleInfo(StyleInfoSubObjectIdentity identity)
Parameters
Type | Name | Description |
---|---|---|
StyleInfoSubObjectIdentity | identity | A StyleInfoSubObjectIdentity that holds the identity for this StyleInfoBase. |
DropDownStyleInfo(StyleInfoSubObjectIdentity, DropDownStyleInfoStore)
Initializes a new instance of the DropDownStyleInfo class and associates it with an existing StyleInfoStore.
Declaration
public DropDownStyleInfo(StyleInfoSubObjectIdentity identity, DropDownStyleInfoStore store)
Parameters
Type | Name | Description |
---|---|---|
StyleInfoSubObjectIdentity | identity | A StyleInfoSubObjectIdentity that holds the identity for this StyleInfoBase. |
DropDownStyleInfoStore | store | A StyleInfoStore that holds data for this object. All changes in this style object will be saved in the StyleInfoStore object. |
Properties
BackColor
Gets or sets the background color of dropdown button in SfDateTimeEdit.
Declaration
public Color BackColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
DefaultStyle
Gets the default style of the DropDown.
Declaration
public static DropDownStyleInfo DefaultStyle { get; }
Property Value
Type |
---|
DropDownStyleInfo |
ForeColor
Gets or sets the Fore color of dropdown button in SfDateTimeEdit.
Declaration
public Color ForeColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
HoverBackColor
Gets or sets the background color of dropdown button in SfDateTimeEdit in hover state.
Declaration
public Color HoverBackColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
HoverForeColor
Gets or sets the ForeColor of dropdown button in SfDateTimeEdit. in hover state
Declaration
public Color HoverForeColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
PressedBackColor
Gets or sets the background color of dropdown button in SfDateTimeEdit in pressed state.
Declaration
public Color PressedBackColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
PressedForeColor
Gets or sets the ForeColor of dropdown button in SfDateTimeEdit.in pressed state
Declaration
public Color PressedForeColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
Methods
GetDefaultStyle()
Provide the default style of the DropDown.
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. |