AppointmentRecurrenceFormExtension.GetValue(String, Appointment) Method
Returns information about appointment recurrences.
Namespace: DevExpress.Web.Mvc
Assembly: DevExpress.Web.Mvc5.v24.2.dll
Declaration
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
See Also