DateTimePicker Properties In VB.NET
What are DateTimePicker Properties?
Explanation
Date Time Picker Properties
Following tables list commonly used Properties, Methods, Events of the Date Time Picker Control in Visual Basic.net 2008.
Properties:
Properties |
Description |
CalendarFont |
Property to set the font for calendar. |
CalendarForeColor |
Property to set or get the foreground color for the calendar. |
CalendarMonthBackGround |
Property to set or get the background color for the calendar month. |
CalendarTitleBacKColor |
Property to get or set background color for the calendar title. |
CalendarTitleForeColor |
Property to get or set foreground color for the calendar title. |
BackColor |
Property to set the background color for the control. |
BindingContext |
Property used to set or get the binding context for the control. |
Checked |
Property used to get or set a value indicating whether the Value property has been set a valid date/time value that can be updated. |
Format |
Property used to set or get the format of the date and time displayed. |
MaxDate |
Property used to set or get the maximum date that can be selected using the control. |
MinDate |
Property used to set or get the minimum date that can be selected using the control. |
ShowCheckBox |
Property used to set or get a value to decide whether to display a check box to the left of the selected date. |
Value |
Property used to set or get the date, time value assigned to the control. |
Width |
Property set width of the control. |
RightToLeft |
Property specifies a value to know whether the text appears from right to left. |
Locked |
Prevents the control being moved at design time. |
Methods:
Method |
Description |
DoDragDrop |
Method used to begin Drag Drop Operation. |
Equals |
Method used to check if two instances of an object are equal. |
FindForm |
Method used to retreive the form the control is on. |
Focus |
Method used to set the input focus on the control. |
Hide |
Method used to hide the control. |
PointToScreen |
Method used to calculate the location of the specified client point into screen coordinates. |
ToString |
Method used to convert this object into its equivalent String value. |
Select |
Method used to select the control. |
Events:
Events |
Description |
DragDown |
Triggered when the dropdown claendar appears. |
CloseUp |
Triggered when the dropdown calendar disappears. |
FormatChanged |
Triggered when the format property is changed. |
ValueChanged |
Triggered when the value property is chnaged. |