XamlDirect.SetObjectProperty Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.