Class MonthButton
Represents month name header.
Inheritance
System.Object
MonthButton
Namespace: Syncfusion.Windows.Shared
Assembly: Syncfusion.Shared.Wpf.dll
Syntax
public class MonthButton : ContentControl
Constructors
MonthButton()
Initializes a new instance of the MonthButton class.
Declaration
public MonthButton()
Methods
Initialize(VisibleDate, Calendar, CultureInfo, Boolean, CalendarVisualMode)
Initializes MonthButton instance.
Declaration
protected void Initialize(VisibleDate data, Calendar calendar, CultureInfo culture, bool isAbbreviated, CalendarVisualMode mode)
Parameters
Type | Name | Description |
---|---|---|
VisibleDate | data | Current date. |
System.Globalization.Calendar | calendar | Current calendar. |
System.Globalization.CultureInfo | culture | The System.Globalization.DateTimeFormatInfo object that belongs to the current culture. |
System.Boolean | isAbbreviated | Indicates whether month name should be abbreviated. |
CalendarVisualMode | mode | Visual mode of the CalendarEdit control. |
OnCreateAutomationPeer()
Creates an appropriate AutomationPeer for CalendarEdit
Declaration
protected override AutomationPeer OnCreateAutomationPeer()
Returns
Type | Description |
---|---|
System.Windows.Automation.Peers.AutomationPeer | Automation peer of CalendarEdit |