Repaints the entire control.
| C# | void object.Refresh(); |
| VB.NET | object.Refresh() |
| C++ | HRESULT object->Refresh(); |
| C | HRESULT object->raw_Refresh(); |
object
The Refresh method repaints the entire control. p Painting a control is handled automatically while no events are occurring. However, there may be situations where you want the control updated immediately. To format the days of a calendar again (the DayFormatting event), use Calendar.RefreshDays instead.
See Also SftDate Object | Object Hierarchy