BringIntoViewRequestedEventArgs 類別

定義

提供 UIElement.BringIntoViewRequested 事件的資料。

public ref class BringIntoViewRequestedEventArgs sealed : RoutedEventArgs
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 393216)]
/// [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(Windows.Foundation.UniversalApiContract), 393216)]
[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
繼承
Object Platform::Object IInspectable RoutedEventArgs BringIntoViewRequestedEventArgs
屬性

Windows 需求

裝置系列
Windows 10, version 1803 (已於 10.0.17134.0 引進)
API contract
Windows.Foundation.UniversalApiContract (已於 v6.0 引進)

屬性

AnimationDesired

取得或設定值,指定是否應該以動畫顯示捲動。

Handled

取得或設定值,這個值會將路由事件標示為已處理。 true值可防止事件路由上的大部分處理常式再次處理相同的事件。

HorizontalAlignmentRatio

取得要求的水準對齊比例,控制 TargetRect 垂直軸相對於檢視區垂直軸的對齊方式。

HorizontalOffset

取得或設定在滿足所要求 HorizontalAlignmentRatio之後,要加入至 TargetRect 檢視區相對位置的水準距離。

OriginalSource

取得引發事件之 物件的參考。 這通常是控制項的範本部分,而不是在應用程式 UI 中宣告的專案。

(繼承來源 RoutedEventArgs)
TargetElement

取得或設定應該在回應事件時顯示的專案。

TargetRect

取得或設定 TargetElement 座標空間中要帶入檢視中的 Rect。

VerticalAlignmentRatio

取得要求的垂直對齊比例,控制 TargetRect 的水準軸相對於檢視區水準軸的對齊方式。

VerticalOffset

取得或設定在滿足所要求 VerticalAlignmentRatio之後,要新增至 TargetRect 檢視區相對位置的垂直距離。

適用於