Skip to end of metadata
Go to start of metadata

Represents the calendar item control.

Definition

public class CalendarItem : LinearLayout

Summary

The following table summarizes the members exposed in this class.

Public Constructors

CalendarItem Constructor(Context) Initializes a new instance of the CalendarItem class.
CalendarItem Constructor(Context, IAttributeSet) Initializes a new instance of the CalendarItem class.
CalendarItem Constructor(Context, IAttributeSet, int) Initializes a new instance of the CalendarItem class.

Protected Constructors

Public Properties

BindingDescription Gets or sets the binding description.
Date Gets or sets the date.
DayText Gets or sets the day text.
Event Gets or sets the event.
HasEvent Gets or sets a value indicating whether the item has event.
IsCurrentMonth Gets or sets a value indicating whether the item displaying the current month.
IsToday Gets or sets a value indicating whether the item displaying the current day.
Selected Gets or sets a value indicating whether the item is selected.

Protected Methods

OnCreateDrawableState(int) Generate the new drawable state for this view.
OnDetachedFromWindow() This is called when the view is detached from a window.

Public Constructors

public CalendarItem(Context context)

Initializes a new instance of the CalendarItem class.

Parameters

context The context.

public CalendarItem(Context context, IAttributeSet attrs)

Initializes a new instance of the CalendarItem class.

Parameters

context The context.
attrs The attributes.

public CalendarItem(Context context, IAttributeSet attrs, int defStyle)

Initializes a new instance of the CalendarItem class.

Parameters

context The context.
attrs The attributes.
defStyle The style.

Protected Constructors

protected CalendarItem(IntPtr javaReference, JniHandleOwnership transfer)

Initializes the CalendarItem class.

Parameters

javaReference The java reference.
transfer The jni handle ownership.

Public Properties

public CalendarEventBindingDescription BindingDescription { get; set; }

Gets or sets the binding description.

public DateTime Date { get; set; }

Gets or sets the date.

public string DayText { get; set; }

Gets or sets the day text.

public CalendarEvent Event { get; set; }

Gets or sets the event.

public bool HasEvent { get; set; }

Gets or sets a value indicating whether the item has event.

public bool IsCurrentMonth { get; set; }

Gets or sets a value indicating whether the item displaying the current month.

public bool IsToday { get; set; }

Gets or sets a value indicating whether the item displaying the current day.

public bool Selected { get; set; }

Gets or sets a value indicating whether the item is selected.

Protected Methods

protected Int32[] OnCreateDrawableState(int extraSpace)

Generate the new drawable state for this view.

Parameters

extraSpace The extra space.

Return Types

The drawable state.

protected void OnDetachedFromWindow()

This is called when the view is detached from a window.

  • No labels