KaxSchedulerNavigationCommand Event |
Occurs when the KaxScheduler is about to execute a navigation command.
Namespace: Kettic.AspNet.ControlsAssembly: Kettic.AspNet.Controls (in Kettic.AspNet.Controls.dll) Version: 2014.4.1129.0 (2014.04.1129.0)
Syntaxpublic event SchedulerNavigationCommandEventHandler NavigationCommand
Public Event NavigationCommand As SchedulerNavigationCommandEventHandler
public:
event SchedulerNavigationCommandEventHandler^ NavigationCommand {
void add (SchedulerNavigationCommandEventHandler^ value);
void remove (SchedulerNavigationCommandEventHandler^ value);
}
member NavigationCommand : IEvent<SchedulerNavigationCommandEventHandler,
SchedulerNavigationCommandEventArgs>
Value
Type:
Kettic.AspNet.ControlsSchedulerNavigationCommandEventHandler
Remarks
You can use this event to customize the action when the KaxScheduler is about to execute a navigation command.
The event can be cancelled by setting the
SchedulerNavigationCommandEventArgs.Cancel
property of
SchedulerNavigationCommandEventArgs to true.
Examplesvoid KaxScheduler1_NavigationCommand(object sender, SchedulerNavigationCommandEventArgs e)
{
if (e.Command == SchedulerNavigationCommand.NavigateToNextPeriod)
{
e.Cancel = true;
}
}
Sub KaxScheduler1_NavigationCommand(sender As Object, e As SchedulerNavigationCommandEventArgs)
If e.Command = SchedulerNavigationCommand.NavigateToNextPeriod Then
e.Cancel = True
End If
End Sub
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
See Also