Show / Hide Table of Contents

Class IgbCalendar

Represents a calendar that lets users to select a date value in a variety of different ways. when calendar orientation is vertical.

Inheritance
System.Object
BaseRendererControl
IgbCalendarBase
IgbCalendar
Implements
JsonSerializable
System.IDisposable
Inherited Members
IgbCalendarBase.Selection
IgbCalendarBase.ShowWeekNumbers
IgbCalendarBase.WeekStart
IgbCalendarBase.Locale
IgbCalendarBase.DisabledDates
IgbCalendarBase.SpecialDates
BaseRendererControl._cachedSerializedContent
BaseRendererControl.ToSpinal(String)
BaseRendererControl.TransformSimpleKey(String)
BaseRendererControl.IsTransformedEnumValue(String)
BaseRendererControl.TransformPotentialEnumValue(String, Object)
BaseRendererControl.BuildSequenceInfo(Int32)
BaseRendererControl.BuildRenderTree(RenderTreeBuilder)
BaseRendererControl.TemplateContentType(String)
BaseRendererControl.OnAfterRenderAsync(Boolean)
BaseRendererControl.EnsureReady()
BaseRendererControl.MarkPropDirty(String)
BaseRendererControl.IsPropDirty(String)
BaseRendererControl.Serialize(SerializationContext, String)
BaseRendererControl.Serialize()
BaseRendererControl.InvokeMethod(String, Object[], String[], ElementReference[])
BaseRendererControl.InvokeMethodSync(String, Object[], String[], ElementReference[])
BaseRendererControl.SuspendNotifications(Object)
BaseRendererControl.ResumeNotifications(Object)
BaseRendererControl.NotifyInsertItem(Object, Int32, Object)
BaseRendererControl.NotifyRemoveItem(Object, Int32, Object)
BaseRendererControl.NotifyClearItems(Object)
BaseRendererControl.NotifySetItem(Object, Int32, Object, Object)
BaseRendererControl.NotifyUpdateItem(Object, Int32, Object, Boolean)
BaseRendererControl.OnRefChanged(String, Object)
BaseRendererControl.OnInvokeReturn(Int64, Object)
BaseRendererControl.Camelize(String)
BaseRendererControl.ToPascal(String)
BaseRendererControl.OnElementNameChanged(BaseRendererElement, String, String)
BaseRendererControl.Dispose(Boolean)
BaseRendererControl.SetResourceStringAsync(String, String, String)
BaseRendererControl.SetResourceStringAsync(String, String)
BaseRendererControl.SetPropertyValue(Object, PropertyInfo, JsonElement)
BaseRendererControl.SetPropertyValue(Object, PropertyInfo, Object)
BaseRendererControl.Finalize()
BaseRendererControl.Dispose()
BaseRendererControl.IgBlazor
BaseRendererControl.Height
BaseRendererControl.Width
BaseRendererControl.Class
BaseRendererControl.AdditionalAttributes
BaseRendererControl.ParentTypeName
BaseRendererControl.ChildContent
BaseRendererControl.NeedsDynamicContent
BaseRendererControl.UseCamelEnumValues
Namespace: IgniteUI.Blazor.Controls
Assembly: IgniteUI.Blazor.dll
Syntax
public class IgbCalendar : IgbCalendarBase, RefSink, JsonSerializable, IDisposable

Constructors

IgbCalendar()

Declaration
public IgbCalendar()

Properties

ActiveDate

Sets the date which is shown in view and is highlighted. By default it is the current date.

Declaration
public DateTime ActiveDate { get; set; }
Property Value
Type Description
System.DateTime

ActiveView

The active view.

Declaration
public CalendarActiveView ActiveView { get; set; }
Property Value
Type Description
CalendarActiveView

Change

Declaration
public EventCallback<IgbComponentDataValueChangedEventArgs> Change { get; set; }
Property Value
Type Description
Microsoft.AspNetCore.Components.EventCallback<IgbComponentDataValueChangedEventArgs>

ChangeScript

Declaration
public string ChangeScript { get; set; }
Property Value
Type Description
System.String

DirectRenderElementName

Declaration
protected override string DirectRenderElementName { get; }
Property Value
Type Description
System.String
Overrides
BaseRendererControl.DirectRenderElementName

FormatOptions

The options used to format the months and the weekdays in the calendar views.

Declaration
public IgbCalendarFormatOptions FormatOptions { get; set; }
Property Value
Type Description
IgbCalendarFormatOptions

HeaderOrientation

The orientation of the header.

Declaration
public CalendarHeaderOrientation HeaderOrientation { get; set; }
Property Value
Type Description
CalendarHeaderOrientation

HideHeader

Determines whether the calendar hides its header. Even if set to false, the header is not displayed for multiple selection.

Declaration
public bool HideHeader { get; set; }
Property Value
Type Description
System.Boolean

HideOutsideDays

Controls the visibility of the dates that do not belong to the current month.

Declaration
public bool HideOutsideDays { get; set; }
Property Value
Type Description
System.Boolean

Orientation

The orientation of the multiple months displayed in days view.

Declaration
public CalendarOrientation Orientation { get; set; }
Property Value
Type Description
CalendarOrientation

ResourceStrings

The resource strings.

Declaration
public IgbCalendarResourceStrings ResourceStrings { get; set; }
Property Value
Type Description
IgbCalendarResourceStrings

Size

Declaration
public SizableComponentSize Size { get; set; }
Property Value
Type Description
SizableComponentSize

SupportsVisualChildren

Declaration
protected override bool SupportsVisualChildren { get; }
Property Value
Type Description
System.Boolean
Overrides
BaseRendererControl.SupportsVisualChildren

Type

Declaration
public override string Type { get; }
Property Value
Type Description
System.String
Overrides
IgbCalendarBase.Type

UseDirectRender

Declaration
protected override bool UseDirectRender { get; }
Property Value
Type Description
System.Boolean
Overrides
BaseRendererControl.UseDirectRender

Value

Declaration
public DateTime Value { get; set; }
Property Value
Type Description
System.DateTime

ValueChanged

Declaration
public EventCallback<DateTime> ValueChanged { get; set; }
Property Value
Type Description
Microsoft.AspNetCore.Components.EventCallback<System.DateTime>

Values

Declaration
public DateTime[] Values { get; set; }
Property Value
Type Description
System.DateTime[]

ValuesChanged

Declaration
public EventCallback<DateTime[]> ValuesChanged { get; set; }
Property Value
Type Description
Microsoft.AspNetCore.Components.EventCallback<System.DateTime[]>

VisibleMonths

The number of months displayed in days view.

Declaration
public double VisibleMonths { get; set; }
Property Value
Type Description
System.Double

Methods

EnsureModulesLoaded()

Declaration
protected override void EnsureModulesLoaded()
Overrides
IgbCalendarBase.EnsureModulesLoaded()

FindByName(String)

Declaration
public override object FindByName(string name)
Parameters
Type Name Description
System.String name
Returns
Type Description
System.Object
Overrides
IgbCalendarBase.FindByName(String)

GetCurrentValue()

Declaration
public DateTime GetCurrentValue()
Returns
Type Description
System.DateTime

GetCurrentValueAsync()

Declaration
public Task<DateTime> GetCurrentValueAsync()
Returns
Type Description
System.Threading.Tasks.Task<System.DateTime>

GetCurrentValues()

Declaration
public DateTime[] GetCurrentValues()
Returns
Type Description
System.DateTime[]

GetCurrentValuesAsync()

Declaration
public Task<DateTime[]> GetCurrentValuesAsync()
Returns
Type Description
System.Threading.Tasks.Task<System.DateTime[]>

ResolveDisplay()

Declaration
protected override string ResolveDisplay()
Returns
Type Description
System.String
Overrides
IgbCalendarBase.ResolveDisplay()

SetCustomizedStringAsync(String, Dictionary<String, String>)

Provide a new set of localized strings to use for a given languange.

Declaration
public Task<object> SetCustomizedStringAsync(string language, Dictionary<string, string> values)
Parameters
Type Name Description
System.String language

The browser language the strings will be used with. I.e. "ja", "en", "fr", etc.

System.Collections.Generic.Dictionary<System.String, System.String> values

The new string value.

Returns
Type Description
System.Threading.Tasks.Task<System.Object>

SetCustomizedStringAsync(String, String)

Provide a new set of localized strings to use for a given languange.

Declaration
public Task<object> SetCustomizedStringAsync(string language, string json)
Parameters
Type Name Description
System.String language

The browser language the strings will be used with. I.e. "ja", "en", "fr", etc.

System.String json

The new string values in json format.

Returns
Type Description
System.Threading.Tasks.Task<System.Object>

SetCustomizedStringAsync(String, String, String)

Provide a new set of localized strings to use for a given languange.

Declaration
public Task<object> SetCustomizedStringAsync(string language, string id, string value)
Parameters
Type Name Description
System.String language

The browser language the strings will be used with. I.e. "ja", "en", "fr", etc.

System.String id

The id of the string to set.

System.String value

The new string value.

Returns
Type Description
System.Threading.Tasks.Task<System.Object>

Implements

JsonSerializable
System.IDisposable