This topic will take you through setting the LastYear property in XAML markup and in code.
In XAML
Add the following XAML markup to the <Xaml:C1DateSelector/> tag to set the LastYear property:
| Example Title |
Copy Code
|
|---|---|
LastYear="1950"
|
|
In Code
Use the following code to set the LastYear property:
| C# |
Copy Code
|
|---|---|
c1dateselect1.LastYear = 1950; |
|
| Visual Basic |
Copy Code
|
|---|---|
c1dateselect1.LastYear = 1950 |
|