menu

WinForms

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

    Show / Hide Table of Contents

    Class MonthCell

    Represents a month cell of the CalendarEdit control.

    Inheritance
    System.Object
    Cell
    MonthCell
    Inherited Members
    Cell.CornerRadius
    Cell.IsInvalidDate
    Cell.IsInvalidDateProperty
    Cell.IsSelected
    Cell.IsSelectedProperty
    Namespace: Syncfusion.Windows.Shared
    Assembly: Syncfusion.Shared.Wpf.dll
    Syntax
    public class MonthCell : Cell

    Constructors

    MonthCell()

    Initializes static members of the MonthCell class. It overrides some dependency properties.

    Declaration
    public MonthCell()

    Fields

    MonthNumberProperty

    Identifies MonthNumber dependency property.

    Declaration
    public static readonly DependencyProperty MonthNumberProperty
    Field Value
    Type
    System.Windows.DependencyProperty

    Properties

    MonthNumber

    Gets or sets sequential number of the month in the year. This is a dependency property.

    Declaration
    public int MonthNumber { get; set; }
    Property Value
    Type Description
    System.Int32

    Type: System.Int32Integer.

    Exceptions
    Type Condition
    System.ArgumentException

    MonthNumber must be in the range 1..12.

    See Also
    System.Int32

    Methods

    OnCreateAutomationPeer()

    Creates an appropriate AutomationPeer for CalendarEdit

    Declaration
    protected override AutomationPeer OnCreateAutomationPeer()
    Returns
    Type Description
    System.Windows.Automation.Peers.AutomationPeer

    Automation peer of CalendarEdit

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