Class DateTimeEditVisualStyle
Represents the class that defines the style for SfDateTimeEdit control.
Inheritance
Implements
Inherited Members
Namespace: Syncfusion.WinForms.Input.Styles
Assembly: Syncfusion.SfInput.WinForms.dll
Syntax
public class DateTimeEditVisualStyle : VisualStyleBase, ICustomTypeDescriptor, IDisposable, IStyleInfo, ISupportInitialize, IFormattable, IConvertible, IXmlSerializable, IStyleInfoSubObject
Constructors
DateTimeEditVisualStyle()
Initializes a new instance of the DateTimeEditVisualStyle class.
Declaration
public DateTimeEditVisualStyle()
DateTimeEditVisualStyle(StyleInfoSubObjectIdentity)
Initializes a new instance of the DateTimeEditVisualStyle class.
Declaration
public DateTimeEditVisualStyle(StyleInfoSubObjectIdentity identity)
Parameters
Type | Name | Description |
---|---|---|
StyleInfoSubObjectIdentity | identity | A |
DateTimeEditVisualStyle(StyleInfoSubObjectIdentity, StyleInfoStore)
Initializes a new instance of the DateTimeEditVisualStyle class.
Declaration
public DateTimeEditVisualStyle(StyleInfoSubObjectIdentity identity, StyleInfoStore store)
Parameters
Type | Name | Description |
---|---|---|
StyleInfoSubObjectIdentity | identity | A DateTimeEditStyleInfoIdentity that holds the identity for this DateTimeEditStyleInfoStore. |
StyleInfoStore | 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 SfDateTimeEdit.
Declaration
public Color BackColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
BorderColor
Gets or sets the border color of SfDateTimeEdit.
Declaration
public Color BorderColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
DefaultStyle
Gets the default style value for SfDateTimeEdit.
Declaration
public static DateTimeEditVisualStyle DefaultStyle { get; }
Property Value
Type |
---|
DateTimeEditVisualStyle |
DisabledBackColor
Gets or sets the background color of SfDateTimeEdit.in disabled state
Declaration
public Color DisabledBackColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
DisabledForeColor
Gets or sets the foreground color of SfDateTimeEdit.in disabled state
Declaration
public Color DisabledForeColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
DropDown
Gets or sets a value indicating whether style values for the dropdown icon of SfDateTimeEdit.
Declaration
public DropDownStyleInfo DropDown { get; set; }
Property Value
Type |
---|
DropDownStyleInfo |
FocusedBorderColor
Gets or sets the border color of SfDateTimeEdit in focused state.
Declaration
public Color FocusedBorderColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
ForeColor
Gets or sets the foreground color of SfDateTimeEdit.
Declaration
public Color ForeColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
HoverBorderColor
Gets or sets the border color of SfDateTimeEdit in hover state.
Declaration
public Color HoverBorderColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
ToolTipStyle
Gets or sets the style applied to the tooltip.
Declaration
public ToolTipStyleInfo ToolTipStyle { get; set; }
Property Value
Type |
---|
ToolTipStyleInfo |
UpDownBackColor
Gets or sets the background color of up down button in Syncfusion.WinForms.Input.Buttons.UpDownButton.
Declaration
public Color UpDownBackColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
UpDownForeColor
Gets or sets the foreground color of up down button in Syncfusion.WinForms.Input.Buttons.UpDownButton.
Declaration
public Color UpDownForeColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
UpDownHoverBackColor
Gets or sets the background color of up down button in Syncfusion.WinForms.Input.Buttons.UpDownButton.in hover state
Declaration
public Color UpDownHoverBackColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
UpDownHoverForeColor
Gets or sets the foreground color to up down button of SfDateTimeEdit in hover state.
Declaration
public Color UpDownHoverForeColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
WatermarkForeColor
Gets or sets the color to draw the Watermark Text that displays in SfDateTimeEdit when the Value is null.
Declaration
public Color WatermarkForeColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
Methods
CreateSubObjectIdentity(StyleInfoProperty)
Override this method to create a product-specific identity object for a sub object.
Declaration
public override StyleInfoSubObjectIdentity CreateSubObjectIdentity(StyleInfoProperty sip)
Parameters
Type | Name | Description |
---|---|---|
StyleInfoProperty | sip | The StyleInfoProperty. |
Returns
Type | Description |
---|---|
StyleInfoSubObjectIdentity | An identity object for a sub object of this style. |
Overrides
GetDefaultStyle()
Provide the default style of the DateTimeEdit.
Declaration
protected override StyleInfoBase GetDefaultStyle()
Returns
Type | Description |
---|---|
StyleInfoBase | Default style object. |