Xceed Grid for WinForms v4.3 Documentation
Xceed.Editors.v2.6 Assembly / Xceed.Editors Namespace / WinCalendar Class / GetDayRectangle Method
A System.DateTime value representing the date of day.


In This Topic
    GetDayRectangle Method
    In This Topic
    Retrieves the rectangle of the day represented by the specified date.
    Syntax
    'Declaration
     
    Public Function GetDayRectangle( _
       ByVal date As Date _
    ) As Rectangle
    'Usage
     
    Dim instance As WinCalendar
    Dim date As Date
    Dim value As Rectangle
     
    value = instance.GetDayRectangle(date)
    public Rectangle GetDayRectangle( 
       DateTime date
    )

    Parameters

    date
    A System.DateTime value representing the date of day.

    Return Value

    The System.Drawing.Rectangle structure of the day represented by date.
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also