Android Example [B4X] AS Scheduler - DayView

The following thread lists all the features that the DayView of the AS_Scheduler has.


Appointments Overview
Feature overview.png

Appointment OverviewGap
The OverviewGap is always 8dip and it's per default enabled
ASScheduler_DayView1.AppointmentProperties.OverviewGap = True
(46) mage.png

Blackout Day
A blackout day is a day where the user cannot add appointments. The day is blocked for interactions.
    Dim BlackoutStartDate As Long = WeekStartDate+DateTime.TicksPerDay*5
    ASSchedulerUtils.API.CreateBlackout(ASSchedulerUtils.CreateASScheduler_Blackout(0,BlackoutStartDate,BlackoutStartDate+DateTime.TicksPerDay))'2 days
(46) mage.png

Working Hours
Defines a visual area that should represent working times. Appointments can still be created outside the area as usual.
ASScheduler_DayView1.WorkingProperties.Active = True
ASScheduler_DayView1.WorkingProperties.StartHour = 8
ASScheduler_DayView1.WorkingProperties.EndHour = 17
ASScheduler_DayView1.WorkingProperties.NonWorkingDays = Array As Int(ASSchedulerUtils.WeekDay_Saturday,ASSchedulerUtils.WeekDay_Sunday)
(46) mage.png

ShowStartEndTime and ShowDuration
Better overview of the time and duration of an appointment.
    ASScheduler_DayView1.AppointmentProperties.ShowDuration = True
    ASScheduler_DayView1.AppointmentProperties.ShowStartEndTime = True

(46) mage.png

Week Number and Month Name
In the designer you can set whether you want to have the week number and or the month name displayed.
(46) mage.png

You can switch seamlessly from dark design to light design.
Have a look at the following thread:
Last edited: