ShinobiControls Xamarin Bindings Documentation

ShinobiCalendars : Shinobi.Calendars Namespace

SCalendarDataSource Class

An interface to inform the calendar which indicators and events the view should display.

Syntax

[Foundation.Model]
[Foundation.Protocol]
[Foundation.Register("SCalendarDataSource", true)]
public abstract class SCalendarDataSource : Foundation.NSObject, ISCalendarDataSource, IDisposable

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: Shinobi.Calendars
Assembly: ShinobiCalendars (in ShinobiCalendars.dll)
Assembly Versions: 1.0.0.7

Members

See Also: Inherited members from Foundation.NSObject.

Protected Constructors

Default constructor.
Constructor to call on derived classes to skip initialization and merely allocate the object.
A constructor used when creating managed representations of unmanaged objects.

Public Methods

abstract
ShinobiCalendarEvents (ShinobiCalendar, Foundation.NSDate) : SCalendarEvent[]
Implement this method and provide an array of SCalendarEvent objects for each day to display events on that day.
abstract
ShinobiCalendarEventView (ShinobiCalendar, SCalendarEvent) : SCalendarEventView
Asks the data source for an event view to use for a particular event in the calendar.

Member Details

SCalendarDataSource Constructor

Default constructor.

Syntax

[Foundation.Export("init")]
[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Advanced)]
protected SCalendarDataSource ()

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: Shinobi.Calendars
Assembly: ShinobiCalendars (in ShinobiCalendars.dll)
Assembly Versions: 1.0.0.7

SCalendarDataSource Constructor

Constructor to call on derived classes to skip initialization and merely allocate the object.

Syntax

[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Advanced)]
protected SCalendarDataSource (Foundation.NSObjectFlag t)

Parameters

t
Unused sentinel value

Remarks

You should not invoke this method directly.

Requirements

Namespace: Shinobi.Calendars
Assembly: ShinobiCalendars (in ShinobiCalendars.dll)
Assembly Versions: 1.0.0.7

SCalendarDataSource Constructor

A constructor used when creating managed representations of unmanaged objects.

Syntax

[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Advanced)]
protected SCalendarDataSource (IntPtr handle)

Parameters

handle
Handle of the unmanaged object

Remarks

You should not invoke this method directly.

Requirements

Namespace: Shinobi.Calendars
Assembly: ShinobiCalendars (in ShinobiCalendars.dll)
Assembly Versions: 1.0.0.7

ShinobiCalendarEvents Method

Implement this method and provide an array of SCalendarEvent objects for each day to display events on that day.

Syntax

[Foundation.Export("shinobiCalendar:eventsForDate:")]
public abstract SCalendarEvent[] ShinobiCalendarEvents (ShinobiCalendar calendar, Foundation.NSDate date)

Parameters

calendar
The calendar that the events will be displayed on.
date
The date that the events will be displayed on.

Returns

An array of SCalendarEvent objects.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: Shinobi.Calendars
Assembly: ShinobiCalendars (in ShinobiCalendars.dll)
Assembly Versions: 1.0.0.7

ShinobiCalendarEventView Method

Asks the data source for an event view to use for a particular event in the calendar.

Syntax

[Foundation.Export("shinobiCalendar:eventViewForEvent:")]
public abstract SCalendarEventView ShinobiCalendarEventView (ShinobiCalendar calendar, SCalendarEvent e)

Parameters

calendar
A Calendar object requesting the view.
e
The event that the view should represent.

Returns

An object inheriting from SCalendarWeekEventView that the calendar can use for the specified event. An assertion is raised if you return nil.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: Shinobi.Calendars
Assembly: ShinobiCalendars (in ShinobiCalendars.dll)
Assembly Versions: 1.0.0.7