Skip to main content
A newer version of this page is available. .

AppointmentRecurrenceFormExtension.GetValue(String, Appointment) Method

Returns information about appointment recurrences.

Namespace: DevExpress.Web.Mvc

Assembly: DevExpress.Web.Mvc5.v21.1.dll

NuGet Package: DevExpress.Web.Mvc5

Declaration

public static RecurrenceInfo GetValue(
    string name,
    Appointment pattern
)

Parameters

Name Type Description
name String

The control name.

pattern Appointment

The recurrence pattern.

Returns

Type Description
RecurrenceInfo

Information about appointment recurrences.

Remarks

Controller:

public ActionResult RecurrenceFormInfo() {
    Appointment pattern = new Appointment(AppointmentType.Pattern,
        new DateTime(2012, 10, 20, 3, 0, 0), new DateTime(2012, 10, 20, 4, 0, 0));
    RecurrenceInfo recurrenceInfo = AppointmentRecurrenceFormExtension.GetValue("RecurrenceControl", pattern);
    return View("RecurrenceFormInfo", (object)recurrenceInfo.ToXml());
}

Concept

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the GetValue(String, Appointment) method.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also