Share via


XamlDirect.GetSizeProperty(IXamlDirectObject, XamlPropertyIndex) Method

Definition

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

public:
 virtual Size GetSizeProperty(IXamlDirectObject ^ xamlDirectObject, XamlPropertyIndex propertyIndex) = GetSizeProperty;
Size GetSizeProperty(IXamlDirectObject const& xamlDirectObject, XamlPropertyIndex const& propertyIndex);
public Size GetSizeProperty(IXamlDirectObject xamlDirectObject, XamlPropertyIndex propertyIndex);
function getSizeProperty(xamlDirectObject, propertyIndex)
Public Function GetSizeProperty (xamlDirectObject As IXamlDirectObject, propertyIndex As XamlPropertyIndex) As Size

Parameters

xamlDirectObject
IXamlDirectObject

A reference to the specific IXamlDirectObject.

propertyIndex
XamlPropertyIndex

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

Returns

Size value of the specified property.

Applies to

See also