ComponentOne DateTimeEditors for UWP
C1DateSelector Help / C1DateSelector Task-Based Help / Setting the First Year Property
In This Topic
    Setting the First Year Property
    In This Topic

    This topic will take you through setting the FirstYear property in XAML markup and in code.

    In XAML

    Add the following XAML markup to the <Xaml:C1DateSelector/> tag to set the FirstYear property:

    Markup
    Copy Code
    FirstYear="500"
    

     

    In Code

    Use the following code to set the FirstYear property:

    C#
    Copy Code
    c1dateselect1.FirstYear = 500;
    

     

    Visual Basic
    Copy Code
    c1dateselect1.FirstYear = 500
    
    See Also