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 |
---|---|---|
EnsureVisible | Brings a date into view. | |
EnsureVisibleSelection | Brings the selected date into view. | |
ScrollLeft | Scroll's to previous months. | |
ScrollRight | Scroll's to subsequent months. | |
SetDayStyles | Sets any number of dates and date ranges to the same visual style. | |
ShowContextMenu | Displays a context menu at the given mouse point. | 3.0.1 |