Back to Devexpress

SchedulerFormTemplateContainer.Control Property

aspnet-devexpress-dot-web-dot-aspxscheduler-dot-schedulerformtemplatecontainer.md

latest2.8 KB
Original Source

SchedulerFormTemplateContainer.Control Property

Gets the Scheduler control associated with the form.

Namespace : DevExpress.Web.ASPxScheduler

Assembly : DevExpress.Web.ASPxScheduler.v25.2.dll

NuGet Package : DevExpress.Web.Scheduler

Declaration

csharp
public ASPxScheduler Control { get; }
vb
Public ReadOnly Property Control As ASPxScheduler

Property Value

TypeDescription
ASPxScheduler

An ASPxScheduler control associated with the form.

|

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the Control property.

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.

asp-net-web-forms-scheduler-custom-adaptive-form-using-templates/CS/WebApplication1/DevExpress/ASPxSchedulerForms/AppointmentForm.ascx.cs#L253

csharp
AppointmentFormTemplateContainer container = (AppointmentFormTemplateContainer)Parent;
ASPxScheduler control = container.Control;

asp-net-web-forms-scheduler-custom-adaptive-form-using-templates/VB/WebApplication1/DevExpress/ASPxSchedulerForms/AppointmentForm.ascx.vb#L264

vb
Dim container As AppointmentFormTemplateContainer = CType(Parent, AppointmentFormTemplateContainer)
Dim control As ASPxScheduler = container.Control

See Also

SchedulerFormTemplateContainer Class

SchedulerFormTemplateContainer Members

DevExpress.Web.ASPxScheduler Namespace