Xceed Grid for WinForms v4.3 Documentation
Xceed.Editors.v2.6 Assembly / Xceed.Editors Namespace / WinCalendar Class
Members


In This Topic
    WinCalendar Class
    In This Topic
    The WinCalendar class represents an extensible and themable calendar control for Windows Forms.
    Syntax
    'Declaration
     
    <ToolboxItemAttribute(True)>
    <DefaultEventAttribute("SelectedDateChanged")>
    <DefaultPropertyAttribute("Value")>
    <DesignerAttribute("Xceed.Editors.Design.WinCalendarDesigner,Xceed.Editors.v2.6.Design,Version=2.6.25208.5768,Culture=neutral,PublicKeyToken=ba83ff368b7563c6")>
    <ToolboxBitmapAttribute(Xceed.Editors.WinCalendar)>
    <DesignerSerializerAttribute("System.Windows.Forms.Design.ControlCodeDomSerializer, System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", "System.ComponentModel.Design.Serialization.CodeDomSerializer, System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")>
    <ToolboxItemFilterAttribute("System.Windows.Forms")>
    <DesignerCategoryAttribute("Component")>
    Public Class WinCalendar 
       Inherits Xceed.UI.ThemedContainerControl
       Implements ISupportIntegralResizingXceed.UI.IKeyboardHandlingXceed.UI.IThemed 
    'Usage
     
    Dim instance As WinCalendar
    [ToolboxItem(true)]
    [DefaultEvent("SelectedDateChanged")]
    [DefaultProperty("Value")]
    [Designer("Xceed.Editors.Design.WinCalendarDesigner,Xceed.Editors.v2.6.Design,Version=2.6.25208.5768,Culture=neutral,PublicKeyToken=ba83ff368b7563c6")]
    [ToolboxBitmap(Xceed.Editors.WinCalendar)]
    [DesignerSerializer("System.Windows.Forms.Design.ControlCodeDomSerializer, System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", "System.ComponentModel.Design.Serialization.CodeDomSerializer, System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
    [ToolboxItemFilter("System.Windows.Forms")]
    [DesignerCategory("Component")]
    public class WinCalendar : Xceed.UI.ThemedContainerControl, ISupportIntegralResizingXceed.UI.IKeyboardHandlingXceed.UI.IThemed  
    Remarks

    The WinCalendar class represents an extensible and themable calendar control for Windows Forms which can display one or many month calendars. It supports regional settings, as well as both the Windows XP and classic Windows themes, and can adapt to the current regional settings and Windows theme. The WinCalendar control can contain any of the Xceed editors as well as any other .NET control.

    The following table provides a list of the keys which can be used to navigate within the WinCalendar control:

    Left/Right The current day will be moved to the previous/next day.
    Up/Down The current day will be moved to the previous/next week.
    PageUp/PageDown The previous/next group of months will be brought into view.
    Escape Cancels the navigation of the current day and resets it to the last selected day.
    Space Selects the current day (which also becomes the SelectedDate).

    Inheritance Hierarchy

    System.Object
       System.MarshalByRefObject
          System.ComponentModel.Component
             System.Windows.Forms.Control
                System.Windows.Forms.ScrollableControl
                   System.Windows.Forms.ContainerControl
                      Xceed.UI.ThemedContainerControl
                         Xceed.Editors.WinCalendar

    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