alexa
menu

Blazor

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Search Results for

    Show / Hide Table of Contents

    Class FieldRecurrenceException

    A class that represents the event recurrence exception fields to be mapped from dataSource within the ScheduleField tag directive.

    Inheritance
    object
    ComponentBase
    OwningComponentBase
    SfOwningComponentBase
    SfBaseComponent
    EventSettingsField
    FieldRecurrenceException
    Implements
    IComponent
    IHandleEvent
    IHandleAfterRender
    IDisposable
    Inherited Members
    ComponentBase.Assets
    ComponentBase.AssignedRenderMode
    ComponentBase.BuildRenderTree(RenderTreeBuilder)
    ComponentBase.DispatchExceptionAsync(Exception)
    ComponentBase.InvokeAsync(Action)
    ComponentBase.InvokeAsync(Func<Task>)
    ComponentBase.OnAfterRender(bool)
    ComponentBase.OnInitialized()
    ComponentBase.OnParametersSet()
    ComponentBase.RendererInfo
    ComponentBase.SetParametersAsync(ParameterView)
    ComponentBase.ShouldRender()
    ComponentBase.StateHasChanged()
    EventSettingsField.Default
    EventSettingsField.Name
    EventSettingsField.OnParametersSetAsync()
    EventSettingsField.Title
    EventSettingsField.Validation
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    OwningComponentBase.IsDisposed
    OwningComponentBase.ScopedServices
    SfBaseComponent.Dispose()
    SfBaseComponent.Dispose(bool)
    SfBaseComponent.GetEffectivePlatform()
    SfBaseComponent.GetMainComponentPlatform()
    SfBaseComponent.IsMainLicenseComponent()
    SfBaseComponent.LicenseContext
    SfBaseComponent.OnAfterRenderAsync(bool)
    SfBaseComponent.OnObservableChange(string, object, bool, NotifyCollectionChangedEventArgs)
    SfBaseComponent.ValidateLicense()
    Namespace: Syncfusion.Blazor.Schedule
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public class FieldRecurrenceException : EventSettingsField, IComponent, IHandleEvent, IHandleAfterRender, IDisposable
    Remarks

    You can map the custom field names, labels and validation for event recurrence exception fields by specifying value to corresponding property in FieldRecurrenceException tag directive.

    Examples

    In the below code example, a recurrence exception is applied for third occurrence in a series of recurring appointments.

    <SfSchedule TValue="AppointmentData">
        <ScheduleEventSettings TValue="AppointmentData" DataSource="@DataSource">
            <ScheduleField>
                <FieldRecurrenceException Name="RecurringException"></FieldRecurrenceException>
            </ScheduleField>
        </ScheduleEventSettings>
    </SfSchedule>
    @code{
        List<AppointmentData> DataSource = new List<AppointmentData>
        {
            new AppointmentData { Id = 1, Subject = "Meeting", StartTime = DateTime.Today.Date.AddHours(9).AddMinutes(30), EndTime = DateTime.Today.Date.AddHours(11), RecurrenceRule = "FREQ=DAILY;INTERVAL=1;COUNT=5", RecurrenceException = DateTime.Today.Date.AddDays(2).ToString("yyyyMMdd") + "T040000Z" }
        };
        public class AppointmentData
        {
            public int Id { get; set; }
            public string Subject { get; set; }
            public DateTime StartTime { get; set; }
            public DateTime EndTime { get; set; }
            public string RecurrenceRule { get; set; }
            public string RecurringException { get; set; }
        }
    }

    Constructors

    FieldRecurrenceException()

    Declaration
    public FieldRecurrenceException()

    Methods

    OnInitializedAsync()

    Triggers while initial rendering of the component.

    Declaration
    protected override Task OnInitializedAsync()
    Returns
    Type Description
    Task

    Task.

    Overrides
    EventSettingsField.OnInitializedAsync()

    Implements

    IComponent
    IHandleEvent
    IHandleAfterRender
    IDisposable
    In this article
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved