Class MonthCell
Represents a month cell of the CalendarEdit control.
Inherited Members
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 |