Share via


XamlBindingHelper.SetPropertyFromRect Method

Definition

Sets a DependencyProperty from a Rect value.

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

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
Rect

The value to set.

Remarks

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

Applies to