Spread WPF 18
GrapeCity.Wpf.SpreadSheet.CellType.Editors Namespace / EmptyRow Enumeration


In This Topic
    EmptyRow Enumeration
    In This Topic
    Specifies how to show the empty week rows in the GcDropDownCalendar.
    Syntax
    'Declaration
     
    <SerializableAttribute()>
    Public Enum EmptyRow 
       Inherits System.Enum
    'Usage
     
    Dim instance As EmptyRow
    [Serializable()]
    public enum EmptyRow : System.Enum 
    Members
    MemberDescription
    AllAtEndEmpty row in the end.
    StartEmptyEmpty row in the start.
    Remarks

    The EmptyRow setting only affects the days layout in Month display mode, and the month displayed should be a February which contains 28 days; the trailing days are the empty week rows.

    For example, when control shows Feb, 1998, it has 28 days in this Feb, and there're totally 42 CalendarDayButtons there. So there are 14 trailing CalendarDayButtons which are in the "Empty Rows". When GcDropDownCalendar.EmptyRow set to GrapeCity.Windows.InputMan.EmptyRow.StartEmpty, it will show one "Empty Row" at the beginning (which contains 7 trailing CalendarDayButtons), and another "Empty Row" at the ending (which contains the rest 7 trailing CalendarDayButtons). When GcDropDownCalendar.EmptyRow set to GrapeCity.Windows.InputMan.EmptyRow.AllAtEnd, it will show all the 14 trailing days at the ending, which means the first 28 CalendarDayButtons represent the Feb 1 to Feb 28, and the 2 "Empty Rows" are from Mar 1 to Mar 14.

    Inheritance Hierarchy

    System.Object
       System.ValueType
          System.Enum
             GrapeCity.Wpf.SpreadSheet.CellType.Editors.EmptyRow

    See Also