Share via


XamlDirect.SetRectProperty(IXamlDirectObject, XamlPropertyIndex, Rect) Method

Definition

Sets the value of a Rect property for a specific IXamlDirectObject.

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)

Parameters

xamlDirectObject
IXamlDirectObject

A reference to the specific IXamlDirectObject.

propertyIndex
XamlPropertyIndex

A reference to the Rect property to set the value of from the list of supported properties in XamlPropertyIndex enum.

value
Rect

Rect value to set to the specified property.

Applies to

See also