Share via


XamlDirect.SetSizeProperty(IXamlDirectObject, XamlPropertyIndex, Size) Method

Definition

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

public:
 virtual void SetSizeProperty(IXamlDirectObject ^ xamlDirectObject, XamlPropertyIndex propertyIndex, Size value) = SetSizeProperty;
void SetSizeProperty(IXamlDirectObject const& xamlDirectObject, XamlPropertyIndex const& propertyIndex, Size const& value);
public void SetSizeProperty(IXamlDirectObject xamlDirectObject, XamlPropertyIndex propertyIndex, Size value);
function setSizeProperty(xamlDirectObject, propertyIndex, value)
Public Sub SetSizeProperty (xamlDirectObject As IXamlDirectObject, propertyIndex As XamlPropertyIndex, value As Size)

Parameters

xamlDirectObject
IXamlDirectObject

A reference to the specific IXamlDirectObject.

propertyIndex
XamlPropertyIndex

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

value
Size

Size value to set to the specified property.

Applies to

See also