共用方式為


RelativePoint 建構函式 (RelativePosition, Double, Double)

為指定的 RelativePosition、X 和 Y 值初始化 RelativePoint 結構的新執行個體。

命名空間:  Microsoft.Windows.Design.Interaction
組件:  Microsoft.Windows.Design.Interaction (在 Microsoft.Windows.Design.Interaction.dll 中)

語法

'宣告
Public Sub New ( _
    position As RelativePosition, _
    x As Double, _
    y As Double _
)
public RelativePoint(
    RelativePosition position,
    double x,
    double y
)
public:
RelativePoint(
    RelativePosition^ position, 
    double x, 
    double y
)
new : 
        position:RelativePosition * 
        x:float * 
        y:float -> RelativePoint
public function RelativePoint(
    position : RelativePosition, 
    x : double, 
    y : double
)

參數

.NET Framework 安全性

請參閱

參考

RelativePoint 結構

RelativePoint 多載

Microsoft.Windows.Design.Interaction 命名空間

其他資源

WPF 設計工具擴充性