How to restrict SlideOnTop collapse transition for left position?

This requirement can be achieved by handling the Closing Event.

Closing event

This Closing event occurs before DrawerPanel Collapsing initialized.

//Disables the SlideOnTop in Left when Transition Collapses begins
void navigationDrawer1_Closing(object sender, CancelEventArgs e)
{
if (this.navigationDrawer1.Transition == Transition.SlideOnTop && this.navigationDrawer1.Position == SlidePosition.Left)
{
e.Cancel = true;
}
}
'Disables the SlideOnTop in Left when Transition Collapses begins
Private Sub navigationDrawer1_Closing(sender As Object, e As CancelEventArgs)
If Me.navigationDrawer1.Transition = Transition.SlideOnTop AndAlso Me.navigationDrawer1.Position = SlidePosition.Left Then
e.Cancel = True
End If
End Sub