OLE control methods provide convenient one-time operations to developers. Unlike properties, whose values are persistent over the life of a control, methods represent actions that a control can perform. Often, methods will change the values of other control properties, so be sure to read the Remarks section of each method carefully. The following methods apply to the SRP DatePicker Control:

Method
Description
Version Introduced
EnsureVisibleBrings a date into view. 
EnsureVisibleSelectionBrings the selected date into view. 
ScrollLeftScroll's to previous months. 
ScrollRightScroll's to subsequent months. 
SetDayStylesSets any number of dates and date ranges to the same visual style. 
ShowContextMenuDisplays a context menu at the given mouse point.3.0.1
  • No labels