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