WinForms

Upgrade Guide User Guide Demos Support Forums Download
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Struct DateTimeRange - WindowsForms API Reference | Syncfusion ChartAxis. ">

    Show / Hide Table of Contents

    Struct DateTimeRange

    Defines memebers and methods to handle DateTime type range in ChartAxis.

    Implements
    System.IEquatable<DateTimeRange>
    Inherited Members
    System.ValueType.ToString()
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetType()
    Namespace: Syncfusion.UI.Xaml.Charts
    Assembly: Syncfusion.SfChart.WPF.dll
    Syntax
    public struct DateTimeRange : IEquatable<DateTimeRange>

    Constructors

    DateTimeRange(DateTime, DateTime)

    Initializes a new instance of the DateTimeRange struct.

    Declaration
    public DateTimeRange(DateTime rangeStart, DateTime rangeEnd)
    Parameters
    Type Name Description
    System.DateTime rangeStart

    The range start.

    System.DateTime rangeEnd

    The range end.

    Properties

    End

    Gets the end.

    Declaration
    public DateTime End { get; }
    Property Value
    Type Description
    System.DateTime

    The end value.

    IsEmpty

    Gets a value indicating whether this instance is empty.

    Declaration
    public bool IsEmpty { get; }
    Property Value
    Type Description
    System.Boolean

    true if this instance is empty; otherwise, false.

    Start

    Gets the start.

    Declaration
    public DateTime Start { get; }
    Property Value
    Type Description
    System.DateTime

    The start.

    Methods

    Equals(DateTimeRange)

    Declaration
    public bool Equals(DateTimeRange other)
    Parameters
    Type Name Description
    DateTimeRange other
    Returns
    Type Description
    System.Boolean

    Equals(Object)

    Declaration
    public override bool Equals(object obj)
    Parameters
    Type Name Description
    System.Object obj
    Returns
    Type Description
    System.Boolean
    Overrides
    System.ValueType.Equals(System.Object)

    GetHashCode()

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    System.Int32
    Overrides
    System.ValueType.GetHashCode()

    Operators

    Equality(DateTimeRange, DateTimeRange)

    Declaration
    public static bool operator ==(DateTimeRange point1, DateTimeRange point2)
    Parameters
    Type Name Description
    DateTimeRange point1
    DateTimeRange point2
    Returns
    Type Description
    System.Boolean

    Inequality(DateTimeRange, DateTimeRange)

    Declaration
    public static bool operator !=(DateTimeRange point1, DateTimeRange point2)
    Parameters
    Type Name Description
    DateTimeRange point1
    DateTimeRange point2
    Returns
    Type Description
    System.Boolean

    Implements

    System.IEquatable<T>
    Back to top Generated by DocFX
    Copyright © 2001 - 2021 Syncfusion Inc. All Rights Reserved