[]
        
(Showing Draft Content)

GrapeCity.Wpf.SpreadSheet.CellType.Editors.GcDropDownCalendar.AllowSelection

AllowSelection Property

AllowSelection

Gets or sets the days for the day type allowed to select. This is a dependency property.

Declaration
public AllowSelection AllowSelection { get; set; }
Public Property AllowSelection As AllowSelection
Property Value
Type Description
AllowSelection

An GrapeCity.Windows.InputMan.AllowSelection enumeration value indicates what type of day is allowed to select.

Remarks

GrapeCity.Windows.InputMan.AllowSelection.AnyDay indicates all days are allowed to select; GrapeCity.Windows.InputMan.AllowSelection.Holiday indicates all holidays are allowed to select, such as the dates which are defined GrapeCity.Windows.InputMan.Holiday, GrapeCity.Windows.InputMan.DayOfWeekHoliday, GrapeCity.Windows.InputMan.ForceHoliday, GrapeCity.Windows.InputMan.ForceDayOfWeekHoliday, GrapeCity.Windows.InputMan.WeeklyHoliday and the overridden holidays. GrapeCity.Windows.InputMan.AllowSelection.Workday indicates all workdays are allowed to select, normal days are workdays, and days which are defined GrapeCity.Windows.InputMan.ForceWorkday, GrapeCity.Windows.InputMan.ForceDayOfWeekWorkday.

Exceptions
Type Condition
ArgumentException

Occurs when value set to the AllowSelection property is undefined in the GrapeCity.Windows.InputMan.AllowSelection enumeration.