menu

UWP

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class DateRange - UWP API Reference | Syncfusion

    Show / Hide Table of Contents

    Class DateRange

    Represents a range of the DateTime

    Inheritance
    System.Object
    DateRange
    Namespace: Syncfusion.UI.Xaml.Controls.Input
    Assembly: Syncfusion.SfInput.UWP.dll
    Syntax
    public class DateRange : Object

    Constructors

    DateRange(DateTime)

    Initializes a new instance of the DateRange class.

    Declaration
    public DateRange(DateTime startDate)
    Parameters
    Type Name Description
    System.DateTime startDate

    represent the start date

    DateRange(DateTime, DateTime)

    Initializes a new instance of the DateRange class.

    Declaration
    public DateRange(DateTime startDate, DateTime endDate)
    Parameters
    Type Name Description
    System.DateTime startDate

    represents the start date

    System.DateTime endDate

    represents the end date

    Properties

    EndDate

    Gets or sets a start date of date range

    Declaration
    public DateTime EndDate { get; set; }
    Property Value
    Type
    System.DateTime

    StartDate

    Gets or sets a start date of date range

    Declaration
    public DateTime StartDate { get; set; }
    Property Value
    Type
    System.DateTime

    Extension Methods

    DateTimeExtension.ToDateTime(Object)
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved