# Edit Appointment

This topic describes the work flow for editing an appointment in **RadScheduleView** control.

## Using UI

**RadScheduleView** uses one and the same dialog to create and edit appointments. This topic describes the end-user's work flow for editing an existing appointment.

![RadScheduleView Edit Appointment](https://www.telerik.com/products/wpf/documentation/assets/643814a8229a240ce5912abfc77f96c5/radscheduleview_end_user_capabilities_edit_appointment_01.png)

* In order to edit an appointment just double click it in the **RadScheduleView**.

* If the appointment is not a recurrent one, the edit appointment dialog appears immediately.

* After the edit appointment dialog is opened, you can change the Subject, Description, Start and End time of the appointment.

* You can also change or assign category, time marker or importance by using the tool bar controls.

* You can also change the appointment recurrent.

* If you have completed the appointment edit, click the 'Save & Close' button or press the **Enter** key.

* If you want to cancel the appointment creation, click the X button or press the **Esc** key.

## Using code

You can edit an appointment using the code. Here are the steps to accomplish this:

1. Call **BeginEdit()** method of the **RadScheduleView** control. It returns whether or not  the appointment or the occurrence can be edited. This method has 3 overloads:

2. If **BeginEdit()** returns **True** - edit the appointment or the occurrence.

3. Call **Commit()** method to commit the changes and to update the **UI**.

```C#
if (this.radScheduleView.BeginEdit(appointment))
{
    appointment.Subject = "New Subject";
    this.radScheduleView.Commit();
}
```

```VB.NET
	If Me.radScheduleView.BeginEdit(appointment) Then
	 appointment.Subject = "New Subject"
	 Me.radScheduleView.Commit()
	End If
```

## See Also

* [Understanding Appointments](https://www.telerik.com/products/wpf/documentation/controls/radscheduleview/getting-started/add-edit-delete-appointment)

* [Create Appointment](https://www.telerik.com/products/wpf/documentation/controls/radscheduleview/end-user-capabilities/create-appointment)

* [Delete Appointment](https://www.telerik.com/products/wpf/documentation/controls/radscheduleview/end-user-capabilities/delete-appointment)
