IXamlDirect.SetMatrixProperty(Object, XamlPropertyIndex, Matrix) 方法

定義

設定特定IXamlDirectMatrix屬性值。

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

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

參數

xamlDirectObject
Object

Platform::Object

IInspectable

特定 IXamlDirect的參考。

propertyIndex
XamlPropertyIndex

要從XamlPropertyIndex列舉中支援屬性清單設定值的Matrix屬性參考。

value
Matrix

要設定在指定屬性上的 Matrix 值。

適用於

另請參閱