XamlDirect.SetRectProperty(IXamlDirectObject, XamlPropertyIndex, Rect) 方法

定義

設定特定IXamlDirectObjectRect屬性值。

public:
 virtual void SetRectProperty(IXamlDirectObject ^ xamlDirectObject, XamlPropertyIndex propertyIndex, Rect value) = SetRectProperty;
void SetRectProperty(IXamlDirectObject const& xamlDirectObject, XamlPropertyIndex const& propertyIndex, Rect const& value);
public void SetRectProperty(IXamlDirectObject xamlDirectObject, XamlPropertyIndex propertyIndex, Rect value);
function setRectProperty(xamlDirectObject, propertyIndex, value)
Public Sub SetRectProperty (xamlDirectObject As IXamlDirectObject, propertyIndex As XamlPropertyIndex, value As Rect)

參數

xamlDirectObject
IXamlDirectObject

特定 IXamlDirectObject的參考。

propertyIndex
XamlPropertyIndex

Rect屬性的參考,可從XamlPropertyIndex列舉中支援的屬性清單中設定 的值。

value
Rect

要設定為指定屬性的Rect值。

適用於

另請參閱