Jaa


XamlBindingHelper.SetPropertyFromObject Method

Definition

Sets a DependencyProperty from a Object value.

public:
 static void SetPropertyFromObject(Platform::Object ^ dependencyObject, DependencyProperty ^ propertyToSet, Platform::Object ^ value);
 static void SetPropertyFromObject(IInspectable const& dependencyObject, DependencyProperty const& propertyToSet, IInspectable const& value);
public static void SetPropertyFromObject(object dependencyObject, DependencyProperty propertyToSet, object value);
function setPropertyFromObject(dependencyObject, propertyToSet, value)
Public Shared Sub SetPropertyFromObject (dependencyObject As Object, propertyToSet As DependencyProperty, value As Object)

Parameters

dependencyObject
Object

Platform::Object

IInspectable

The object to which the property being set belongs.

propertyToSet
DependencyProperty

The property to which the value is written.

value
Object

Platform::Object

IInspectable

The value to set.

Remarks

This method is for use in code that is generated by the XAML compiler.

Applies to