Duration::LessThanOrEqual Operator (Duration, Duration)
.NET Framework (current version)
Determines if the value of one instance of Duration is less than or equal to the value of another instance.
Assembly: PresentationCore (in PresentationCore.dll)
Parameters
- t1
-
Type:
System.Windows::Duration
The first instance of Duration to compare.
- t2
-
Type:
System.Windows::Duration
The second instance of Duration to compare.
Return Value
Type: System::Booleantrue if both t1 and t2 have values and t1 is less than or equal to t2; otherwise, false.
.NET Framework
Available since 3.0
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Available since 3.0
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Show: