Xamarin.iOS

Upgrade Guide User Guide Demos Support Forums Download
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class SFMonthDateRange - Xamarin.iOS API Reference | Syncfusion

    Show / Hide Table of Contents

    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

    true, if date was contained, false otherwise.

    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

    true, if day was contained, false otherwise.

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