共用方式為


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 設計工具擴充性