共用方式為


CalendarContract.Events.InterfaceConsts.CalendarColor Field

Definition

The color of the calendar.

[Android.Runtime.Register("CALENDAR_COLOR")]
public const string CalendarColor;
[<Android.Runtime.Register("CALENDAR_COLOR")>]
val mutable CalendarColor : string

Field Value

Attributes

Remarks

The color of the calendar. This should only be updated by the sync adapter, not other apps, as changing a calendar's color can adversely affect its display.

Type: INTEGER (color value)

Java documentation for android.provider.CalendarContract.CalendarColumns.CALENDAR_COLOR.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to