SchedulerAppointmentFormEventArgs.Title Property
Specifies the appointment form’s title.
Namespace: DevExpress.Blazor
Assembly: DevExpress.Blazor.v24.1.dll
NuGet Package: DevExpress.Blazor
Declaration
public string Title { get; set; }
Property Value
Type | Description |
---|---|
String | The title. |
Remarks
The following code snippet specifies a custom title for the compact appointment form.
<DxScheduler StartDate="@DateTime.Today"
DataStorage="@DataStorage"
AppointmentFormShowing="OnAppointmentFormShowing">
<DxSchedulerWeekView />
</DxScheduler>
@code {
DxSchedulerDataStorage DataStorage = new DxSchedulerDataStorage() {
AppointmentsSource = AppointmentCollection.GetAppointments(),
AppointmentMappings = new DxSchedulerAppointmentMappings() {
Type = "AppointmentType",
Start = "StartDate",
End = "EndDate",
Subject = "Caption",
AllDay = "AllDay",
Location = "Location",
Description = "Description",
LabelId = "Label",
StatusId = "Status",
RecurrenceInfo = "Recurrence"
}
};
void OnAppointmentFormShowing(SchedulerAppointmentFormEventArgs args) {
if (args.FormType == SchedulerAppointmentFormType.CompactEditForm) {
args.Title = "Custom title";
}
}
}
See Also