ShinobiControls Xamarin Bindings Documentation

ShinobiCalendars : Shinobi.Calendars Namespace

SCalendarDelegate Class

An interface to customise the calendar and respond to events.

Syntax

[Foundation.Model]
[Foundation.Protocol]
[Foundation.Register("SCalendarDelegate", true)]
public class SCalendarDelegate : Foundation.NSObject, ISCalendarDelegate, 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.

Public Constructors

Default constructor.

Protected Constructors

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

ShinobiCalendarDoubleTappedDate (ShinobiCalendar, Foundation.NSDate)
Informs the delegate that a date has been double tapped on the calendar.
ShinobiCalendarEventIndicatorImage (ShinobiCalendar, Foundation.NSDate) : UIKit.UIImage
Allows customisation of the event indicators shown in month view.
ShinobiCalendarSelectedEvent (ShinobiCalendar, SCalendarEvent)
Informs the delegate that an event has been tapped on the calendar.
ShinobiCalendarTappedDate (ShinobiCalendar, Foundation.NSDate)
Informs the delegate that a date has been tapped on the calendar.
ShinobiCalendarWillDisplayDayNumberLabel (ShinobiCalendar, UIKit.UILabel)
Implement this method to customise the day number label that represents today before it appears on the calendar.
ShinobiCalendarWillDisplayMonthTitleLabel (ShinobiCalendar, UIKit.UILabel, Foundation.NSDate)
Implement this method to customise the month title labels before they appear on the calendar.
ShinobiCalendarWillDisplayYearTitleLabel (ShinobiCalendar, UIKit.UILabel, Foundation.NSDate)
Implement this method to customise the year title labels before they appear on the calendar.

Extension Methods

static
ShinobiCalendarDoubleTappedDate (this ISCalendarDelegate, ShinobiCalendar, Foundation.NSDate)
Documentation for this section has not yet been entered.
static
ShinobiCalendarEventIndicatorImage (this ISCalendarDelegate, ShinobiCalendar, Foundation.NSDate) : UIKit.UIImage
Documentation for this section has not yet been entered.
static
ShinobiCalendarSelectedEvent (this ISCalendarDelegate, ShinobiCalendar, SCalendarEvent)
Documentation for this section has not yet been entered.
static
ShinobiCalendarTappedDate (this ISCalendarDelegate, ShinobiCalendar, Foundation.NSDate)
Documentation for this section has not yet been entered.
static
ShinobiCalendarWillDisplayDayNumberLabel (this ISCalendarDelegate, ShinobiCalendar, UIKit.UILabel)
Documentation for this section has not yet been entered.
static
ShinobiCalendarWillDisplayMonthTitleLabel (this ISCalendarDelegate, ShinobiCalendar, UIKit.UILabel, Foundation.NSDate)
Documentation for this section has not yet been entered.
static
ShinobiCalendarWillDisplayYearTitleLabel (this ISCalendarDelegate, ShinobiCalendar, UIKit.UILabel, Foundation.NSDate)
Documentation for this section has not yet been entered.

Member Details

SCalendarDelegate Constructor

Default constructor.

Syntax

[Foundation.Export("init")]
[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Advanced)]
public SCalendarDelegate ()

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

SCalendarDelegate Constructor

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

Syntax

[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Advanced)]
protected SCalendarDelegate (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

SCalendarDelegate Constructor

A constructor used when creating managed representations of unmanaged objects.

Syntax

[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Advanced)]
protected SCalendarDelegate (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

ShinobiCalendarDoubleTappedDate Method

Informs the delegate that a date has been double tapped on the calendar.

Syntax

[Foundation.Export("shinobiCalendar:doubleTappedDate:")]
public virtual void ShinobiCalendarDoubleTappedDate (ShinobiCalendar calendar, Foundation.NSDate date)

Parameters

calendar
The calendar instance that the date was tapped on.
date
The date tapped.

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

ShinobiCalendarEventIndicatorImage Method

Allows customisation of the event indicators shown in month view.

Syntax

[Foundation.Export("shinobiCalendar:eventIndicatorImageForDate:")]
public virtual UIKit.UIImage ShinobiCalendarEventIndicatorImage (ShinobiCalendar calendar, Foundation.NSDate date)

Parameters

calendar
The calendar that will display the date.
date
The date that the indicator will be used for.

Returns

An image to use as the event indicator for this date.

Remarks

If this method is not implemented, or if nil is returned, then the calendar will use the default indicator specified in the style.

Requirements

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

ShinobiCalendarSelectedEvent Method

Informs the delegate that an event has been tapped on the calendar.

Syntax

[Foundation.Export("shinobiCalendar:selectedEvent:")]
public virtual void ShinobiCalendarSelectedEvent (ShinobiCalendar calendar, SCalendarEvent e)

Parameters

calendar
The calendar instance that the event was selected on.
e
The event selected.

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

ShinobiCalendarTappedDate Method

Informs the delegate that a date has been tapped on the calendar.

Syntax

[Foundation.Export("shinobiCalendar:tappedDate:")]
public virtual void ShinobiCalendarTappedDate (ShinobiCalendar calendar, Foundation.NSDate date)

Parameters

calendar
The calendar instance that the date was tapped on.
date
The date tapped.

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

ShinobiCalendarWillDisplayDayNumberLabel Method

Implement this method to customise the day number label that represents today before it appears on the calendar.

Syntax

[Foundation.Export("shinobiCalendar:willDisplayDayNumberLabelForToday:")]
public virtual void ShinobiCalendarWillDisplayDayNumberLabel (ShinobiCalendar calendar, UIKit.UILabel todayLabel)

Parameters

calendar
The calendar that the day number label for today is about to be displayed on.
todayLabel
The day number label that represents today and will be displayed on the calendar.

Remarks

Any modifications to this UILabel will be displayed on the calendar.

Requirements

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

ShinobiCalendarWillDisplayMonthTitleLabel Method

Implement this method to customise the month title labels before they appear on the calendar.

Syntax

[Foundation.Export("shinobiCalendar:willDisplayMonthTitleLabel:forMonthStarting:")]
public virtual void ShinobiCalendarWillDisplayMonthTitleLabel (ShinobiCalendar calendar, UIKit.UILabel monthTitleLabel, Foundation.NSDate monthStartDate)

Parameters

calendar
The calendar that the month title label is about to be displayed on.
monthTitleLabel
The month title label that will be displayed on the calendar.
monthStartDate
The start date of the month that the monthTitleLabel represents.

Remarks

Any modifications to this UILabel will be displayed on the calendar.

Requirements

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

ShinobiCalendarWillDisplayYearTitleLabel Method

Implement this method to customise the year title labels before they appear on the calendar.

Syntax

[Foundation.Export("shinobiCalendar:willDisplayYearTitleLabel:forYearStarting:")]
public virtual void ShinobiCalendarWillDisplayYearTitleLabel (ShinobiCalendar calendar, UIKit.UILabel yearTitleLabel, Foundation.NSDate yearStartDate)

Parameters

calendar
The calendar that the year title label is about to be displayed on.
yearTitleLabel
The label that is about to be displayed, and represents the year on the calendar.
yearStartDate
The start date of the year that the yearTitleLabel represents.

Remarks

Any modifications to this UILabel will be displayed on the calendar.

Requirements

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