XamlDirect.SetObjectProperty(IXamlDirectObject, XamlPropertyIndex, Object) XamlDirect.SetObjectProperty(IXamlDirectObject, XamlPropertyIndex, Object) XamlDirect.SetObjectProperty(IXamlDirectObject, XamlPropertyIndex, Object) XamlDirect.SetObjectProperty(IXamlDirectObject, XamlPropertyIndex, Object) Method

Definition

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

public : void SetObjectProperty(IXamlDirectObject xamlDirectObject, XamlPropertyIndex propertyIndex, Platform::Object value)
void SetObjectProperty(IXamlDirectObject xamlDirectObject, XamlPropertyIndex propertyIndex, winrt::Windows::Foundation::IInspectable value) const;
public void SetObjectProperty(IXamlDirectObject xamlDirectObject, XamlPropertyIndex propertyIndex, Object value)
Public Sub SetObjectProperty(xamlDirectObject As IXamlDirectObject, propertyIndex As XamlPropertyIndex, value As Object)

Parameters

xamlDirectObject
IXamlDirectObject IXamlDirectObject

A reference to the specific IXamlDirectObject.

propertyIndex
XamlPropertyIndex XamlPropertyIndex

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

value
Object Object

object value to set to the specified property.

See also