Xceed Grid for WinForms v4.3 Documentation
HighlightToday Property


Xceed.Editors.v2.6 Assembly > Xceed.Editors Namespace > WinCalendar Class : HighlightToday Property
Gets or sets a boolean value indicating if the present date (DateTime.Now) should be highlighted.
Syntax
'Declaration
 
<DescriptionAttribute("Indicates if the present date (DateTime.Now) should be highlighted.")>
<CategoryAttribute("Appearance")>
<DefaultValueAttribute(True)>
Public Property HighlightToday As Boolean
'Usage
 
Dim instance As WinCalendar
Dim value As Boolean
 
instance.HighlightToday = value
 
value = instance.HighlightToday
[Description("Indicates if the present date (DateTime.Now) should be highlighted.")]
[Category("Appearance")]
[DefaultValue(true)]
public bool HighlightToday {get; set;}

Property Value

true if the present date (DateTime.Now) should be highlighted; false otherwise. By default, true.
Remarks

If true, TodayBackColor and TodayForeColor will be used to highlight the present date.

Requirements

Target Platforms: 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

Reference

WinCalendar Class
WinCalendar Members