Class SFMonthDateRange
Handles selection range in month view
Inheritance
System.Object
SFMonthDateRange
Namespace: Syncfusion.SfCalendar.iOS
Assembly: Syncfusion.SfCalendar.iOS.dll
Syntax
public class SFMonthDateRange : NSObject
Constructors
SFMonthDateRange()
Initializes a new instance of the SFMonthDateRange class.
Declaration
public SFMonthDateRange()
SFMonthDateRange(NSDateComponents, NSDateComponents)
Initializes a new instance of the SFMonthDateRange class.
Declaration
public SFMonthDateRange(NSDateComponents start, NSDateComponents end)
Parameters
Type | Name | Description |
---|---|---|
Foundation.NSDateComponents | start | Start date components |
Foundation.NSDateComponents | end | End date components |
Properties
EndDay
Gets or sets the end day.
Declaration
public NSDateComponents EndDay { get; set; }
Property Value
Type | Description |
---|---|
Foundation.NSDateComponents | The end day. |
StartDay
Gets or sets the start day.
Declaration
public NSDateComponents StartDay { get; set; }
Property Value
Type | Description |
---|---|
Foundation.NSDateComponents | The start day. |
Methods
ContainsDate(NSDate)
Check the range contains the date.
Declaration
public bool ContainsDate(NSDate date)
Parameters
Type | Name | Description |
---|---|---|
Foundation.NSDate | date | Date value |
Returns
Type | Description |
---|---|
System.Boolean |
|
ContainsDay(NSDateComponents)
Check the range contains the day.
Declaration
public bool ContainsDay(NSDateComponents day)
Parameters
Type | Name | Description |
---|---|---|
Foundation.NSDateComponents | day | Day components |
Returns
Type | Description |
---|---|
System.Boolean |
|