Gets or sets a year component of DateTime. This is a dependency property.

Namespace:  C1.WPF.C1Schedule
Assembly:  C1.WPF.C1Schedule (in C1.WPF.C1Schedule.dll)

Syntax

C#
[DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Hidden)]
[BrowsableAttribute(false)]
public int Year { get; set; }
Visual Basic (Declaration)
<DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Hidden)> _
<BrowsableAttribute(False)> _
Public Property Year As Integer
	Get
	Set

Remarks

Changing this property value explicitly or implicitly via the DateTime or Date properties forces the control to refresh its UI so as to represent an updated month of a year.

This is a dependency property.

See Also