menu

UWP

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

    Show / Hide Table of Contents

    Class YearDataSource

    Represents the year data

    Inheritance
    System.Object
    DataSource
    YearDataSource
    Implements
    ILoopingSelectorDataSource
    System.IDisposable
    Inherited Members
    DataSource.Dispose()
    DataSource.Dispose(Boolean)
    DataSource.GetDatePartCollection(DateTime, Int32, Int32)
    DataSource.GetNext(Object)
    DataSource.GetPrevious(Object)
    DataSource.SelectedItem
    DataSource.SelectionChanged
    DataSource.UpdateMinimumDateTime(DateTime, Int32, Int32, DateTime)
    DataSource.valueWrapper
    Namespace: Syncfusion.UI.Xaml.Primitives
    Assembly: Syncfusion.SfShared.UWP.dll
    Syntax
    [ClassReference(IsReviewed = false, ShouldInclude = false)]
    public class YearDataSource : DataSource, ILoopingSelectorDataSource, IDisposable

    Constructors

    YearDataSource()

    Declaration
    public YearDataSource()

    Methods

    GetRelativeTo(DateTime, Int32)

    Compares the year data with the next.

    Declaration
    protected override Nullable<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
    System.IDisposable

    Extension Methods

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