IXamlDirect.SetPointProperty(Object, XamlPropertyIndex, Point) 方法

定義

設定特定IXamlDirectPoint屬性值。

本檔適用于 Windows 應用程式 SDK 中適用于 WinUI 的 WinUI 2 for UWP (,請參閱Windows 應用程式 SDK命名空間) 。

public:
 void SetPointProperty(Platform::Object ^ xamlDirectObject, XamlPropertyIndex propertyIndex, Point value);
void SetPointProperty(IInspectable const& xamlDirectObject, XamlPropertyIndex const& propertyIndex, Point const& value);
public void SetPointProperty(object xamlDirectObject, XamlPropertyIndex propertyIndex, Point value);
Public Sub SetPointProperty (xamlDirectObject As Object, propertyIndex As XamlPropertyIndex, value As Point)

參數

xamlDirectObject
Object

Platform::Object

IInspectable

特定 IXamlDirect的參考。

propertyIndex
XamlPropertyIndex

Point屬性的參考,用來設定XamlPropertyIndex列舉中支援屬性的值。

value
Point

要設定于指定屬性上的 Point 值。

適用於

另請參閱