ClassTimeInterval
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.Scheduler.dll
Syntax:
public class TimeInterval : INotifyPropertyChanged, IEquatable<TimeInterval>
Inheritance: objectTimeInterval
Implements:
Constructors
TimeInterval(TimeSpan, TimeSpan)
Initializes a new instance of the TimeInterval class.
Fields
DefaultWorkTime
Declaration
public static readonly TimeInterval DefaultWorkTime
Field Value
Properties
Duration
Gets or sets the work time duration.
Declaration
public virtual TimeSpan Duration { get; set; }
Property Value
The duration.
End
Gets or sets the end of the work time.
Declaration
public virtual TimeSpan End { get; set; }
Property Value
The end.
PropertyChangedAction
Gets or sets the property changed action.
Methods
Clone()
Clones this instance.
Equals(TimeInterval)
Indicates whether the current object is equal to another object of the same type.
Declaration
public bool Equals(TimeInterval other)
Parameters
other
An object to compare with this object.
Returns
true if the current object is equal to the other parameter; otherwise, false.
Implements
Equals(object)
Determines whether the specified object is equal to this instance.
GetHashCode()
Returns a hash code for this instance.
Declaration
public override int GetHashCode()
Returns
A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table.
Overrides
OnPropertyChanged(string)
Called when a property is changed.
Declaration
protected virtual void OnPropertyChanged(string propertyName)
Parameters
propertyName
Name of the property.
Events
PropertyChanged
Occurs when a property is changed.
Declaration
public event PropertyChangedEventHandler PropertyChanged
Event Value
Implements