CarouselView.OnPositionChanged(PositionChangedEventArgs) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Called when the position changes. Override this method to add custom logic when the carousel position changes.
protected:
virtual void OnPositionChanged(Microsoft::Maui::Controls::PositionChangedEventArgs ^ args);
protected virtual void OnPositionChanged(Microsoft.Maui.Controls.PositionChangedEventArgs args);
abstract member OnPositionChanged : Microsoft.Maui.Controls.PositionChangedEventArgs -> unit
override this.OnPositionChanged : Microsoft.Maui.Controls.PositionChangedEventArgs -> unit
Protected Overridable Sub OnPositionChanged (args As PositionChangedEventArgs)
Parameters
Event arguments containing the previous and new position values.