IsToday Property

CalendarDayButton.IsToday Property

.NET Framework 4.6 and 4.5

Gets a value that indicates whether the date represented by this button is the current date.

Namespace:   System.Windows.Controls.Primitives
Assembly:  PresentationFramework (in PresentationFramework.dll)

public bool IsToday { get; }

Property Value

Type: System.Boolean

true if the date is the current date; otherwise, false.

.NET Framework
Available since 4.0
Return to top
© 2015 Microsoft