Visual Basic (Declaration) | |
---|---|
Public Property FocusDate As Nullable(Of Date) |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As DropDownCalendar Dim value As Nullable(Of Date) instance.FocusDate = value value = instance.FocusDate |
C# | |
---|---|
public Nullable<DateTime> FocusDate {get; set;} |
Property Value
A Nullable value that indicates which date has focus.Exception | Description |
---|---|
System.ArgumentNullException | The value cannot be a null reference (Nothing in Visual Basic). |
This property determines where the focus rectangle is displayed in the date view.
Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8