BringIntoViewOptions クラス

定義

要素が表示されるときに適用できるオプションを表します。

public ref class BringIntoViewOptions sealed
/// [Windows.Foundation.Metadata.Activatable(262144, "Windows.Foundation.UniversalApiContract")]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 262144)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class BringIntoViewOptions final
[Windows.Foundation.Metadata.Activatable(262144, "Windows.Foundation.UniversalApiContract")]
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 262144)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class BringIntoViewOptions
Public NotInheritable Class BringIntoViewOptions
継承
Object Platform::Object IInspectable BringIntoViewOptions
属性

Windows の要件

デバイス ファミリ
Windows 10 Creators Update (10.0.15063.0 で導入)
API contract
Windows.Foundation.UniversalApiContract (v4.0 で導入)

注釈

詳細については、 UIElement.StartBringIntoView メソッドを 参照してください。

バージョン履歴

Windows のバージョン SDK バージョン 追加された値
1803 17134 HorizontalAlignmentRatio
1803 17134 HorizontalOffset
1803 17134 VerticalAlignmentRatio
1803 17134 VerticalOffset

コンストラクター

BringIntoViewOptions()

BringIntoViewOptions クラスの新しいインスタンスを初期化します。

プロパティ

AnimationDesired

要素が表示されるときにアニメーションを使用するかどうかを示す値を取得または設定します。

HorizontalAlignmentRatio

ビューポートの縦軸に対する TargetRect の縦軸の位置を制御します。 値は 0.0f から 1.0f にクランプされ、0.0f は左の垂直エッジを表し、1.0f は右の垂直エッジを表します。 既定では、これは 0.0f に設定されています。

HorizontalOffset

要求された HorizontalAlignmentRatio を満たした後に TargetRect のビューポート相対位置に追加する水平方向の距離を取得または設定します。

TargetRect

ビューに取り込む要素の領域を取得または設定します。

VerticalAlignmentRatio

ビューポートの横軸に対する TargetRect の横軸の位置を制御します。 値は 0.0f から 1.0f にクランプされ、0.0f は上の水平エッジを表し、1.0f は下の水平エッジを表します。 既定では、これは 0.0f に設定されています。

VerticalOffset

要求された VerticalAlignmentRatio を満たした後に TargetRect のビューポート相対位置に追加する垂直方向の距離を取得または設定します。

適用対象