How to restrict SlideOnTop expand transition for left position?

This requirement can be achieved by handling the Opening event.

Opening Event

This Opening event occurs before expand Transition initializes.

//Disables the SlideOnTop on Left position when Transition begins.

public void navigationDrawer1_Opening(object sender, OpeningEventArgs e)

{        

if (this.navigationDrawer1.Transition == Transition.SlideOnTop && this.navigationDrawer1.Position == SlidePosition.Left)

{

e.Cancel = false;

}

}
'Disables the SlideOnTop on Left position when Transition begins.

Public Sub navigationDrawer1_Opening(sender As Object, e As OpeningEventArgs)

If Me.navigationDrawer1.Transition = Transition.SlideOnTop AndAlso Me.navigationDrawer1.Position = SlidePosition.Left Then

e.Cancel = False

End If

End Sub