skip navigation
  • Product Bundles

    DevCraft

    All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:

    • NEW: Design Kits for Figma
    • Online Training
    • Document Processing Library
    • Embedded Reporting for web and desktop

    Web

    Kendo UI UI for Angular UI for Vue UI for jQuery KendoReact UI for Blazor UI for ASP.NET Core UI for ASP.NET MVC UI for ASP.NET AJAX

    Mobile

    UI for .NET MAUI

    Document Management

    Telerik Document Processing

    Desktop

    UI for .NET MAUI UI for WinUI UI for WinForms UI for WPF

    Reporting

    Telerik Reporting Telerik Report Server

    Testing & Mocking

    Test Studio Telerik JustMock

    CMS

    Sitefinity

    AI Productivity Tools

    AI Coding Assistants

    UI/UX Tools

    ThemeBuilder Design System Kit Templates and Building Blocks

    Debugging

    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Everywhere Reporter FiddlerCore

    Free Tools

    KendoReact Free VB.NET to C# Converter Testing Framework
    View all products
  • Overview
  • Demos
    • What's New
    • Roadmap
    • Release History
  • Support and Learning

    • Support and Learning Hub
    • First Steps
    • Docs
    • Demos
    • Virtual Classroom
    • Forums
    • Videos
    • Blogs
    • Accessibility
    • Submit a Ticket

    Productivity and Design Tools

    • Visual Studio Extensions
    • Visual Studio Templates
    • Embedded Reporting
  • Pricing
  • Shopping cart
    • Account Overview
    • Your Licenses
    • Downloads
    • Support Center
    • Forum Profile
    • Payment Methods
    • Edit Profile
    • Log out
  • Login
  • Contact Us
  • Try now

Class RecurrenceDialogViewModel

Inheritance
System.Object
ViewModelBase
SchedulerDialogViewModel
RecurrenceDialogViewModel
Inherited Members
SchedulerDialogViewModel.Confirm()
SchedulerDialogViewModel.Cancel()
SchedulerDialogViewModel.DoWithViewModel<T>(Object, Action<T>)
SchedulerDialogViewModel.RegisterCommand(ICommand, ExecutedRoutedEventHandler, CanExecuteRoutedEventHandler)
SchedulerDialogViewModel.OnCancelled(EventArgs)
SchedulerDialogViewModel.AdditionalData
SchedulerDialogViewModel.DialogHost
SchedulerDialogViewModel.Confirmed
SchedulerDialogViewModel.Cancelled
ViewModelBase.VerifyPropertyName(String)
ViewModelBase.InvokeOnUIThread(Action)
ViewModelBase.Dispose()
ViewModelBase.RaisePropertyChanged(String)
ViewModelBase.OnPropertyChanged(String)
ViewModelBase.OnPropertyChanged<T>(Expression<Func<T>>)
ViewModelBase.Dispose(Boolean)
ViewModelBase.PropertyChanged
Namespace: Telerik.Windows.Controls
Assembly: Telerik.Windows.Controls.ScheduleView.dll

Syntax

public class RecurrenceDialogViewModel : SchedulerDialogViewModel, INotifyPropertyChanged, IDisposable, IDataErrorInfo

Constructors

RecurrenceDialogViewModel(IAppointment, AppointmentViewMode, IScheduleViewDialogHost, CultureInfo, Func<SchedulerDialogViewModel, Nullable<Boolean>, Boolean>)

Initializes a new instance of the RecurrenceDialogViewModel class.

Declaration
public RecurrenceDialogViewModel(IAppointment appointment, AppointmentViewMode viewMode, IScheduleViewDialogHost dialogHost, CultureInfo culture, Func<SchedulerDialogViewModel, Nullable<bool>, bool> confirmDialogClose)
Parameters
IAppointment appointment

AppointmentViewMode viewMode

IScheduleViewDialogHost dialogHost

System.Globalization.CultureInfo culture

System.Func<SchedulerDialogViewModel, System.Nullable<System.Boolean>, System.Boolean> confirmDialogClose

Fields

DefaultMaxOccurrences

Default MaxOccurrences value.

Declaration
public static readonly int DefaultMaxOccurrences
Field Value
System.Int32

Properties

Appointment

Declaration
public IAppointment Appointment { get; }
Property Value
IAppointment

CanDeleteRecurrence

Declaration
public bool CanDeleteRecurrence { get; }
Property Value
System.Boolean

DaysOfMonth

The dates of the month on which the event recurs (for example, the first day of the month, or the third to last day of the month).

Declaration
public int[] DaysOfMonth { get; set; }
Property Value
System.Int32[]

Duration

The duration of the recurring event.

Declaration
public TimeSpan Duration { get; set; }
Property Value
System.TimeSpan

End

The last date and time for the event to occur. Either this or Count may be used, but not both.

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

Error

Returns the error message.

Declaration
public string Error { get; }
Property Value
System.String

Interval

A number indicating how often this rule repeats, when combined with the frequency.

Declaration
public int Interval { get; set; }
Property Value
System.Int32

IsReadOnly

Declaration
public bool IsReadOnly { get; }
Property Value
System.Boolean

IsRemoveRecurrenceButtonEnabled

Declaration
public bool IsRemoveRecurrenceButtonEnabled { get; }
Property Value
System.Boolean

Item[String]

Declaration
public string this[string columnName] { get; }
Parameters
System.String columnName

Property Value
System.String

MaxOccurrences

Optional limit for the number of occurrences.

Declaration
public int MaxOccurrences { get; set; }
Property Value
System.Int32

MonthOfYear

Gets or sets the month of year.

Declaration
public int MonthOfYear { get; set; }
Property Value
System.Int32

The month of year.

NamesOfMonths

Gets the names of months.

Declaration
public IDictionary<int, string> NamesOfMonths { get; }
Property Value
System.Collections.Generic.IDictionary<System.Int32, System.String>

The names of months.

NthRecurrenceDay

Gets or sets the nth recurrence day.

Declaration
public RecurrenceDays NthRecurrenceDay { get; set; }
Property Value
RecurrenceDays

The nth recurrence day.

NthRecurrenceDays

Gets the NTH recurrence days.

Declaration
public IList<NameValueItem<RecurrenceDays>> NthRecurrenceDays { get; }
Property Value
System.Collections.Generic.IList<NameValueItem<RecurrenceDays>>

The NTH recurrence days.

RecurrenceRangeType

Gets or sets a value indicating the type of recurrence range.

Declaration
public RecurrenceRangeType RecurrenceRangeType { get; set; }
Property Value
RecurrenceRangeType

The type of the recurrence range.

RecurrenceType

Gets or sets the type of the recurrence.

Declaration
public RecurrenceType RecurrenceType { get; set; }
Property Value
RecurrenceType

The type of the recurrence.

RecursUntil

Optional end date for the recurring appointment.

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

Start

The start of the recurring event.

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

ViewMode

Declaration
public AppointmentViewMode ViewMode { get; }
Property Value
AppointmentViewMode

WeekDays

Declaration
public IList<NameValueItem<RecurrenceDays>> WeekDays { get; }
Property Value
System.Collections.Generic.IList<NameValueItem<RecurrenceDays>>

WeekOfMonth

Declaration
public WeekOfMonth WeekOfMonth { get; set; }
Property Value
WeekOfMonth

WeekOfMonths

Declaration
public IList<NameValueItem<WeekOfMonth>> WeekOfMonths { get; }
Property Value
System.Collections.Generic.IList<NameValueItem<WeekOfMonth>>

Methods

CanConfirm()

Declaration
protected override bool CanConfirm()
Returns
System.Boolean

Overrides
SchedulerDialogViewModel.CanConfirm()

DeleteRecurrence()

Declaration
public bool DeleteRecurrence()
Returns
System.Boolean

OnConfirmed(EventArgs)

Declaration
protected override void OnConfirmed(EventArgs eventArgs)
Parameters
System.EventArgs eventArgs

Overrides
SchedulerDialogViewModel.OnConfirmed(EventArgs)

SaveRecurrence()

Declaration
public bool SaveRecurrence()
Returns
System.Boolean

Extension Methods

CollectionExtensions.ToEnumerable<T>(T)
EnumerableExtensions.ToEnumerable<T>(T)
Getting Started
  • Install Now
  • Demos
  • SDK Samples Browser
  • Sample Applications
Support Resources
  • Code Library
  • Knowledge Base
  • MVVM Support
  • Videos
  • GitHub SDK Repository
Community
  • Forums
  • Blogs
  • XAML Feedback Portal
  • Document Processing Feedback Portal

Copyright © 2018 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks for appropriate markings.