WinForms

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class DateTimeEditVisualStyle

    Show / Hide Table of Contents

    Class DateTimeEditVisualStyle

    Represents the class that defines the style for SfDateTimeEdit control.

    Inheritance
    System.Object
    ShouldSerializeBasedPersisterType
    StyleInfoBase
    StyleInfoSubObjectBase
    VisualStyleBase
    DateTimeEditVisualStyle
    Implements
    System.ComponentModel.ICustomTypeDescriptor
    System.IDisposable
    IStyleInfo
    System.ComponentModel.ISupportInitialize
    System.IFormattable
    System.IConvertible
    System.Xml.Serialization.IXmlSerializable
    IStyleInfoSubObject
    Inherited Members
    VisualStyleBase.UpdateStyles(IThemeProvider)
    StyleInfoSubObjectBase.Dispose(Boolean)
    StyleInfoSubObjectBase.OnStyleChanged(StyleInfoProperty)
    StyleInfoSubObjectBase.IntGetDefaultStyleInfo(StyleInfoProperty)
    StyleInfoSubObjectBase.MakeCopy(StyleInfoBase, StyleInfoProperty)
    StyleInfoSubObjectBase.SubObjectIdentity
    StyleInfoSubObjectBase.Sip
    StyleInfoSubObjectBase.Data
    StyleInfoSubObjectBase.Owner
    StyleInfoBase.WriteXml(XmlWriter)
    StyleInfoBase.ReadXml(XmlReader)
    StyleInfoBase.SetStore(StyleInfoStore)
    StyleInfoBase.ClearCache()
    StyleInfoBase.Dispose()
    StyleInfoBase.Equals(Object)
    StyleInfoBase.EqualsObject(Object, Object)
    StyleInfoBase.GetHashCode()
    StyleInfoBase.ToString()
    StyleInfoBase.ToString(String)
    StyleInfoBase.ToString(String, IFormatProvider)
    StyleInfoBase.ParseString(String)
    StyleInfoBase.BeginInit()
    StyleInfoBase.EndInit()
    StyleInfoBase.BeginUpdate()
    StyleInfoBase.EndUpdate()
    StyleInfoBase.GetDefaultStyleInfoStore(StyleInfoProperty)
    StyleInfoBase.OnStyleChanging(StyleInfoProperty)
    StyleInfoBase.IsSubset(IStyleInfo)
    StyleInfoBase.CopyFrom(IStyleInfo)
    StyleInfoBase.ModifyStyle(IStyleInfo, StyleModifyType)
    StyleInfoBase.InheritStyle(IStyleInfo, StyleModifyType)
    StyleInfoBase.MergeStyle(IStyleInfo)
    StyleInfoBase.HasValue(StyleInfoProperty)
    StyleInfoBase.IsValueModified(StyleInfoProperty)
    StyleInfoBase.ResetValue(StyleInfoProperty)
    StyleInfoBase.GetValue(StyleInfoProperty)
    StyleInfoBase.GetDefaultValue(StyleInfoProperty)
    StyleInfoBase.GetShortValue(StyleInfoProperty)
    StyleInfoBase.SetValue(StyleInfoProperty, Object)
    StyleInfoBase.SetValue(StyleInfoProperty, Int16)
    StyleInfoBase.IConvertible.ToUInt64(IFormatProvider)
    StyleInfoBase.IConvertible.ToSByte(IFormatProvider)
    StyleInfoBase.IConvertible.ToDouble(IFormatProvider)
    StyleInfoBase.IConvertible.ToDateTime(IFormatProvider)
    StyleInfoBase.IConvertible.ToSingle(IFormatProvider)
    StyleInfoBase.IConvertible.ToBoolean(IFormatProvider)
    StyleInfoBase.IConvertible.ToInt32(IFormatProvider)
    StyleInfoBase.IConvertible.ToUInt16(IFormatProvider)
    StyleInfoBase.IConvertible.ToInt16(IFormatProvider)
    StyleInfoBase.IConvertible.ToString(IFormatProvider)
    StyleInfoBase.IConvertible.ToByte(IFormatProvider)
    StyleInfoBase.IConvertible.ToChar(IFormatProvider)
    StyleInfoBase.IConvertible.ToInt64(IFormatProvider)
    StyleInfoBase.IConvertible.GetTypeCode()
    StyleInfoBase.IConvertible.ToDecimal(IFormatProvider)
    StyleInfoBase.IConvertible.ToType(Type, IFormatProvider)
    StyleInfoBase.IConvertible.ToUInt32(IFormatProvider)
    StyleInfoBase.Identity
    StyleInfoBase.Store
    StyleInfoBase.CacheValues
    StyleInfoBase.WeakReferenceChangedListeners
    StyleInfoBase.Updating
    StyleInfoBase.IsEmpty
    StyleInfoBase.IsChanged
    StyleInfoBase.Changed
    StyleInfoBase.Changing
    ShouldSerializeBasedPersisterType.GetNewAttributesCount(PropertyDescriptor)
    ShouldSerializeBasedPersisterType.AddNewAttributes(PropertyDescriptor, Attribute[], Int32)
    ShouldSerializeBasedPersisterType.GetCustomPDC(PropertyDescriptorCollection)
    ShouldSerializeBasedPersisterType.CheckAllProperties
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetType()
    System.Object.MemberwiseClone()
    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 that holds the identity for this DateTimeEditStyleInfoStore.

    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 Description
    System.Drawing.Color

    BorderColor

    Gets or sets the border color of SfDateTimeEdit.

    Declaration
    public Color BorderColor { get; set; }
    Property Value
    Type Description
    System.Drawing.Color

    DefaultStyle

    Gets the default style value for SfDateTimeEdit.

    Declaration
    public static DateTimeEditVisualStyle DefaultStyle { get; }
    Property Value
    Type Description
    DateTimeEditVisualStyle

    DisabledBackColor

    Gets or sets the background color of SfDateTimeEdit.in disabled state

    Declaration
    public Color DisabledBackColor { get; set; }
    Property Value
    Type Description
    System.Drawing.Color

    DisabledForeColor

    Gets or sets the foreground color of SfDateTimeEdit.in disabled state

    Declaration
    public Color DisabledForeColor { get; set; }
    Property Value
    Type Description
    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 Description
    DropDownStyleInfo

    FocusedBorderColor

    Gets or sets the border color of SfDateTimeEdit in focused state.

    Declaration
    public Color FocusedBorderColor { get; set; }
    Property Value
    Type Description
    System.Drawing.Color

    ForeColor

    Gets or sets the foreground color of SfDateTimeEdit.

    Declaration
    public Color ForeColor { get; set; }
    Property Value
    Type Description
    System.Drawing.Color

    HoverBorderColor

    Gets or sets the border color of SfDateTimeEdit in hover state.

    Declaration
    public Color HoverBorderColor { get; set; }
    Property Value
    Type Description
    System.Drawing.Color

    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 Description
    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 Description
    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 Description
    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 Description
    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 Description
    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
    StyleInfoBase.CreateSubObjectIdentity(StyleInfoProperty)

    GetDefaultStyle()

    Provide the default style of the DateTimeEdit.

    Declaration
    protected override StyleInfoBase GetDefaultStyle()
    Returns
    Type Description
    StyleInfoBase

    Default style object.

    Overrides
    VisualStyleBase.GetDefaultStyle()

    Implements

    System.ComponentModel.ICustomTypeDescriptor
    System.IDisposable
    IStyleInfo
    System.ComponentModel.ISupportInitialize
    System.IFormattable
    System.IConvertible
    System.Xml.Serialization.IXmlSerializable
    IStyleInfoSubObject
    Back to top Generated by DocFX
    Copyright © 2001 - 2023 Syncfusion Inc. All Rights Reserved