Click or drag to resize
PeriodSpan Class
ViewModel that represents a time period.
Inheritance Hierarchy

Namespace: Telerik.Windows.Controls.TimeBar
Assembly: Telerik.Windows.Controls.DataVisualization (in Telerik.Windows.Controls.DataVisualization.dll) Version: 2014.3.1202.1050 (2014.3.1202.1050)
Syntax
public class PeriodSpan : ViewModelBase, IComparable, 
	IComparable<DateTime>, IComparable<PeriodSpan>, IPeriodSpan

The PeriodSpan type exposes the following members.

Constructors
  NameDescription
Public methodPeriodSpan
Initializes a new instance of the PeriodSpan class.
Top
Methods
  NameDescription
Public methodCompareTo(DateTime)
Compares the current instance with another DateTime and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object.
Public methodCompareTo(Object)
Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object.
Public methodCompareTo(PeriodSpan)
Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object.
Public methodDispose
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
(Inherited from ViewModelBase.)
Protected methodDispose(Boolean)
Releases unmanaged and - optionally - managed resources.
(Inherited from ViewModelBase.)
Public methodEquals
Determines whether the specified Object is equal to this instance.
(Overrides ObjectEquals(Object).)
Public methodGetHashCode
Returns a hash code for this instance.
(Overrides ObjectGetHashCode.)
Protected methodOnPropertyChanged(String)
Raises this object's PropertyChanged event.
(Inherited from ViewModelBase.)
Protected methodOnPropertyChangedT(ExpressionFuncT)
Raises this object's PropertyChanged event.
(Inherited from ViewModelBase.)
Protected methodVerifyPropertyName
Warns the developer if this object does not have a public property with the specified name. This method does not exist in a Release build.
(Inherited from ViewModelBase.)
Top
Operators
  NameDescription
Public operatorStatic memberEquality
The equality operator (==) returns true if its operands refer to the same PeriodSpan object, false otherwise.
Public operatorStatic memberGreaterThan
The "greater than" relational operator (>) returns true if the first operand is greater than the second, false otherwise.
Public operatorStatic memberInequality
The inequality operator (!=) returns false if its operands are equal, true otherwise.
Public operatorStatic memberLessThan
The "less than" relational operator (<) returns true if the first operand is less than the second, false otherwise.
Top
Properties
  NameDescription
Public propertyEndDate
Gets the end of the time period.
Public propertyInterval
Gets the span of the time period.
Public propertyLabel
Gets or sets the label that represents the time period.
Public propertyStartDate
Gets the start of the time period.
Public propertyTicks
Gets the span of the time period in Ticks.
Top
Events
  NameDescription
Public eventPropertyChanged
Raised when a property on this object has a new value.
(Inherited from ViewModelBase.)
Top
See Also