Click or drag to resize
Duration Structure
Implements structure for animation duration

Namespace: EmptyKeys.UserInterface
Assembly: EmptyKeys.UserInterface (in EmptyKeys.UserInterface.dll) Version: 2.5.0.0 (2.5.0.0)
Syntax
C#
public struct Duration

The Duration type exposes the following members.

Constructors
  NameDescription
Public methodDuration
Initializes a new instance of the Duration structure.
Top
Properties
  NameDescription
Public propertyStatic memberAutomatic
Gets the automatic duration
Public propertyStatic memberForever
Gets the forever duration
Public propertyHasTimeSpan
Gets a value indicating whether this instance has time span.
Public propertyTimeSpan
Gets the time span.
Top
Methods
  NameDescription
Public methodAdd
Adds the specified duration.
Public methodStatic memberCompare
Compares the specified t1 duration to t2
Public methodEquals(Object)
Tests if this instance is equal to the specified value.
(Overrides ValueTypeEquals(Object).)
Public methodEquals(Duration)
Tests if this instance is equal to the specified duration.
Public methodStatic memberEquals(Duration, Duration)
Tests if the specified t1 duration is equal to t2 duration
Public methodGetHashCode
Returns a hash code for this instance.
(Overrides ValueTypeGetHashCode.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodSubtract
Subtracts the specified duration.
Public methodToString
Returns a String that represents this instance.
(Overrides ValueTypeToString.)
Top
Operators
  NameDescription
Public operatorStatic memberAddition
Implements the operator +.
Public operatorStatic memberEquality
Implements the operator ==.
Public operatorStatic memberGreaterThan
Implements the operator >.
Public operatorStatic memberGreaterThanOrEqual
Implements the operator >=.
Public operatorStatic member(TimeSpan to Duration)
Performs an implicit conversion from TimeSpan to Duration.
Public operatorStatic memberInequality
Implements the operator !=.
Public operatorStatic memberLessThan
Implements the operator <.
Public operatorStatic memberLessThanOrEqual
Implements the operator <=.
Public operatorStatic memberSubtraction
Implements the operator -.
Public operatorStatic memberUnaryPlus
Implements the operator +.
Top
See Also