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 클래스의 새 instance 초기화합니다.

속성

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의 뷰포트 상대 위치에 추가할 세로 거리를 가져오거나 설정합니다.

적용 대상