BringIntoViewRequestedEventArgs Class

Definition

Provides data for the UIElement.BringIntoViewRequested event.

public ref class BringIntoViewRequestedEventArgs sealed : RoutedEventArgs
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.UI.Xaml.WinUIContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class BringIntoViewRequestedEventArgs final : RoutedEventArgs
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.UI.Xaml.WinUIContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class BringIntoViewRequestedEventArgs : RoutedEventArgs
Public NotInheritable Class BringIntoViewRequestedEventArgs
Inherits RoutedEventArgs
Inheritance
Object Platform::Object IInspectable RoutedEventArgs BringIntoViewRequestedEventArgs
Attributes

Properties

AnimationDesired

Gets or sets a value that specifies whether the scrolling should be animated.

Handled

Gets or sets a value that marks the routed event as handled. A true value prevents most handlers along the event route from handling the same event again.

HorizontalAlignmentRatio

Gets the requested horizontal alignment ratio which controls the alignment of the vertical axis of the TargetRect with respect to the vertical axis of the viewport.

HorizontalOffset

Gets or sets the horizontal distance to add to the viewport-relative position of the TargetRect after satisfying the requested HorizontalAlignmentRatio.

OriginalSource

Gets a reference to the object that raised the event. This is often a template part of a control rather than an element that was declared in your app UI.

(Inherited from RoutedEventArgs)
TargetElement

Gets or sets the element that should be made visible in response to the event.

TargetRect

Gets or sets the Rect in the TargetElement’s coordinate space to bring into view.

VerticalAlignmentRatio

Gets the requested vertical alignment ratio which controls the alignment of the horizontal axis of the TargetRect with respect to the horizontal axis of the viewport.

VerticalOffset

Gets or sets the vertical distance to add to the viewport-relative position of the TargetRect after satisfying the requested VerticalAlignmentRatio.

Applies to