New to Telerik UI for WinFormsStart a free 30-day trial

Holiday

Class

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.Scheduler.dll

Syntax:

C#
public class Holiday : INotifyPropertyChanged

Inheritance: objectHoliday

Implements: INotifyPropertyChanged

Constructors

C#
public Holiday()
C#
public Holiday(DateTime date, string holidayName, string location)
Parameters:dateDateTimeholidayNamestringlocationstring
C#
public Holiday(DateTime date, string holidayName)
Parameters:dateDateTimeholidayNamestring
C#
public Holiday(DateTime date)
Parameters:dateDateTime

Properties

Date for the Holidays (time part will be ignored).

C#
public DateTime Date { get; set; }

Name of the Holiday

C#
public string HolidayName { get; set; }

Location of the holiday.

C#
public string Location { get; set; }

Methods

C#
public void OnPropertyChanged(string propertyName)
Parameters:propertyNamestring
C#
public override string ToString()
Returns:

string

Overrides: object.ToString()

Events

Fires when Date or Holiday Name or Location changed.

C#
public event PropertyChangedEventHandler PropertyChanged

Implements: INotifyPropertyChanged.PropertyChanged