[]
        
(Showing Draft Content)

C1.WPF.Schedule.ActiveDateTime

ActiveDateTime Class

The ActiveDateTime class provides the Now dependency property that returns a current date/time and is being updated permanently over a specified period of time.

Inheritance
ActiveDateTime
Implements
Namespace: C1.WPF.Schedule
Assembly: C1.WPF.Schedule.4.6.2.dll
Syntax
public sealed class ActiveDateTime : DependencyObject, IDisposable

Constructors

Name Description
ActiveDateTime()

Initializes the new instance of the ActiveDateTime object.

ActiveDateTime(TimeSpan)

Initializes the new instance of the ActiveDateTime object with the specified interval.

Fields

Name Description
NowProperty

Identifies the Now dependency property.

Properties

Name Description
Aligned

Gets or sets the bool value determining if value of the Now property should be aligned to the nearest millisecond.

Interval

Gets or sets the TimeSpan value determining interval of the Now property refreshing.

Now

Gets a current date/time value.

Methods

Name Description
Dispose()

Releases all the resources used by the ActiveDateTime object.