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 jQuery UI for Angular UI for React UI for Vue UI for Blazor UI for ASP.NET Core UI for ASP.NET MVC UI for ASP.NET AJAX UI for Silverlight UI for PHP UI for JSP
    Mobile
    UI for .NET MAUI UI for Xamarin
    Document Management
    Telerik Document Processing
    Desktop
    UI for .NET MAUI UI for WinUI UI for WinForms UI for WPF UI for UWP
    Reporting & Mocking
    Telerik Reporting Telerik Report Server Telerik JustMock
    Automated Testing
    Test Studio Test Studio Dev Edition
    CMS
    Sitefinity
    UI/UX Tools
    ThemeBuilder Design System Kit
    Debugging
    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Jam FiddlerCap FiddlerCore
    Extended Reality
    UI for Unity XR
    Free Tools
    JustAssembly JustDecompile VB.NET to C# Converter Testing Framework
    View all products
  • Overview
  • Demos
    • What's New
    • Release History
  • Docs & Support
  • Pricing
  • Search
  • Shopping cart
    • Account Overview
    • Your Licenses
    • Support Center
    • Forum Profile
    • Payment Methods
    • Edit Profile
    • Log out
  • Login
  • Contact Us
  • Try now

Class RecurrenceChoiceDialogViewModel

Inheritance
System.Object
ViewModelBase
SchedulerDialogViewModel
RecurrenceChoiceDialogViewModel
Inherited Members
SchedulerDialogViewModel.Confirm()
SchedulerDialogViewModel.Cancel()
SchedulerDialogViewModel.DoWithViewModel<T>(Object, Action<T>)
SchedulerDialogViewModel.RegisterCommand(ICommand, ExecutedRoutedEventHandler, CanExecuteRoutedEventHandler)
SchedulerDialogViewModel.OnCancelled(EventArgs)
SchedulerDialogViewModel.CanConfirm()
SchedulerDialogViewModel.AdditionalData
SchedulerDialogViewModel.DialogHost
SchedulerDialogViewModel.Confirmed
SchedulerDialogViewModel.Cancelled
ViewModelBase.VerifyPropertyName(String)
ViewModelBase.InvokeOnUIThread(Action)
ViewModelBase.Dispose()
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 RecurrenceChoiceDialogViewModel : SchedulerDialogViewModel, INotifyPropertyChanged, IDisposable

Constructors

RecurrenceChoiceDialogViewModel(IScheduleViewDialogHost, Occurrence, RecurrenceChoiceDialogMode, Func<SchedulerDialogViewModel, Nullable<Boolean>, Boolean>)

Initializes a new instance of the RecurrenceChoiceDialogViewModel class.

Declaration
public RecurrenceChoiceDialogViewModel(IScheduleViewDialogHost dialogHost, Occurrence occurrence, RecurrenceChoiceDialogMode mode, Func<SchedulerDialogViewModel, Nullable<bool>, bool> confirmDialogClose)
Parameters
IScheduleViewDialogHost dialogHost

The dialog window.

Occurrence occurrence

The edited occurrence.

RecurrenceChoiceDialogMode mode

The action mode.

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

The confirmation callback.

RecurrenceChoiceDialogViewModel(IScheduleViewDialogHost, Occurrence, RecurrenceChoiceDialogMode, Func<SchedulerDialogViewModel, Nullable<Boolean>, Boolean>, CultureInfo)

Initializes a new instance of the RecurrenceChoiceDialogViewModel class.

Declaration
public RecurrenceChoiceDialogViewModel(IScheduleViewDialogHost dialogHost, Occurrence occurrence, RecurrenceChoiceDialogMode mode, Func<SchedulerDialogViewModel, Nullable<bool>, bool> confirmDialogClose, CultureInfo culture)
Parameters
IScheduleViewDialogHost dialogHost

The dialog window.

Occurrence occurrence

The edited occurrence.

RecurrenceChoiceDialogMode mode

The action mode.

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

The confirmation callback.

System.Globalization.CultureInfo culture

The culture used to create the RecurrenceDialogViewModel.

Properties

DialogViewModel

The ViewModel which is used as DataContext for the recurrence choice dialog.

Declaration
public RecurrenceDialogViewModel DialogViewModel { get; set; }
Property Value
RecurrenceDialogViewModel

IsOccurrenceModeSelected

Determines whether current selected recurrence mode is Occurrence or not.

Declaration
public Nullable<bool> IsOccurrenceModeSelected { get; set; }
Property Value
System.Nullable<System.Boolean>

IsSeriesModeSelected

Determines whether current selected recurrence mode is Series or not.

Declaration
public Nullable<bool> IsSeriesModeSelected { get; set; }
Property Value
System.Nullable<System.Boolean>

Occurrence

The edited occurrence.

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

RecurrenceChoiceDialogMode

Gets or sets the mode of the recurrence choice dialog.

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

SelectedRecurrenceMode

The recurrence mode which is currently selected.

Declaration
public RecurrenceMode SelectedRecurrenceMode { get; set; }
Property Value
RecurrenceMode

Methods

GetUpdatedOccurrence()

Apply all changes in the dialog to the Occurrence.

Declaration
public Occurrence GetUpdatedOccurrence()
Returns
Occurrence

The updated recurrence.

OnConfirmed(EventArgs)

Confirms the changes on the dialog ViewModel.

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

Overrides
SchedulerDialogViewModel.OnConfirmed(EventArgs)

Extension Methods

CollectionExtensions.ToEnumerable<T>(T)
EnumerableExtensions.ToEnumerable<T>(T)

Was this article helpful?

Tell us how we can improve this article

Skip
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.