menu

WPF

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

    Show / Hide Table of Contents

    Class YearDataSource

    Represents the year data

    Inheritance
    System.Object
    DataSource
    YearDataSource
    Implements
    ILoopingSelectorDataSource
    Inherited Members
    DataSource.Dispose()
    DataSource.Dispose(Boolean)
    DataSource.GetDatePartCollection(DateTime, Int32, Int32)
    DataSource.GetNext(Object)
    DataSource.GetPrevious(Object)
    DataSource.SelectedItem
    DataSource.SelectionChanged
    DataSource.SelectionChangedEvent
    DataSource.UpdateMinimumDateTime(DateTime, Int32, Int32, DateTime)
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: Syncfusion.Windows.Primitives
    Assembly: Syncfusion.SfInput.Wpf.dll
    Syntax
    public class YearDataSource : DataSource, ILoopingSelectorDataSource

    Constructors

    YearDataSource()

    Declaration
    public YearDataSource()

    Methods

    GetRelativeTo(DateTime, Int32)

    Compares the year data with the next.

    Declaration
    protected override DateTime? GetRelativeTo(DateTime relativeDate, int delta)
    Parameters
    Type Name Description
    System.DateTime relativeDate

    relative date

    System.Int32 delta

    delta value

    Returns
    Type Description
    System.Nullable<System.DateTime>

    returns the relative date

    Overrides
    DataSource.GetRelativeTo(DateTime, Int32)

    Implements

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