Class HolidayModel
Class that defines holiday model.
Inheritance
System.Object
HolidayModel
Implements
System.IEquatable<HolidayModel>
Namespace: Syncfusion.Blazor.Gantt
Assembly: Syncfusion.Blazor.dll
Syntax
public class HolidayModel : Object, IEquatable<HolidayModel>
Constructors
HolidayModel()
Declaration
public HolidayModel()
Properties
CssClass
Defines custom css class of holiday to customize background and label.
Declaration
public string CssClass { get; set; }
Property Value
Type | Description |
---|---|
System.String |
From
Defines start date of holiday.
Declaration
public object From { get; set; }
Property Value
Type | Description |
---|---|
System.Object |
Label
Defines label of holiday.
Declaration
public string Label { get; set; }
Property Value
Type | Description |
---|---|
System.String |
To
Defines end date of holiday.
Declaration
public object To { get; set; }
Property Value
Type | Description |
---|---|
System.Object |
Methods
Equals(HolidayModel)
Returns boolean value by comparing holidayModel
Declaration
public bool Equals(HolidayModel holidayModel)
Parameters
Type | Name | Description |
---|---|---|
HolidayModel | holidayModel |
Returns
Type | Description |
---|---|
System.Boolean |
Equals(Object)
Returns boolean value by comparing object
Declaration
public override bool Equals(object obj)
Parameters
Type | Name | Description |
---|---|---|
System.Object | obj |
Returns
Type | Description |
---|---|
System.Boolean |
GetHashCode()
Returns hashcode for current object
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
System.Int32 |
Implements
System.IEquatable<>