Spread Windows Forms 17
GrapeCity.Win.PluginInputMan Assembly / GrapeCity.Win.Spread.InputMan.CellType Namespace / DropDownCalendar Class / DateFromPoint Method / DateFromPoint(Point) Method
The value of the System.Drawing.Point type.


In This Topic
    DateFromPoint(Point) Method
    In This Topic
    Gets a date according to the given point.
    Syntax
    'Declaration
     
    
    Public Overloads Function DateFromPoint( _
       ByVal point As Point _
    ) As Nullable(Of Date)
    'Usage
     
    
    Dim instance As DropDownCalendar
    Dim point As Point
    Dim value As Nullable(Of Date)
     
    value = instance.DateFromPoint(point)
    public Nullable<DateTime> DateFromPoint( 
       Point point
    )

    Parameters

    point
    The value of the System.Drawing.Point type.

    Return Value

    The Nullable type used to express the current date.
    Remarks
    This method can retrieve a date from a special point. If the given point is not contained in the DropDownCalendar view, a a null reference (Nothing in Visual Basic) value is returned.
    See Also