Share via


XamlDirect.GetRectProperty(IXamlDirectObject, XamlPropertyIndex) Method

Definition

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

public:
 virtual Rect GetRectProperty(IXamlDirectObject ^ xamlDirectObject, XamlPropertyIndex propertyIndex) = GetRectProperty;
Rect GetRectProperty(IXamlDirectObject const& xamlDirectObject, XamlPropertyIndex const& propertyIndex);
public Rect GetRectProperty(IXamlDirectObject xamlDirectObject, XamlPropertyIndex propertyIndex);
function getRectProperty(xamlDirectObject, propertyIndex)
Public Function GetRectProperty (xamlDirectObject As IXamlDirectObject, propertyIndex As XamlPropertyIndex) As Rect

Parameters

xamlDirectObject
IXamlDirectObject

A reference to the specific IXamlDirectObject.

propertyIndex
XamlPropertyIndex

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

Returns

Rect value of the specified property.

Applies to

See also