Class MonthPopup
Used for working with month selector.
Inheritance
System.Object
MonthPopup
Namespace: Syncfusion.Windows.Shared
Assembly: Syncfusion.Shared.WPF.dll
Syntax
public class MonthPopup : Object
Constructors
MonthPopup(Popup, Date, DateTimeFormatInfo, Date, Date)
Initializes a new instance of the MonthPopup class.
Declaration
public MonthPopup(Popup popup, Date date, DateTimeFormatInfo format, Date minDate, Date maxDate)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Controls.Primitives.Popup | popup | Popup instance. |
Date | date | Current visible date. |
System.Globalization.DateTimeFormatInfo | format | System.Globalization.DateTimeFormatInfo instance. |
Date | minDate | Minimum date. |
Date | maxDate | Maximum date. |
Properties
CurrentDate
Gets or sets the current date.
Declaration
public Date CurrentDate { get; set; }
Property Value
Type |
---|
Date |
Format
Gets or sets date time format.
Declaration
public DateTimeFormatInfo Format { get; set; }
Property Value
Type |
---|
System.Globalization.DateTimeFormatInfo |
MaxDate
Gets or sets the maximal.
Declaration
public Date MaxDate { get; set; }
Property Value
Type | Description |
---|---|
Date | Type: Date |
See Also
MinDate
Gets or sets the minimal date.
Declaration
public Date MinDate { get; set; }
Property Value
Type | Description |
---|---|
Date | Type: Date |
See Also
Methods
RefreshContent()
Refreshes month selector items.
Declaration
public void RefreshContent()
Show()
Shows the popup.
Declaration
public void Show()
Events
HidePopup
Occurs when the popup hides.
Declaration
public event EventHandler<HidePopupEventArgs> HidePopup
Event Type
Type |
---|
System.EventHandler<HidePopupEventArgs> |