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


In This Topic
    MinValue Property (WinCalendar)
    In This Topic
    Gets or sets the minimum System.DateTime value that can be assigned to the calendar.
    Syntax
    'Declaration
     
    <DescriptionAttribute("The minimum datetime value that can be assigned to the calendar.")>
    <CategoryAttribute("Behavior")>
    <EditorAttribute("Xceed.Editors.Design.CalendarDateTypeUIEditor,Xceed.Editors.v2.6.Design,Version=2.6.25208.5768,Culture=neutral,PublicKeyToken=ba83ff368b7563c6", System.Drawing.Design.UITypeEditor)>
    Public Property MinValue As Date
    'Usage
     
    Dim instance As WinCalendar
    Dim value As Date
     
    instance.MinValue = value
     
    value = instance.MinValue
    [Description("The minimum datetime value that can be assigned to the calendar.")]
    [Category("Behavior")]
    [Editor("Xceed.Editors.Design.CalendarDateTypeUIEditor,Xceed.Editors.v2.6.Design,Version=2.6.25208.5768,Culture=neutral,PublicKeyToken=ba83ff368b7563c6", System.Drawing.Design.UITypeEditor)]
    public DateTime MinValue {get; set;}

    Property Value

    A System.DateTime value representing the minimum DateTime value that can be assigned to the calendar. By default, DefaultMinValue.
    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