다음을 통해 공유


RelativePoint Implicit 변환 (Point to RelativePoint)

지정된 Point 구조체를 RelativePoint 구조체로 변환합니다.

네임스페이스:  Microsoft.Windows.Design.Interaction
어셈블리:  Microsoft.Windows.Design.Interaction(Microsoft.Windows.Design.Interaction.dll)

구문

‘선언
Public Shared Widening Operator CType ( _
    point As Point _
) As RelativePoint
public static implicit operator RelativePoint (
    Point point
)
static implicit operator RelativePoint (
    Point point
)
F#에서는 캐스팅 연산자를 새로 선언할 수 없습니다.
JScript에서는 캐스팅 연산자를 새로 선언할 수 없습니다.

매개 변수

반환 값

형식: Microsoft.Windows.Design.Interaction.RelativePoint
point에서 만들어진 새 RelativePoint입니다.

설명

Position 속성은 TopLeft가 됩니다.

.NET Framework 보안

  • 직접 실행 호출자의 경우 완전히 신뢰합니다. 이 멤버는 부분적으로 신뢰할 수 있는 코드에서 사용할 수 없습니다. 자세한 내용은 부분 신뢰 코드에서 라이브러리 사용을 참조하십시오.

참고 항목

참조

RelativePoint 구조체

Microsoft.Windows.Design.Interaction 네임스페이스

기타 리소스

WPF Designer 확장성