Share via


ScrollingBringingIntoViewEventArgs Class

Definition

Provides data for the ScrollView.BringingIntoView event.

public ref class ScrollingBringingIntoViewEventArgs sealed
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.UI.Xaml.XamlContract, 327680)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class ScrollingBringingIntoViewEventArgs final
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.UI.Xaml.XamlContract), 327680)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class ScrollingBringingIntoViewEventArgs
Public NotInheritable Class ScrollingBringingIntoViewEventArgs
Inheritance
Object Platform::Object IInspectable ScrollingBringingIntoViewEventArgs
Attributes

Remarks

These event args are used by the ScrollView.BringingIntoView event, which is raised when the ScrollView is about to participate in a bring-into-view request. You can handle the event to customize that participation.

Properties

Cancel

Gets or sets a value that indicates whether or not the participation in the bring-into-view request must be cancelled.

CorrelationId

Gets the correlation ID for the imminent scroll offset change participation.

RequestEventArgs

Gets the BringIntoViewRequestedEventArgs argument from the RequestBringIntoView event that is being processed.

SnapPointsMode

Gets or sets the snap points mode used during the ScrollView's participation in the bring-into-view request.

TargetHorizontalOffset

Gets the target HorizontalOffset for the default participation.

TargetVerticalOffset

Gets the target VerticalOffset for the default participation.

Applies to

See also