Inherits from TKCalendarCellStyle : TKStyleNode : NSObject
Declared in TKCalendarDayCellStyle.h

Overview

A class that represents a day cell’s style.

Properties

allDayEventTextColor

The all day event text color.

@property (nonatomic, strong) UIColor *allDayEventTextColor

Declared In

TKCalendarDayCellStyle.h

defaultSelectionColor

The selection color to be used when useDefaultSelectionStyle is set to YES.

@property (nonatomic, strong) UIColor *defaultSelectionColor

Declared In

TKCalendarDayCellStyle.h

displayEventsAsText

Defines whether to show events as text.

@property (nonatomic) BOOL displayEventsAsText

Declared In

TKCalendarDayCellStyle.h

eventAlignment

The event alignment.

@property (nonatomic) TKCalendarCellAlignment eventAlignment

Discussion

The available alignment modes are specified below:

typedef enum { TKCalendarCellAlignmentLeft // The cell content is aligned to left. TKCalendarCellAlignmentRight // The cell content is aligned to right. TKCalendarCellAlignmentTop // The cell content is aligned to top. TKCalendarCellAlignmentBottom // The cell content is aligned to bottom. TKCalendarCellAlignmentHorizontalCenter // The cell content is aligned horizontally. TKCalendarCellAlignmentVerticalCenter // The cell content is aligned vertically. } TKCalendarCellAlignment;

Declared In

TKCalendarDayCellStyle.h

eventFont

The event font.

@property (nonatomic, strong) UIFont *eventFont

Declared In

TKCalendarDayCellStyle.h

eventInsets

The event instets.

@property (nonatomic) UIEdgeInsets eventInsets

Declared In

TKCalendarDayCellStyle.h

eventOrientation

The event layout orientation.

@property (nonatomic) TKCalendarDayCellEventOrientation eventOrientation

Discussion

The available orientation modes are specified below:

typedef enum { TKCalendarDayCellEventOrientationHorizontal // Events are placed horizontally. TKCalendarDayCellEventOrientationVertical // Events are placed vertically. } TKCalendarDayCellEventOrientation;

Declared In

TKCalendarDayCellStyle.h

eventShape

The event shape.

@property (nonatomic, strong) TKShape *eventShape

Declared In

TKCalendarDayCellStyle.h

eventSpacing

The spacing between events.

@property (nonatomic) CGFloat eventSpacing

Declared In

TKCalendarDayCellStyle.h

eventTextColor

The event text color.

@property (nonatomic, strong) UIColor *eventTextColor

Declared In

TKCalendarDayCellStyle.h

maxEventsCount

Defines the maximal number of events that can be displayed in a single calendar cell.

@property (nonatomic) NSInteger maxEventsCount

Declared In

TKCalendarDayCellStyle.h

stretchEvents

Defines whether to stretch events to fill the available cell area.

@property (nonatomic) BOOL stretchEvents

Declared In

TKCalendarDayCellStyle.h

useDefaultSelectionStyle

Defines whether the default selection style should be used. This style is used in range selection mode.

@property (nonatomic) BOOL useDefaultSelectionStyle

Declared In

TKCalendarDayCellStyle.h

wrapEventText

Defines whether to wrap the event text.

@property (nonatomic) BOOL wrapEventText

Declared In

TKCalendarDayCellStyle.h