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

    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

    Reporting

    Telerik Reporting Telerik Report Server

    Testing & Mocking

    Test Studio Test Studio Dev Edition Telerik JustMock

    CMS

    Sitefinity

    UI/UX Tools

    ThemeBuilder Design System Kit Templates and Building Blocks

    Debugging

    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Everywhere Reporter FiddlerCore

    Free Tools

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

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

    Productivity and Design Tools

    • Visual Studio Extensions
    • 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 RecurrencePattern

Provides the class for recurrence pattern.

Inheritance
System.Object
NotifyPropertyChangedBase
RecurrencePattern
Inherited Members
NotifyPropertyChangedBase.OnPropertyChanged(String)
NotifyPropertyChangedBase.UpdateValue<T>(T, T, String)
NotifyPropertyChangedBase.PropertyChanged
Namespace: Telerik.XamarinForms.Input
Assembly: Telerik.XamarinForms.Input.dll

Syntax

public class RecurrencePattern : NotifyPropertyChangedBase, INotifyPropertyChanged

Constructors

RecurrencePattern()

Initializes a new instance of the RecurrencePattern class.

Declaration
public RecurrencePattern()

RecurrencePattern(CultureInfo)

Initializes a new instance of the RecurrencePattern class.

Declaration
public RecurrencePattern(CultureInfo culture)
Parameters
System.Globalization.CultureInfo culture

The Culture to use when generating dates. By default the class uses InvariantCulture.

RecurrencePattern(Int32[], RecurrenceDays, RecurrenceFrequency, Int32, Int32[], Nullable<Int32>)

Initializes a new instance of the RecurrencePattern class.

Declaration
public RecurrencePattern(int[] daysOfMonth, RecurrenceDays daysOfWeekMask, RecurrenceFrequency frequency, int interval, int[] monthsOfYear, Nullable<int> dayOrdinal)
Parameters
System.Int32[] daysOfMonth

The days of month.

RecurrenceDays daysOfWeekMask

The days of week mask.

RecurrenceFrequency frequency

The frequency.

System.Int32 interval

The interval.

System.Int32[] monthsOfYear

The months of year.

System.Nullable<System.Int32> dayOrdinal

The week of month.

RecurrencePattern(Nullable<Int32>, RecurrenceDays, RecurrenceFrequency, Int32, Nullable<Int32>, Nullable<Int32>)

Initializes a new instance of the RecurrencePattern class.

Declaration
public RecurrencePattern(Nullable<int> dayOfMonth, RecurrenceDays daysOfWeekMask, RecurrenceFrequency frequency, int interval, Nullable<int> monthOfYear, Nullable<int> dayOrdinal)
Parameters
System.Nullable<System.Int32> dayOfMonth

The day of month.

RecurrenceDays daysOfWeekMask

The days of week mask.

RecurrenceFrequency frequency

The frequency.

System.Int32 interval

The interval.

System.Nullable<System.Int32> monthOfYear

The month of year.

System.Nullable<System.Int32> dayOrdinal

The week of month.

Properties

DayOrdinal

Gets or sets the day ordinal.

Declaration
public Nullable<int> DayOrdinal { get; set; }
Property Value
System.Nullable<System.Int32>

The day ordinal.

DaysOfMonth

Gets or sets the day of month.

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

The days of month.

DaysOfWeekMask

Gets or sets the days of week mask.

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

The days of week mask.

FirstDayOfWeek

Gets or sets the day on which the week starts.

Declaration
public DayOfWeek FirstDayOfWeek { get; set; }
Property Value
System.DayOfWeek

This property is only meaningful when RecurrenceFrequency is set to Weekly and Interval is greater than 1.

Frequency

Gets or sets the frequency.

Declaration
public RecurrenceFrequency Frequency { get; set; }
Property Value
RecurrenceFrequency

The frequency.

Interval

Gets or sets the interval.

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

The interval.

MaxOccurrences

Optional limit for the number of occurrences. Defaults to no limit (Int32.MaxInt).

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

MonthOfYear

Gets or sets the month of year.

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

The month of year.

RecursUntil

Optional end date for the recurring appointment. Defaults to no end date (System.DateTime.MaxValue).

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

The recurs until.

Methods

GetOccurrences(DateTime, DateTime, DateTime)

Gets the occurrences.

Declaration
public IEnumerable<DateTime> GetOccurrences(DateTime start, DateTime from, DateTime to)
Parameters
System.DateTime start

The start.

System.DateTime from

From.

System.DateTime to

To.

Returns
System.Collections.Generic.IEnumerable<System.DateTime>

Sample Applications
  • Telerik Tagit
  • iOS Demo App
  • Android Demo App
Support Resources
  • iOS Wrappers
  • Android Wrappers
  • Xamarin.Forms SDK Examples
Community
  • Forums
  • Blogs
  • 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.