Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion wpf/Scheduler/Accessibility.md
Original file line number Diff line number Diff line change
Expand Up @@ -382,7 +382,7 @@ Moves the view to work week view.<br/><br/></td></tr>
<tr>
<td>
Ctrl + Alt + 4 => MonthView<br/><br/></td><td>
Moves the view to work week view.<br/><br/></td></tr>
Moves the view to work month view.<br/><br/></td></tr>
<tr>
<td>
Ctrl + Alt + 5 => TimelineDayView<br/><br/></td><td>
Expand Down
24 changes: 21 additions & 3 deletions wpf/Scheduler/Appointment-Drag-And-Drop.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,19 @@ The Scheduler supports disabling the appointment drag and drop by setting [Appoi

{% tabs %}
{% highlight xaml %}
<syncfusion:SfScheduler x:Name="Schedule"
<Window
. . .
xmlns:syncfusion="http://schemas.syncfusion.com/wpf">
<Grid>
<syncfusion:SfScheduler x:Name="Schedule"
AppointmentEditFlag="Add,Edit,Resize">
</syncfusion:SfScheduler>
</syncfusion:SfScheduler>
</Grid>
</Window>
{% endhighlight %}
{% highlight c# %}
using Syncfusion.UI.Xaml.Scheduler;

this.Schedule.AppointmentEditFlag = AppointmentEditFlag.Add | AppointmentEditFlag.Edit | AppointmentEditFlag.Resize;
{% endhighlight %}
{% endtabs %}
Expand All @@ -28,6 +36,8 @@ Show or hide the time indicator at a specific time when dragging the appointment

{% tabs %}
{% highlight c# %}
using Syncfusion.UI.Xaml.Scheduler;

Schedule.ViewType = SchedulerViewType.Week;
Schedule.DragDropSettings.ShowTimeIndicator = true;
{% endhighlight %}
Expand All @@ -44,6 +54,8 @@ Customize the format for the appointment dragging time indicator format by setti

{% tabs %}
{% highlight c# %}
using Syncfusion.UI.Xaml.Scheduler;

Schedule.ViewType = SchedulerViewType.Week;
Schedule.DragDropSettings.TimeIndicatorFormat = "HH mm tt";
{% endhighlight %}
Expand All @@ -68,6 +80,8 @@ Scheduler notifies by [AppointmentDragOver](https://help.syncfusion.com/cr/wpf/S

{% tabs %}
{% highlight c# %}
using Syncfusion.UI.Xaml.Scheduler;

this.Schedule.AppointmentDragOver += Schedule_AppointmentDragOver;

private void Schedule_AppointmentDragOver(object sender, AppointmentDragEventArgs e)
Expand All @@ -89,6 +103,8 @@ Scheduler notifies by [AppointmentDragStarting](https://help.syncfusion.com/cr/w

{% tabs %}
{% highlight c# %}
using Syncfusion.UI.Xaml.Scheduler;

this.Schedule.AppointmentDragStarting += Schedule_AppointmentDragStarting;

private void Schedule_AppointmentDragStarting(object sender, AppointmentDragStartingEventArgs e)
Expand All @@ -114,6 +130,8 @@ Scheduler is notified by [AppointmentDropping](https://help.syncfusion.com/cr/wp

{% tabs %}
{% highlight c# %}
using Syncfusion.UI.Xaml.Scheduler;

this.Schedule.AppointmentDropping += Schedule_AppointmentDropping;

private void Schedule_AppointmentDropping(object sender, AppointmentDroppingEventArgs e)
Expand All @@ -123,4 +141,4 @@ private void Schedule_AppointmentDropping(object sender, AppointmentDroppingEven
{% endhighlight %}
{% endtabs %}

N> You can also explore our [WPF Scheduler example](https://github.com/syncfusion/wpf-demos) to know how to schedule and manage appointments through an intuitive user interface, similar to the Outlook calendar.
N> You can also explore our [WPF Scheduler example](https://github.com/syncfusion/wpf-demos) to know how to schedule and manage appointments through an intuitive user interface, similar to the Outlook calendar. For more information on appointment editing flags, see [Appointment editing](appointment-editing.md).
40 changes: 32 additions & 8 deletions wpf/Scheduler/Appointment-Editing.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,6 @@ Scheduler supports editing the recurrence appointment. The following window will

![WPF Scheduler editing recurrence appointment](Appointment-Editing_Images/Editing-Recurrence-Appointment.png)

Handle the opening of the recurrence popup window using the `EditMode` property in the `RecurringAppointmentBeginningEditEventArgs` by handling the `RecurringAppointmentBeginningEdit` event.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why this changes removed?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

image same content again.


#### RecurringAppointmentBeginningEdit Event

The opening of the recurrence popup editor dialog can be handled using the `EditMode` property in the `RecurringAppointmentBeginningEditEventArgs` by handling the `RecurringAppointmentBeginningEdit` event.
Expand All @@ -44,7 +42,9 @@ The opening of the recurrence popup editor dialog can be handled using the `Edit
* Series: Edit the entire series in a recurrence appointment. The default editor content dialog will not appear.

{% tabs %}
{% highlight c# tabtitle="MainWindow.xaml.cs" hl_lines="1" %}
{% highlight c# tabtitle="MainWindow.xaml.cs" hl_lines="3" %}
using Syncfusion.UI.Xaml.Scheduler;

this.scheduler.RecurringAppointmentBeginningEdit += scheduler_RecurringAppointmentBeginningEdit;

private void scheduler_RecurringAppointmentBeginningEdit(object sender, RecurringAppointmentBeginningEditEventArgs e)
Expand All @@ -70,6 +70,8 @@ For example, to use a custom appointment editor window instead of the default ap

{% tabs %}
{% highlight c# %}
using Syncfusion.UI.Xaml.Scheduler;

this.Schedule.AppointmentEditorOpening += Schedule_AppointmentEditorOpening;

private void Schedule_AppointmentEditorOpening(object sender, AppointmentEditorOpeningEventArgs e)
Expand All @@ -95,6 +97,8 @@ Programmatically visible or collapse the editors by setting the [AppointmentEdit

{% tabs %}
{% highlight c# %}
using Syncfusion.UI.Xaml.Scheduler;

this.Schedule.AppointmentEditorOpening += Schedule_AppointmentEditorOpening;

private void Schedule_AppointmentEditorOpening(object sender, AppointmentEditorOpeningEventArgs e)
Expand Down Expand Up @@ -131,6 +135,8 @@ For example, to handle the appointment adding for today's date, user can handle

{% tabs %}
{% highlight c# %}
using Syncfusion.UI.Xaml.Scheduler;

this.Schedule.AppointmentEditorClosing += Schedule_AppointmentEditorClosing;

private void Schedule_AppointmentEditorClosing(object sender, AppointmentEditorClosingEventArgs e)
Expand All @@ -152,10 +158,16 @@ To disable appointment editing functionality, set [AppointmentEditFlag](https://

{% tabs %}
{% highlight XAML %}
<syncfusion:SfScheduler
<Window
. . .
xmlns:syncfusion="http://schemas.syncfusion.com/wpf">
<Grid>
<syncfusion:SfScheduler
x:Name="Schedule"
AppointmentEditFlag="None">
</syncfusion:SfScheduler>
</Grid>
</Window>
{% endhighlight %}
{% endtabs %}

Expand All @@ -181,6 +193,8 @@ Scheduler notifies by [AppointmentDeleting](https://help.syncfusion.com/cr/wpf/S

{% tabs %}
{% highlight c# %}
using Syncfusion.UI.Xaml.Scheduler;

Schedule.AppointmentDeleting += Schedule_AppointmentDeleting;

private void Schedule_AppointmentDeleting(object sender, AppointmentDeletingEventArgs e)
Expand All @@ -199,12 +213,20 @@ Scheduler supports disabling the appointment resizing by setting [AppointmentEdi

{% tabs %}
{% highlight xaml %}
<syncfusion:SfScheduler x:Name="Schedule"
<Window
. . .
xmlns:syncfusion="http://schemas.syncfusion.com/wpf">
<Grid>
<syncfusion:SfScheduler x:Name="Schedule"
AppointmentEditFlag="Add,DragDrop,Edit">
</syncfusion:SfScheduler>
</syncfusion:SfScheduler>
</Grid>
</Window>
{% endhighlight %}
{% highlight c# %}
this.Schedule.AppointmentEditFlag = AppointmentEditFlag.Add | AppointmentEditFlag.DragDrop | AppointmentEditFlag.Edit;
using Syncfusion.UI.Xaml.Scheduler;

this.Schedule.AppointmentEditFlag = AppointmentEditFlag.Add | AppointmentEditFlag.DragDrop | AppointmentEditFlag.Edit;
{% endhighlight %}
{% endtabs %}

Expand Down Expand Up @@ -232,6 +254,8 @@ Scheduler notifies by [AppointmentResizing](https://help.syncfusion.com/cr/wpf/S

{% tabs %}
{% highlight c# %}
using Syncfusion.UI.Xaml.Scheduler;

this.Schedule.AppointmentResizing += Schedule_AppointmentResizing;

private void Schedule_AppointmentResizing(object sender, AppointmentResizingEventArgs e)
Expand All @@ -242,4 +266,4 @@ this.Schedule.AppointmentResizing += Schedule_AppointmentResizing;
{% endtabs %}
* `Resource` - gets the resource of an appointment under which the appointment is located.

N> You can also explore our [WPF Scheduler example](https://github.com/syncfusion/wpf-demos) to know how to schedule and manage appointments through an intuitive user interface, similar to the Outlook calendar.
N> You can also explore our [WPF Scheduler example](https://github.com/syncfusion/wpf-demos) to know how to schedule and manage appointments through an intuitive user interface, similar to the Outlook calendar. For details on the appointment editor window, see [Appointments](appointments.md).
Loading