HtmlForgeX

API Reference

Class

TablerRelativeTimeThreshold

Namespace HtmlForgeX
Assembly HtmlForgeX
Modifiers sealed

Defines a color threshold for relative time age.

Inheritance

  • Object
  • TablerRelativeTimeThreshold

Constructors

public TablerRelativeTimeThreshold(TimeSpan age, TablerColor color) #

Initializes a new instance of the TablerRelativeTimeThreshold class.

Parameters

age System.TimeSpan requiredposition: 0
color HtmlForgeX.TablerColor requiredposition: 1

Properties

public TimeSpan Age { get; } #

Minimum age (inclusive) at which this threshold applies.

public TablerColor Color { get; } #

Color to apply when the age meets or exceeds Age.