menu

WinForms

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class SpecialDate - WindowsForms API Reference | Syncfusion

    Show / Hide Table of Contents

    Class SpecialDate

    Represents a class that contains the information to customize the corresponding date cell for special dates in SfCalendar.

    Inheritance
    System.Object
    SpecialDate
    Implements
    System.IDisposable
    Inherited Members
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: Syncfusion.WinForms.Input
    Assembly: Syncfusion.SfInput.WinForms.dll
    Syntax
    public class SpecialDate : IDisposable

    Constructors

    SpecialDate()

    Initializes a new instance of the SpecialDate class.

    Declaration
    public SpecialDate()

    Properties

    BackColor

    Gets or sets the Background color for the SpecialDate.

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

    Description

    Gets or sets the description for SpecialDate.

    Declaration
    public string Description { get; set; }
    Property Value
    Type
    System.String

    Font

    Gets or sets the font used to draw SpecialDate

    Declaration
    public Font Font { get; set; }
    Property Value
    Type
    System.Drawing.Font

    ForeColor

    Gets or sets the foreground color for the SpecialDate.

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

    Image

    Gets or sets the image for the SpecialDate.

    Declaration
    public Image Image { get; set; }
    Property Value
    Type
    System.Drawing.Image

    ImageAlign

    Gets or sets the alignment of image in SpecialDate.

    Declaration
    public ContentAlignment ImageAlign { get; set; }
    Property Value
    Type
    System.Drawing.ContentAlignment

    IsDateVisible

    Gets or sets a value indicating whether the Date Text will be visible in SpecialDate.

    Declaration
    public bool IsDateVisible { get; set; }
    Property Value
    Type
    System.Boolean

    TextAlign

    Gets or sets the alignment of date text in SpecialDate.

    Declaration
    public ContentAlignment TextAlign { get; set; }
    Property Value
    Type
    System.Drawing.ContentAlignment

    TextImageRelation

    Gets or sets the alignment of date text and image relative to each other in SpecialDate.

    Declaration
    public TextImageRelation TextImageRelation { get; set; }
    Property Value
    Type
    System.Windows.Forms.TextImageRelation

    Value

    Gets or sets the value for SpecialDate.

    Declaration
    public DateTime Value { get; set; }
    Property Value
    Type
    System.DateTime

    Methods

    Dispose()

    Releases all resources used by this System.Drawing.Font.

    Declaration
    public void Dispose()

    Dispose(Boolean)

    Releases all resources used by this System.Drawing.Font.

    Declaration
    protected virtual void Dispose(bool disposing)
    Parameters
    Type Name Description
    System.Boolean disposing

    Dispose the resources used by Font.

    Implements

    System.IDisposable
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved