Class TimeInterval
Inheritance
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.Scheduler.dll
Syntax
public class TimeInterval : INotifyPropertyChanged, IEquatable<TimeInterval>
Constructors
TimeInterval(TimeSpan, TimeSpan)
Initializes a new instance of the TimeInterval class.
Declaration
public TimeInterval(TimeSpan start, TimeSpan end)
Parameters
System.TimeSpan
start
The start. |
System.TimeSpan
end
The end. |
Fields
Day
DefaultWorkTime
Empty
Properties
Duration
Gets or sets the work time duration.
Declaration
public virtual TimeSpan Duration { get; set; }
Property Value
System.TimeSpan
The duration. |
End
Gets or sets the end of the work time.
Declaration
public virtual TimeSpan End { get; set; }
Property Value
System.TimeSpan
The end. |
PropertyChangedAction
Gets or sets the property changed action.
Declaration
public Action<string> PropertyChangedAction { get; set; }
Property Value
System.Action<System.String>
The property changed action. |
Start
Gets or sets the start of the work time.
Declaration
public virtual TimeSpan Start { get; set; }
Property Value
System.TimeSpan
The start. |
Methods
Clone()
Equals(Object)
Determines whether the specified System.Object is equal to this instance.
Declaration
public override bool Equals(object obj)
Parameters
System.Object
obj
The System.Object to compare with this instance. |
Returns
System.Boolean
|
Overrides
Exceptions
System.NullReferenceException
The |
Equals(TimeInterval)
Indicates whether the current object is equal to another object of the same type.
Declaration
public bool Equals(TimeInterval other)
Parameters
TimeInterval
other
An object to compare with this object. |
Returns
System.Boolean
true if the current object is equal to the |
Implements
GetHashCode()
Returns a hash code for this instance.
Declaration
public override int GetHashCode()
Returns
System.Int32
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
System.String
propertyName
Name of the property. |
Events
PropertyChanged
Occurs when a property is changed.
Declaration
public event PropertyChangedEventHandler PropertyChanged
Event Type
System.ComponentModel.PropertyChangedEventHandler
|