Repository navigation
Worktime calendar
Working week representation in calendar manner.

Inherits from RecyclerView/UICollectionView.
FontStyleItem DayFontStyle - responsible for day font customization.
FontStyleItem TitleFontStyle - responsible for title font customization.
FontStyleItem CurrentDayFontStyle - responsible for day font customization for current weekday.
DayOfWeek WeekStart - responsible for the first working day.
UIFont
TypeFace TitleFont - responsible for the font of the day title.
UIColor
Color TitleColor - responsible for the color of the day title.
float
int TitleTextSize - responsible for the text size of the day title.
UIFont
TypeFace DayTextFont - responsible for the text font, which will use for the time labels.
float
int DayTextSize - responsible for the size of text, which will use for the time labels.
UIColor
Color DayTextColor - responsible for the color of text, which will use for the time labels.
UIColor
Color CurrentDividerColor - responsible for the color of text, which will use for the time labels.
UIColor
Color CurrentDayBackgroundColor - responsible for the background color of the current day.
UIColor
Color CurrentDayTextColor - responsible for the text color for the current day.
UIColor
Color DayEvenBackgroundColor - responsible for the background color of the even days.
UIColor
Color ColorDividers - responsible for the color of the day and title dividers, for the current day.
IEnumerable Items - collection with schedule data for every working day. Must contain 7 days only, in other cases, you will see an exception.
TimeSpan StartTime - time, when work should begin.
TimeSpan EndTime - time, when work should end.
TimeSpan BreakStartTime - time, when the break should begin.
TimeSpan BreakEndTime - time, when the break should end.
DayOfWeek WeekDay - current weekday.
string ShortWeekDay - short (2 symbols) name of the current weekday.
bool IsDayOff - set true for not working days.
bool HasBreak - indicates about break in a current working day.
Fills all possible width.
For customization on Android platform use WorkTime component. There included all customization fields.
Sample for creating WorkTime in .axml markup for Android:
<EOS.UI.Droid.Components.WorkTime
android:id="@+id/workTime"
android:layout_width="wrap_content"
android:layout_height="wrap_content"/>For iOS WorktimeCalendar can be added only from the .xib/storyboards files. Adding control through code behind doesn't work at the moment.
For work simplifying of WorkTimeCalendar customization, you can find WorkTimeCalendarModel class in the EOS.UI.iOS/Models namespace. This class includes all customization fields and inherits IEOSThemeControl. You should use this class for any customization. Also, you can find WorkTimeCalendarCollectionSource it's our own collection source which adapted for using WorkTimeCalendarModel. WorkTimeCalendarCollectionSource contains WorkTimeCalendarModel in CalendarModel Field.