Version

Format Property

Returns or sets the unit of time expression for the current value.
Syntax
'Declaration
 
Public Property Format As Infragistics.Win.TimeSpanFormat
public Infragistics.Win.TimeSpanFormat Format {get; set;}
Remarks

The Format property can be set by the developer to determine whether the initial value is expressed as weeks, days, hours, or minutes. As the user types different values into the edit portion, the value of the Format property changes accordingly.

The Format property has no bearing on the actual value, but rather determines the unit of time used to depict the value. If the control's value were set (for example) to a TimeSpan of one day, the edit portion would display "24 hrs" with the Format property set to 'Hours', "1 day" with the Format property set to 'Days', or "1440 min" if set to 'Minutes'.

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also