[]
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.
public sealed class ActiveDateTime : DependencyObject, IDisposable
| 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. |
| Name | Description |
|---|---|
| NowProperty | Identifies the Now dependency property. |
| 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. |
| Name | Description |
|---|---|
| Dispose() | Releases all the resources used by the ActiveDateTime object. |