XamlDirect.SetObjectProperty Method

Definition

Sets the value of an object property for a specific IXamlDirectObject.

public:
 virtual void SetObjectProperty(IXamlDirectObject ^ xamlDirectObject, XamlPropertyIndex propertyIndex, Platform::Object ^ value) = SetObjectProperty;
void SetObjectProperty(IXamlDirectObject const& xamlDirectObject, XamlPropertyIndex const& propertyIndex, IInspectable const& value);
public void SetObjectProperty(IXamlDirectObject xamlDirectObject, XamlPropertyIndex propertyIndex, object value);
function setObjectProperty(xamlDirectObject, propertyIndex, value)
Public Sub SetObjectProperty (xamlDirectObject As IXamlDirectObject, propertyIndex As XamlPropertyIndex, value As Object)

Parameters

xamlDirectObject
IXamlDirectObject

A reference to the specific IXamlDirectObject.

propertyIndex
XamlPropertyIndex

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

value
Object

Platform::Object

IInspectable

object value to set to the specified property.

Applies to

See also