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

要设置为指定属性的矩形值。

适用于

另请参阅